الگو:Navigation templates: تفاوت میان نسخهها
جز
Reverted 1 edit by 52.129.5.110 (talk) to last revision by Izno
جزبدون خلاصۀ ویرایش |
fa>Wikinoor.ir جز (Reverted 1 edit by 52.129.5.110 (talk) to last revision by Izno) |
||
خط ۱: | خط ۱: | ||
{| class="wikitable | {| class="wikitable" style="margin-left: auto; margin-right: auto; text-align: center;" | ||
|+ | |+ Navigation templates comparison {{Navbar|Navigation templates|plain=1|brackets=y}} | ||
|- | |- | ||
! Template | |||
! Collapsible !! Header color | |||
! Image !! Groups !! Style (body) <br /> parameter/s | |||
|- | |- | ||
| style="text-align: | | style="text-align: left;" | {{tl|Navbox}} | ||
| | | collapsible || style="background: #ccf;" | navbox | ||
| | | Left/right of body || Yes || Yes | ||
|- | |- | ||
| style="text-align: | | style="text-align: left;" | {{tl|Navbox with collapsible groups}} | ||
| | | collapsible || style="background: #ccf;" | navbox | ||
| | | Left/right of body and/or in each list || Yes || Yes | ||
|- | |||
| style="text-align: left;" | {{tl|Navbox with columns}} | |||
| collapsible || style="background: #ccf;" | navbox | |||
| Left/right of columns || No || Yes | |||
|} | |} | ||
{| class="wikitable" style="margin- | {| class="wikitable" style="margin-left: auto; margin-right: auto; text-align: center;" | ||
|+ | |+ Collapsible attributes | ||
|- | |- | ||
| style="text-align: | ! Type !! CSS classes !! JavaScript !! Collapses when !! Custom <br /> initial state !! Nesting | ||
| | |- | ||
| | | style="text-align:left;" | [[Help:Collapsing|Collapsible tables]] | ||
| | | mw-collapsible | ||
| Defined in [[MediaWiki:Common.js|Common.js]] | |||
| 2 or more autocollapse on page || Yes || Yes | |||
|}<noinclude> | |}<noinclude> | ||
[[ | [[Category:Navigational boxes|Δ]] | ||
[[ | [[Category:Documentation shared content templates]] | ||
{{convert to use Navbox}}</noinclude> | |||
</noinclude> |