الگو:Navigation templates: تفاوت میان نسخهها
بدون خلاصۀ ویرایش |
Hasaninasab (بحث | مشارکتها) (صفحهای تازه حاوی «{| class="wikitable" style="margin-left:auto; margin-right:auto; width:auto; text-align:center; font-size:90%;" |+ <span style="font-size:1...» ایجاد کرد) |
||
خط ۱: | خط ۱: | ||
{| class="wikitable | {| class="wikitable" style="margin-left:auto; margin-right:auto; width:auto; text-align:center; font-size:90%;" | ||
|+ <span style="font-size: 130%;"> | |+ <span style="font-size:130%;">Navigation templates comparison</span> | ||
|- style="line-height: 10pt;" | |- style="line-height:10pt;" | ||
! style="text-align: | !style="text-align:left; padding-left:4px;"| {{Navbar|Navigation templates|plain=1}} | ||
! | ! Collapsible !! Header color | ||
! | ! Image !! Groups !! Style (body)<br/>parameter/s !! Examples | ||
|- | |- | ||
| style="text-align: | |style="text-align:left;"| {{tl|Navbox}} | ||
| | | {{yes2}} collapsible ||style="background:#ccccff;"| navbox | ||
| | | {{yes2}} Left/right of body || {{yes}} || {{yes}}|| {{flatlist| | ||
* {{ | *{{tl|Solar System}} | ||
* {{ | *{{tl|United States Congress}} | ||
}} | |||
|- | |- | ||
| style="text-align: | |style="text-align:left;"| {{tl|Navbox with collapsible groups}} | ||
| | | {{yes2}} collapsible ||style="background:#ccccff;"| navbox | ||
| | | {{yes2}} Left/right of body and/or in each list|| {{yes}} || {{yes}} || {{flatlist| | ||
* {{ | *{{tl|Scouting}} | ||
* {{ | *{{tl|University of Michigan}} | ||
}} | |||
|- | |||
|style="text-align:left;"| {{tl|Navbox with columns}} | |||
| {{yes2}} collapsible ||style="background:#ccccff;"| navbox | |||
| {{yes2}} Left/right of columns || {{no}} || {{yes}} || {{flatlist| | |||
*{{tl|Current U.S. Senators}} | |||
*{{tl|Historical regions of the Czech Republic}} | |||
}} | |||
|- | |||
|style="text-align:left;"| {{tl|Navbox years}} | |||
| {{yes2}} collapsible ||style="background:#ccccff;"| navbox | |||
| {{no}} || {{no}} || {{no}} || {{flatlist| | |||
*{{tl|Wimbledon tournaments}} | |||
}} | |||
|- | |- | ||
|} | |} | ||
{| class="wikitable" style="margin- | {| class="wikitable" style="margin-left:auto; margin-right:auto; width:auto; text-align:center; font-size:90%;" | ||
|+ <span style="font-size: 130%;"> | |+ <span style="font-size:130%;">Collapsible attributes</span> | ||
|- style="line-height: 10pt;" | |- style="line-height:10pt;" | ||
! | ! | Type !! CSS classes !! Javascript !! Collapses when !! Custom<br/>initial state !! Nesting | ||
|- | |- | ||
| | |align="left"| [[Help:Collapsing|Collapsible tables]] | ||
| | | collapsible | ||
| | | Defined in [[MediaWiki:Common.js|Common.js]] | ||
| | | 2 or more autocollapse on page || {{yes}} || {{yes}} | ||
|}<noinclude> | |}<noinclude> | ||
<!--Categories--> | |||
[[Category:Navbox (navigational) templates| ]] | |||
<!--Interwikis--> | |||
</noinclude> | </noinclude> |
نسخهٔ ۲۲ اوت ۲۰۱۷، ساعت ۱۵:۵۱
Collapsible | Header color | Image | Groups | Style (body) parameter/s |
Examples | |
---|---|---|---|---|---|---|
{{Navbox}} | collapsible | navbox | Left/right of body | بله | بله |
|
{{Navbox with collapsible groups}} | collapsible | navbox | Left/right of body and/or in each list | بله | بله |
|
{{Navbox with columns}} | collapsible | navbox | Left/right of columns | نه | بله | |
{{Navbox years}} | collapsible | navbox | نه | نه | نه |
Type | CSS classes | Javascript | Collapses when | Custom initial state |
Nesting |
---|---|---|---|---|---|
Collapsible tables | collapsible | Defined in Common.js | 2 or more autocollapse on page | بله | بله |