Jump to content

Template:Navbox: Difference between revisions

From Kanzenshuu Dragon Ball Wiki
Hujio (talk | contribs)
No edit summary
No edit summary
 
(7 intermediate revisions by one other user not shown)
Line 1: Line 1:
<!--
<includeonly>{{#switch:{{{border|{{{1|}}}}}}|subgroup|child=</div>|none=|#default=<table cellspacing="0" <!--
 
Please do not edit without discussion first as this is a VERY complex template.
 
-->{{#switch:{{{border|{{{1|}}}}}}|subgroup|child=</div>|none=|#default=<table cellspacing="0" <!--
  -->class="navbox" style="border-spacing:0;{{{bodystyle|}}};{{{style|}}}"><tr><td style="padding:2px;">}}<!--
  -->class="navbox" style="border-spacing:0;{{{bodystyle|}}};{{{style|}}}"><tr><td style="padding:2px;">}}<!--


--><table cellspacing="0" class="nowraplinks {{{bodyclass|}}} {{#if:{{{title|}}}|{{#switch:{{{state|}}}|<!--
--><table cellspacing="0" class="nowraplinks {{{bodyclass|}}} {{#if:{{{title|}}}|{{#switch:{{{state|}}}|<!--
  -->plain|off=|#default=mw-collapsible {{#if:{{{state|}}}|{{{state}}}|autocollapse}}}}}} {{#switch:{{{border|{{{1|}}}}}}|<!--
  -->plain|off=|#default=collapsible {{#if:{{{state|}}}|{{{state}}}|autocollapse}}}}}} {{#switch:{{{border|{{{1|}}}}}}|<!--
  -->subgroup|child|none=navbox-subgroup" style="border-spacing:0;{{{bodystyle|}}};{{{style|}}}|<!--
  -->subgroup|child|none=navbox-subgroup" style="border-spacing:0;{{{bodystyle|}}};{{{style|}}}|<!--
  -->#default=navbox-inner" style="border-spacing:0;background:transparent;color:inherit}};{{{innerstyle|}}};"><!--
  -->#default=navbox-inner" style="border-spacing:0;background:transparent;color:inherit;width:100%}};{{{innerstyle|}}};"><!--




Line 266: Line 262:
  --><div style="padding:{{{listpadding|0em 0.25em}}}">
  --><div style="padding:{{{listpadding|0em 0.25em}}}">
{{{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>}}<!--




Line 291: Line 327:
   }}
   }}
  }}
  }}
}}}}}}<noinclude>
}}}}}}</includeonly>
<noinclude>This template allows a navigational template to be set up relatively quickly by supplying it with one or more lists of links. It comes equipped with default styles that should work for most navigational templates. Changing the default styles is possible, but not recommended. Using this template is highly recommended for standardization of navigational templates, and for ease of use.


{{documentation}}
This template has been imported for personal use on this wiki under the terms of fair-use. For additional information about this template, please refer to the template's '''[http://en.wikipedia.org/wiki/Template:Navbox appropriate documentation]''' page on '''Wikipedia'''.[[Category:Navigation templates]]</noinclude>
<!-- Add categories and interwikis to the /doc subpage, not here! -->
</noinclude>

Latest revision as of 17:31, 10 March 2026

This template allows a navigational template to be set up relatively quickly by supplying it with one or more lists of links. It comes equipped with default styles that should work for most navigational templates. Changing the default styles is possible, but not recommended. Using this template is highly recommended for standardization of navigational templates, and for ease of use.

This template has been imported for personal use on this wiki under the terms of fair-use. For additional information about this template, please refer to the template's appropriate documentation page on Wikipedia.