الگو:Sidebar with collapsible lists/توضیحات: تفاوت میان نسخهها
(صفحهای تازه حاوی «{{زیرصفحه توضیحات}} {{فاقد اطلاعات|استفاده}} {{لوآ|پودمان:Sidebar}} <!---PLEASE ADD METADATA (categories, interwikis) TO THE <includeonly> SECTION AT THE BOTTOM OF THIS PAGE---> {{tl|Sidebar with collapsible lists}} is a version of {{tl|Sidebar}} offering collapsible lists as an alternative to Sidebar's ''content'' parameters. == Usage == {{ sidebar with collapsible lis...» ایجاد کرد) |
بدون خلاصۀ ویرایش |
||
| خط ۹۵: | خط ۹۵: | ||
* {{پیوند الگو|Navbox with collapsible groups}} | * {{پیوند الگو|Navbox with collapsible groups}} | ||
* {{پیوند الگو|نوار جانبی}} | * {{پیوند الگو|نوار جانبی}} | ||
* [[ | * [[اسلامیکال:شیوهنامه/فهرستها]]<!-- , for help in using unbulleted lists in fields -->. | ||
| خط ۱۰۲: | خط ۱۰۲: | ||
| <!----ADD CATEGORIES BELOW THIS LINE, PLEASE:----> | | <!----ADD CATEGORIES BELOW THIS LINE, PLEASE:----> | ||
[[رده:الگو:کناری| ]] | [[رده:الگو:کناری| ]] | ||
[[رده:فراالگوهای | [[رده:فراالگوهای اسلامیکال]] | ||
[[رده:جعبههای ناوبری| ]] | [[رده:جعبههای ناوبری| ]] | ||
[[رده:مستثنی از چاپ]] | [[رده:مستثنی از چاپ]] | ||
}} | }} | ||
</includeonly> | </includeonly> | ||
نسخهٔ کنونی تا ۲۵ ژانویهٔ ۲۰۲۳، ساعت ۰۷:۵۲
| این زیرصفحهٔ مستندات الگو:Sidebar with collapsible lists است. این شامل اطلاعات استفاده، الگوها، پیوندهای بین زبانی و سایر اطلاعات است که در اصل الگو صفحه قرار نمیگیرد. |
این مقاله فاقد اطلاعات لازم درباره استفاده است. |
| این الگو از لوآ استفاده میکند: |
{{Sidebar with collapsible lists}} is a version of {{Sidebar}} offering collapsible lists as an alternative to Sidebar's content parameters.
Usage
| {{{topimage}}} |
| {{{pretitle}}} |
| {{{title}}} |
|---|
| {{{image}}} |
| {{{above}}} |
| {{{heading1}}} |
| ................ |
| {{{below}}} |
Parameters with infrequent use omitted.
{{sidebar with collapsible lists
| name = {{subst:PAGENAME}}
| outertitle =
| topimage =
| pretitle =
| title =
| image =
| headingstyle =
| listtitlestyle =
| contentstyle =
| heading1 =
| list1name =
| list1title =
| list1 =
| heading2 =
| list2name =
| list2title =
| list2 =
.
.
.
| list20name =
| list20title =
| list20 =
}}
The topmost parameters (including name, outertitle, topimage, pretitle, title, image, headingstyle, contentstyle) are defined at the Sidebar template page.
The listtitlestyle and liststyle parameters are the equivalent of {{collapsible list}}'s titlestyle and liststyle parameters, while each listNtitle and listN parameter is the equivalent of {{collapsible list}}'s title and unnamed list parameter, respectively.
The listNname parameters are used to identify which, if any, list is to be shown expanded; see {{collapsible lists option}}.
In addition to the above, the following collapsible list-related parameters are also available:
- listframestyle
- Sets the framestyle (see {{collapsible list}}) 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 {{Sidebar}}, {{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 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
Examples of this template can be found by checking "What links here" in template space.
See also
- {{Collapsible list}}
- {{Collapsible lists option}}
- {{Navbox with collapsible groups}}
- {{نوار جانبی}}
- اسلامیکال:شیوهنامه/فهرستها.