Difference between revisions of "Template:Navbox"

From OverPower Wiki
Jump to: navigation, search
m
m
 
(One intermediate revision 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|}}};{{{oddstyle|}}};{{{list21style|}}}" <!--
+
  -->{{#if:{{{groupwidth|}}}||width:100%;}}padding:0px;{{{liststyle|}}};{{{evenstyle|}}};{{{list21style|}}}" <!--
  -->class="navbox-list navbox-{{#ifeq:{{{evenodd|}}}|swap|even|{{{evenodd|odd}}}}} {{{listclass|}}}"><!--
+
  -->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 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|}}};{{{oddstyle|}}};{{{list23style|}}}" <!--
+
  -->{{#if:{{{groupwidth|}}}||width:100%;}}padding:0px;{{{liststyle|}}};{{{evenstyle|}}};{{{list23style|}}}" <!--
  -->class="navbox-list navbox-{{#ifeq:{{{evenodd|}}}|swap|even|{{{evenodd|odd}}}}} {{{listclass|}}}"><!--
+
  -->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 306: Line 306:
 
  --><div style="padding:{{{listpadding|0em 0.25em}}}">
 
  --><div style="padding:{{{listpadding|0em 0.25em}}}">
 
{{{list24}}}</div></td></tr>}}<!--
 
{{{list24}}}</div></td></tr>}}<!--
 
-->{{#if:{{{list25|}}}|<!--
 
--><tr style="height:2px"><td></td></tr><tr><!--
 
-->{{#if:{{{group25|}}}|<th scope="row" class="navbox-group {{{groupclass|}}}" <!--
 
-->style="{{{basestyle|}}};{{#if:{{{groupwidth|}}}|width:{{{groupwidth}}};}}{{{groupstyle|}}};{{{group25style|}}}"><!--
 
-->{{{group25}}}</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|}}};{{{oddstyle|}}};{{{list25style|}}}" <!--
 
-->class="navbox-list navbox-{{#ifeq:{{{evenodd|}}}|swap|even|{{{evenodd|odd}}}}} {{{listclass|}}}"><!--
 
--><div style="padding:{{{listpadding|0em 0.25em}}}">
 
{{{list25}}}</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 19:50, 13 January 2013

[create] 50px Template documentation