Vorlage:Navigation templates: Unterschied zwischen den Versionen
imported>David Kernow K (updating) |
K (152 Versionen von wikivoyage:Vorlage:Navigation_templates importiert) |
||
(90 dazwischenliegende Versionen von 51 Benutzern werden nicht angezeigt) | |||
Zeile 1: | Zeile 1: | ||
{| class="wikitable" style="margin-left:auto; margin-right:auto; width:auto; text-align:center; font-size:90%;" | {| class="wikitable hlist" style="margin-left: auto; margin-right: auto; width: auto; text-align: center; font-size: 90%;" | ||
|+ <span style="font-size:130%;">Navigation | |+ <span style="font-size: 130%;">Navigation templates comparison</span> | ||
|- style="line-height:10pt;" | |- style="line-height: 10pt;" | ||
!style="text-align:left; padding-left:4px;"| {{ | ! style="text-align: left; padding-left: 4px; font-size: 111%;" | {{Navbar|Navigation templates|plain=1}} | ||
! | ! Collapsible !! Header color | ||
! Image !! Groups !! Style (body)<br/>parameter/s !! | ! Image !! Groups !! Style (body) <br /> parameter/s !! Examples | ||
|- | |- | ||
|style="text-align:left;"| {{tl| | | style="text-align: left;" | {{tl|Navbox}} | ||
| | | collapsible || style="background: #ccf;" | navbox | ||
| | | Left/right of body || Yes || Yes || | ||
|- | |- | ||
|style="text-align:left;"| {{tl| | | 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| | | style="text-align: left;" | {{tl|Navbox with columns}} | ||
| | | collapsible || style="background: #ccf;" | navbox | ||
| | | Left/right of columns || No || Yes || | ||
|- | |- | ||
| style="text-align: left;" | {{tl|Navbox years}} | |||
| collapsible || style="background: #ccf;" | navbox | |||
| No || No || No || | |||
|style="text-align:left;"| {{tl|Navbox | |||
| | |||
| | |||
|} | |} | ||
{| class="wikitable" style="margin-left:auto; margin-right:auto; text-align:center; font-size:90%;" | {| class="wikitable" style="margin-left: auto; margin-right: auto; width: auto; text-align: center; font-size: 90%;" | ||
|+ <span style="font-size:130%;">Collapsible attributes</span> | |+ <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 | ||
! CSS classes | |||
! Collapses when !! Custom<br/>initial state !! Nesting | |||
|- | |- | ||
| align="left" | [[:w:en:Help:Collapsing|Collapsible tables]] | |||
| collapsible | |||
| Defined in [[MediaWiki:Common.js|Common.js]] | |||
| 2 or more autocollapse on page || Yes || Yes | |||
|}<noinclude> | |}<noinclude> | ||
[[Kategorie:Vorlagen:Dokumentation]] | |||
[[ | |||
</noinclude> | </noinclude> |
Aktuelle Version vom 27. Januar 2023, 07:22 Uhr
Collapsible | Header color | Image | Groups | Style (body) parameter/s |
Examples | |
---|---|---|---|---|---|---|
{{Navbox}} | collapsible | navbox | Left/right of body | Yes | Yes | |
{{Navbox with collapsible groups}} | collapsible | navbox | Left/right of body and/or in each list | Yes | Yes | |
{{Navbox with columns}} | collapsible | navbox | Left/right of columns | No | Yes | |
{{Navbox years}} | collapsible | navbox | No | No | No |
Type | CSS classes | Javascript | Collapses when | Custom initial state |
Nesting |
---|---|---|---|---|---|
Collapsible tables | collapsible | Defined in Common.js | 2 or more autocollapse on page | Yes | Yes |