Difference between revisions of "Template:Navbox"
From OverPower Wiki
m |
|||
(4 intermediate revisions by the same user not shown) | |||
Line 272: | Line 272: | ||
-->style="{{{basestyle|}}};{{#if:{{{groupwidth|}}}|width:{{{groupwidth}}};}}{{{groupstyle|}}};{{{group21style|}}}"><!-- | -->style="{{{basestyle|}}};{{#if:{{{groupwidth|}}}|width:{{{groupwidth}}};}}{{{groupstyle|}}};{{{group21style|}}}"><!-- | ||
-->{{{group21}}}</th><td style="text-align:left;border-left-width:2px;border-left-style:solid;|<td colspan=2 style="}}<!-- | -->{{{group21}}}</th><td style="text-align:left;border-left-width:2px;border-left-style:solid;|<td colspan=2 style="}}<!-- | ||
− | -->{{#if:{{{groupwidth|}}}||width:100%;}}padding:0px;{{{liststyle|}}};{{{ | + | -->{{#if:{{{groupwidth|}}}||width:100%;}}padding:0px;{{{liststyle|}}};{{{evenstyle|}}};{{{list21style|}}}" <!-- |
− | -->class="navbox-list navbox-{{#ifeq:{{{evenodd|}}}|swap| | + | -->class="navbox-list navbox-{{#ifeq:{{{evenodd|}}}|swap|odd|{{{evenodd|even}}}}} {{{listclass|}}}"><!-- |
--><div style="padding:{{{listpadding|0em 0.25em}}}"> | --><div style="padding:{{{listpadding|0em 0.25em}}}"> | ||
{{{list21}}}</div></td></tr>}}<!-- | {{{list21}}}</div></td></tr>}}<!-- | ||
Line 282: | Line 282: | ||
-->style="{{{basestyle|}}};{{#if:{{{groupwidth|}}}|width:{{{groupwidth}}};}}{{{groupstyle|}}};{{{group22style|}}}"><!-- | -->style="{{{basestyle|}}};{{#if:{{{groupwidth|}}}|width:{{{groupwidth}}};}}{{{groupstyle|}}};{{{group22style|}}}"><!-- | ||
-->{{{group22}}}</th><td style="text-align:left;border-left-width:2px;border-left-style:solid;|<td colspan=2 style="}}<!-- | -->{{{group22}}}</th><td style="text-align:left;border-left-width:2px;border-left-style:solid;|<td colspan=2 style="}}<!-- | ||
− | -->{{#if:{{{groupwidth|}}}||width:100%;}}padding:0px;{{{liststyle|}}};{{{ | + | -->{{#if:{{{groupwidth|}}}||width:100%;}}padding:0px;{{{liststyle|}}};{{{evenstyle|}}};{{{list22style|}}}" <!-- |
− | -->class="navbox-list navbox-{{#ifeq:{{{evenodd|}}}|swap| | + | -->class="navbox-list navbox-{{#ifeq:{{{evenodd|}}}|swap|odd|{{{evenodd|even}}}}} {{{listclass|}}}"><!-- |
--><div style="padding:{{{listpadding|0em 0.25em}}}"> | --><div style="padding:{{{listpadding|0em 0.25em}}}"> | ||
{{{list22}}}</div></td></tr>}}<!-- | {{{list22}}}</div></td></tr>}}<!-- | ||
Line 292: | Line 292: | ||
-->style="{{{basestyle|}}};{{#if:{{{groupwidth|}}}|width:{{{groupwidth}}};}}{{{groupstyle|}}};{{{group23style|}}}"><!-- | -->style="{{{basestyle|}}};{{#if:{{{groupwidth|}}}|width:{{{groupwidth}}};}}{{{groupstyle|}}};{{{group23style|}}}"><!-- | ||
-->{{{group23}}}</th><td style="text-align:left;border-left-width:2px;border-left-style:solid;|<td colspan=2 style="}}<!-- | -->{{{group23}}}</th><td style="text-align:left;border-left-width:2px;border-left-style:solid;|<td colspan=2 style="}}<!-- | ||
− | -->{{#if:{{{groupwidth|}}}||width:100%;}}padding:0px;{{{liststyle|}}};{{{ | + | -->{{#if:{{{groupwidth|}}}||width:100%;}}padding:0px;{{{liststyle|}}};{{{evenstyle|}}};{{{list23style|}}}" <!-- |
− | -->class="navbox-list navbox-{{#ifeq:{{{evenodd|}}}|swap| | + | -->class="navbox-list navbox-{{#ifeq:{{{evenodd|}}}|swap|odd|{{{evenodd|even}}}}} {{{listclass|}}}"><!-- |
--><div style="padding:{{{listpadding|0em 0.25em}}}"> | --><div style="padding:{{{listpadding|0em 0.25em}}}"> | ||
{{{list23}}}</div></td></tr>}}<!-- | {{{list23}}}</div></td></tr>}}<!-- | ||
Line 302: | Line 302: | ||
-->style="{{{basestyle|}}};{{#if:{{{groupwidth|}}}|width:{{{groupwidth}}};}}{{{groupstyle|}}};{{{group24style|}}}"><!-- | -->style="{{{basestyle|}}};{{#if:{{{groupwidth|}}}|width:{{{groupwidth}}};}}{{{groupstyle|}}};{{{group24style|}}}"><!-- | ||
-->{{{group24}}}</th><td style="text-align:left;border-left-width:2px;border-left-style:solid;|<td colspan=2 style="}}<!-- | -->{{{group24}}}</th><td style="text-align:left;border-left-width:2px;border-left-style:solid;|<td colspan=2 style="}}<!-- | ||
− | -->{{#if:{{{groupwidth|}}}||width:100%;}}padding:0px;{{{liststyle|}}};{{{ | + | -->{{#if:{{{groupwidth|}}}||width:100%;}}padding:0px;{{{liststyle|}}};{{{evenstyle|}}};{{{list24style|}}}" <!-- |
− | -->class="navbox-list navbox-{{#ifeq:{{{evenodd|}}}|swap| | + | -->class="navbox-list navbox-{{#ifeq:{{{evenodd|}}}|swap|odd|{{{evenodd|even}}}}} {{{listclass|}}}"><!-- |
--><div style="padding:{{{listpadding|0em 0.25em}}}"> | --><div style="padding:{{{listpadding|0em 0.25em}}}"> | ||
{{{list24}}}</div></td></tr>}}<!-- | {{{list24}}}</div></td></tr>}}<!-- | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
---Below--- | ---Below--- | ||
Line 328: | Line 317: | ||
--></table>{{#switch:{{{border|{{{1|}}}}}}|subgroup|child=<div>|none=|#default=</td></tr></table>}}<!-- | --></table>{{#switch:{{{border|{{{1|}}}}}}|subgroup|child=<div>|none=|#default=</td></tr></table>}}<!-- | ||
− | --><noinclude> | + | -->{{#ifeq:{{NAMESPACE}}|{{ns:10}}|{{#ifeq:{{{border|{{{1|}}}}}}|child||{{#ifeq:{{{border|{{{1|}}}}}}|subgroup||{{#switch:{{lc:{{SUBPAGENAME}}}} |
+ | |doc | ||
+ | |sandbox | ||
+ | |testcases = | ||
+ | |#default = {{#switch:{{{bodyclass|}}} | ||
+ | |plainlist | ||
+ | |hlist | ||
+ | |hlist vcard | ||
+ | |vcard hlist = | ||
+ | |#default = {{#switch:{{{listclass|}}} | ||
+ | |plainlist | ||
+ | |hlist | ||
+ | |hlist vcard | ||
+ | |vcard hlist = | ||
+ | |#default = {{#ifeq:{{{tracking|}}}|no||[[Category:Navigational boxes without horizontal lists]]}} | ||
+ | }} | ||
+ | }} | ||
+ | }} | ||
+ | }}}}}}<noinclude> | ||
{{documentation}} | {{documentation}} | ||
<!-- Add categories and interwikis to the /doc subpage, not here! --> | <!-- Add categories and interwikis to the /doc subpage, not here! --> | ||
</noinclude> | </noinclude> |
Latest revision as of 18:50, 13 January 2013
Editors can experiment in this template's sandbox (create) and testcases (create) pages. Please add categories and interwikis to the /doc subpage. Subpages of this template. |