Difference between revisions of "Template:Navbox"

From OverPower Wiki
Jump to: navigation, search
(Created page with "<!-- Please do not edit without discussion first as this is a VERY complex template. -->{{#switch:{{{border|{{{1|}}}}}}|subgroup|child=</div>|none=|#default=<table cellspaci...")
 
m
 
(5 intermediate revisions by the same user not shown)
Line 267: Line 267:
 
{{{list20}}}</div></td></tr>}}<!--
 
{{{list20}}}</div></td></tr>}}<!--
  
 +
-->{{#if:{{{list21|}}}|<!--
 +
--><tr style="height:2px"><td></td></tr><tr><!--
 +
-->{{#if:{{{group21|}}}|<th scope="row" class="navbox-group {{{groupclass|}}}" <!--
 +
-->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="}}<!--
 +
-->{{#if:{{{groupwidth|}}}||width:100%;}}padding:0px;{{{liststyle|}}};{{{evenstyle|}}};{{{list21style|}}}" <!--
 +
-->class="navbox-list navbox-{{#ifeq:{{{evenodd|}}}|swap|odd|{{{evenodd|even}}}}} {{{listclass|}}}"><!--
 +
--><div style="padding:{{{listpadding|0em 0.25em}}}">
 +
{{{list21}}}</div></td></tr>}}<!--
 +
 +
-->{{#if:{{{list22|}}}|<!--
 +
--><tr style="height:2px"><td></td></tr><tr><!--
 +
-->{{#if:{{{group22|}}}|<th scope="row" class="navbox-group {{{groupclass|}}}" <!--
 +
-->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="}}<!--
 +
-->{{#if:{{{groupwidth|}}}||width:100%;}}padding:0px;{{{liststyle|}}};{{{evenstyle|}}};{{{list22style|}}}" <!--
 +
-->class="navbox-list navbox-{{#ifeq:{{{evenodd|}}}|swap|odd|{{{evenodd|even}}}}} {{{listclass|}}}"><!--
 +
--><div style="padding:{{{listpadding|0em 0.25em}}}">
 +
{{{list22}}}</div></td></tr>}}<!--
 +
 +
-->{{#if:{{{list23|}}}|<!--
 +
--><tr style="height:2px"><td></td></tr><tr><!--
 +
-->{{#if:{{{group23|}}}|<th scope="row" class="navbox-group {{{groupclass|}}}" <!--
 +
-->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="}}<!--
 +
-->{{#if:{{{groupwidth|}}}||width:100%;}}padding:0px;{{{liststyle|}}};{{{evenstyle|}}};{{{list23style|}}}" <!--
 +
-->class="navbox-list navbox-{{#ifeq:{{{evenodd|}}}|swap|odd|{{{evenodd|even}}}}} {{{listclass|}}}"><!--
 +
--><div style="padding:{{{listpadding|0em 0.25em}}}">
 +
{{{list23}}}</div></td></tr>}}<!--
 +
 +
-->{{#if:{{{list24|}}}|<!--
 +
--><tr style="height:2px"><td></td></tr><tr><!--
 +
-->{{#if:{{{group24|}}}|<th scope="row" class="navbox-group {{{groupclass|}}}" <!--
 +
-->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="}}<!--
 +
-->{{#if:{{{groupwidth|}}}||width:100%;}}padding:0px;{{{liststyle|}}};{{{evenstyle|}}};{{{list24style|}}}" <!--
 +
-->class="navbox-list navbox-{{#ifeq:{{{evenodd|}}}|swap|odd|{{{evenodd|even}}}}} {{{listclass|}}}"><!--
 +
--><div style="padding:{{{listpadding|0em 0.25em}}}">
 +
{{{list24}}}</div></td></tr>}}<!--
  
 
---Below---
 
---Below---
Line 278: 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

[create] 50px Template documentation