سانچہ:بے ترتیب مواد برائے ابواب
![]() | اس سانچے میں حسب ذیل لوا ماڈیول زیر استعمال ہے: |
This template generates a box for a portal home page. The content is drawn randomly from a pre-defined list.
Layout
{{بے ترتیب مواد برائے ابواب
|max =
|template =
|header =
|footer =
|subpage =
|rootpage =
|headertemplate =
}}
Usage
- header: (Optional) The header text of the box. If no header is passed to the template, the default is the subpage name.
- footer: (Optional) The footer text in the box. E.g. Nominations for selected picture.
- rootpage: (Optional) The root of the transcluded page, e.g. Portal:Foo.
- subpage: The subpage of the transcluded page, e.g. Selected picture.
- max: The maximum number of sub-subpages. Must be a positive integer.
- headertemplate: (Optional) The name of the template to use for the box header, e.g.
Box-header/10
for Template:Box-header/10; default is the portal's/box-header
subpage
Formatting subpages
- Create a sub-page first. If your portal is
Portal:Foo
, then a sub-page could bePortal:Foo/Selected bar
. - On the
Portal:Foo/Selected bar
sub-page, place the template {{numbered subpages}} on the page and save it. - Once the list of subject links have been created, use one of the
Selected <subject>
templates from below to format each of the subject sub-pages. - This template calls
/box-header
(ifheadertemplate
is not specified) and {{box-footer}} for its color styles and closing. Eitherheadertemplate
must be used, or the/box-header
subpage must exist for everything to work correctly.
Example
To see a real time example, see what links here (the list of pages that currently transclude the {{بے ترتیب مواد برائے ابواب}} template).
Here is a stale example of the output generated by this template.
{{Box-header| title=Header
|editpage = Template:Lorem ipsum
|border = Black
|titleforeground = #ffe247
|titlebackground = #646464
|background = #FFFFFF
|foreground = black
}}
{{Lorem ipsum}}
{{Box-footer| Footer }}
will produce:
Header
کہتے ہیں ایک خاندان میں چینی کا ایک قیمتی اور قدیمی گلدان ہوا کرتا تھا۔ ایک لا ابالی نوجوان نے بوڑھے جد سے اس کی اہمیت کے بارے پوچھا، جواب ملا کہ وہ نسلوں سے خاندان میں سب سے قیمتی ورثہ کی حثیت سے محفوظ چلا آرہا ہے اور خاندان کے ہر فرد اور نسل کا فرض ہے کہ اس کی حفاظت کرے۔ نوجواں نے کہا، اب اس کی حفاظت کا تردد ختم ہوا کیونکہ چینی کا وہ گلدان موجودہ نسل کے ہاتھ سے پھسل کر فرش پر گرا اور چکنا چور ہو گیا۔ بو ڑھا بولا، حفاظت کا تردد ختم ہوا ندامت کا دور کبھی ختم نہ ہو گا۔
اوپر دی گئی دستاویز صفحہ سانچہ:بے ترتیب مواد برائے ابواب/دستاویز سے شامل کی گئی ہے۔ (ترمیم | تاریخچہ) صارفین سانچہ کے تختہ مشق (تخلیق | آئینہ) اور ثابتات (تخلیق) میں تجربات کرسکتے ہیں۔ براہ کرم /دستاویز کے ذیلی صفحہ پر زمرہ جات شامل فرمائیں۔ اس سانچہ کے ذیلی صفحات۔ |