تضامنًا مع حق الشعب الفلسطيني |
قالب:Generalrelativitysidebar/شرح
هذه صفحة توثيق قالب:Generalrelativitysidebar الفرعية، لشرح القالب وتصنيفه، وهي لا تدخل في استخدامه. |
هذه صفحة توثيق قالب:Generalrelativitysidebar الفرعية، لشرح القالب وتصنيفه، وهي لا تدخل في استخدامه. |
هذا القالب يستعمل لوا: |
{{عمود/مخفي}} is a version of {{عمود}} which offers collapsible lists as an alternative to Sidebar's content parameters.
الاستخدام
{{{pretitle}}} |
{{{title}}} |
---|
{{{image}}} |
{{{above}}} |
{{{heading1}}} |
{{{headingقالب:Italics correction}}} |
{{{contentقالب:Italics correction}}} |
{{{below}}} |
Parameters with infrequent use omitted.
{{شريط جانبي/مخفي | name = {{subst:PAGENAME}} | pretitle = | title = | image = | expanded = {{{expanded|{{{1|}}}}}} | headingstyle = | listtitlestyle = | liststyle = | contentstyle = <!--(same as |liststyle = ...?)--> | heading1 = | list1name = | list1title = | list1 = | heading2 = | list2name = | list2title = | list2 = <!-- ...... --> | headingN = <!--(Template:Sidebar's "headingN" and/or "contentN" parameters (where --> | contentN = <!-- N is a number) may be used to include uncollapsible lists/content)--> <!-- ...... --> | below = }}
المعلمات
The topmost parameters (including name, outertitle, topimage, pretitle, title, image, headingstyle, contentstyle) are described at {{عمود}}. Other
parameters not shown here (e.g. navbar) may also be used.
- expanded and listNname
- expanded is used to indicate which (if any) list named listNname is shown expanded when the template is first displayed; see {{خيار قوائم مطوية}}.
- listtitlestyle and liststyle
- These are the equivalent of, respectively, {{قائمة مخفية}}'s titlestyle and liststyle parameters.
Any listN used without an accompanying listNtitle is still presented as a collapsible list under 's default title ("List"); see example opposite. [Perhaps "listN"s without "listNtitle"s should be treated as "contentN"s..?]
Other parameters
In addition to the above, the following collapsible list-related parameters are also available:
- listframestyle
- Sets the framestyle (see {{قائمة مخفية}}) for the lists.
- listNframestyle
- Sets the framestyle for listN, overriding listframestyle.
- listNtitlestyle
- Sets the titlestyle for listN, overriding listtitlestyle above.
- listNstyle
- Sets the liststyle for listN, overriding liststyle above.
Handling long links
As with the sidebar template, {{Normalwraplink}} may be used to handle links that should wrap within the sidebar or otherwise need to be made to wrap, in order to prevent the sidebar from becoming too wide. Use {{normalwraplink|longlinkname}}
, where |longlinkname
is the long link without its square brackets.
Use the |wraplinks=true
parameter to turn link wrapping off for the whole template.
أمثلة
Examples of this template can be found by checking the template's backlinks with What links here.
طالع أيضاً
- Last pre-Lua version
- {{قائمة مخفية}}
- {{خيار قوائم مطوية}}
- {{شريط مركب}}
- {{عمود}}
- أرابيكا:دليل الأسلوب/قوائم, for help in using unbulleted lists in fields.
</includeonly>