Vorlage:Navigation templates: Unterschied zwischen den Versionen

Aus skandinavien-wiki.net
imported>David Kernow
(commenting-out template still under development)
imported>David Kernow
K (table heading size)
Zeile 1: Zeile 1:
{| class="wikitable" style="margin-left:auto; margin-right:auto; width:auto; text-align:center; font-size:90%;"
{| class="wikitable" style="margin-left:auto; margin-right:auto; width:auto; text-align:center; font-size:90%;"
|+ Navigation template feature comparison
|+ <span style="font-size:130%;">Navigation template feature comparison</span>
! style="text-align:left; padding-left:4px;" | {{Tnavbar|Navigational_templates|plain=1}}
! style="text-align:left; padding-left:4px;" | {{Tnavbar|Navigational_templates|plain=1}}
! collapsible !! Header color<sup>†</sup>
! collapsible !! Header color<sup>†</sup>
Zeile 57: Zeile 57:


{|class="wikitable" style="margin-left:auto; margin-right:auto; text-align:center; font-size:90%;"
{|class="wikitable" style="margin-left:auto; margin-right:auto; text-align:center; font-size:90%;"
|+ NavFrame div vs. Collapsible table
|+ <span style="font-size:130%;">NavFrame div vs. collapsible table</span>
|-
|-
!style="text-align:left; padding-left:4px;"| {{Tnavbar|Navigational_templates|plain=1}}
!style="text-align:left; padding-left:4px;"| {{Tnavbar|Navigational_templates|plain=1}}

Version vom 21. Februar 2007, 18:55 Uhr

Navigation template feature comparison
Vorlage:Tnavbar collapsible Header color Image Groups Style parameter Example
{{Navigation}} Vorlage:Yes2 NavFrame NavHead Vorlage:No Vorlage:No Vorlage:No {{OPEC}}
{{Navigation with image}} Vorlage:Yes2 NavFrame NavHead Vorlage:Yes2 Left/right of body Vorlage:No Vorlage:No {{Cetaceans}}
{{Dynamic navigation box}} Vorlage:Yes2 collapsible navbox Vorlage:No Vorlage:No Vorlage:Yes {{CSUHeads}}
{{Dynamic navigation box with image}} Vorlage:Yes2 NavFrame NavHead Vorlage:Yes2 Upper left Vorlage:No Vorlage:No {{SlovakPMs}}
{{Navbox generic}} Vorlage:Yes2 collapsible navbox Vorlage:No Vorlage:Yes Vorlage:Yes {{Dilbert}}
{{Navbox generic with image}} Vorlage:Yes2 collapsible navbox Vorlage:Yes2 Right-hand side Vorlage:Yes Vorlage:Yes {{Jewish life}}
{{NavigationBox}} Vorlage:No navbox Vorlage:Yes2 Right of title+body Vorlage:No Vorlage:No {{EPA}}
{{Commons:NavigationBox}} Vorlage:No #ccccff Vorlage:Yes2 Right of title+body Vorlage:No Vorlage:No
{{Commons:Dynamic navigation box}} Vorlage:Yes2 NavFrame #ccccff Vorlage:No Vorlage:No Vorlage:No
{{Commons:Dynamic navigation box with image}}  Vorlage:Yes2 NavFrame NavHead Vorlage:Yes2 Upper left Vorlage:No Vorlage:No
The background color for the header or title is inherited from the CSS class: navbox uses #ccf and NavHead uses #efefef (as defined in Common.css). All the current navigation templates have a color parameter that will override these defaults.
NavFrame div vs. collapsible table
Vorlage:Tnavbar Classes used Collapses when Custom initial state Nesting Header color Font size
NavFrame div NavFrame, NavHead, NavContent 3+ of the same Vorlage:No Vorlage:Yes #efefef NavFrame: 95%
NavHead: 100%
NavContent: 100%
Collapsible table collapsible, navbox 2+ of the same Vorlage:Yes Vorlage:No #ccccff navbox: 90%
Note: CSS classes are defined in Common.css and JavaScript for collapsible templates is located in Common.js.