Please remember that WiKirby contains spoilers, which you read at your own risk! See our general disclaimer for details.

Template:Navbox: Difference between revisions

From WiKirby, your independent source of Kirby knowledge.
Jump to navigationJump to search
m (this will improve the aesthetic even more)
mNo edit summary
 
(3 intermediate revisions by 2 users not shown)
Line 6: Line 6:
  -->style="{{{bodystyle|}}};{{{style|}}};width:{{{width|100%}}};{{round}}"><tr><td style="padding:2px;">}}<!--
  -->style="{{{bodystyle|}}};{{{style|}}};width:{{{width|100%}}};{{round}}"><tr><td style="padding:2px;">}}<!--


--><table cellspacing="0" class=" mw-collapsible mw-collapsed nowraplinks {{#if:{{{title|}}}|{{#switch:{{{state|}}}|plain|off=|<!--
--><table cellspacing="0" class="roundtable mw-collapsible mw-collapsed nowraplinks {{#if:{{{title|}}}|{{#switch:{{{state|}}}|plain|off=|<!--
  -->#default=collapsible {{#if:{{{state|}}}|{{{state}}}|mw-collapsed}}}}}} {{#switch:{{{border|{{{1|}}}}}}|<!--
  -->#default=collapsible {{#if:{{{state|}}}|{{{state}}}|mw-collapsed}}}}}} {{#switch:{{{border|{{{1|}}}}}}|<!--
  -->subgroup|child|none=navbox-subgroup" style="width:{{{width|100%}}};{{{bodystyle|}}};{{{style|}}}|<!--
  -->subgroup|child|none=navbox-subgroup" style="width:{{{width|100%}}};{{{bodystyle|}}};{{{style|}}}|<!--
Line 53: Line 53:
  -->{{#if:{{{list13|}}}|+2}}{{#if:{{{list14|}}}|+2}}{{#if:{{{list15|}}}|+2}}{{#if:{{{list16|}}}|+2}}<!--
  -->{{#if:{{{list13|}}}|+2}}{{#if:{{{list14|}}}|+2}}{{#if:{{{list15|}}}|+2}}{{#if:{{{list16|}}}|+2}}<!--
  -->{{#if:{{{list17|}}}|+2}}{{#if:{{{list18|}}}|+2}}{{#if:{{{list19|}}}|+2}}{{#if:{{{list20|}}}|+2}}<!--
  -->{{#if:{{{list17|}}}|+2}}{{#if:{{{list18|}}}|+2}}{{#if:{{{list19|}}}|+2}}{{#if:{{{list20|}}}|+2}}<!--
  -->{{#if:{{{list21|}}}|+2}}{{#if:{{{list22|}}}|+2}}{{#if:{{{list23|}}}|+2}}{{#if:{{{list24|}}}|+2}}}}><!--
  -->{{#if:{{{list21|}}}|+2}}{{#if:{{{list22|}}}|+2}}{{#if:{{{list23|}}}|+2}}{{#if:{{{list24|}}}|+2}}<!--
-->{{#if:{{{list25|}}}|+2}}{{#if:{{{list26|}}}|+2}}{{#if:{{{list27|}}}|+2}}{{#if:{{{list28|}}}|+2}}}}><!--
  -->{{{imageleft}}}</td>}}<!--
  -->{{{imageleft}}}</td>}}<!--


Line 69: Line 70:
  -->{{#if:{{{list13|}}}|+2}}{{#if:{{{list14|}}}|+2}}{{#if:{{{list15|}}}|+2}}{{#if:{{{list16|}}}|+2}}<!--
  -->{{#if:{{{list13|}}}|+2}}{{#if:{{{list14|}}}|+2}}{{#if:{{{list15|}}}|+2}}{{#if:{{{list16|}}}|+2}}<!--
  -->{{#if:{{{list17|}}}|+2}}{{#if:{{{list18|}}}|+2}}{{#if:{{{list19|}}}|+2}}{{#if:{{{list20|}}}|+2}}<!--
  -->{{#if:{{{list17|}}}|+2}}{{#if:{{{list18|}}}|+2}}{{#if:{{{list19|}}}|+2}}{{#if:{{{list20|}}}|+2}}<!--
  -->{{#if:{{{list21|}}}|+2}}{{#if:{{{list22|}}}|+2}}{{#if:{{{list23|}}}|+2}}{{#if:{{{list24|}}}|+2}}}}><!--
  -->{{#if:{{{list21|}}}|+2}}{{#if:{{{list22|}}}|+2}}{{#if:{{{list23|}}}|+2}}{{#if:{{{list24|}}}|+2}}<!--
-->{{#if:{{{list25|}}}|+2}}{{#if:{{{list26|}}}|+2}}{{#if:{{{list27|}}}|+2}}{{#if:{{{list28|}}}|+2}}}}><!--
  -->{{{image}}}</td>}}<!--
  -->{{{image}}}</td>}}<!--


Line 260: Line 262:
  -->width:100%;padding:0px;{{{liststyle|}}};{{{evenstyle|}}};{{{list24style|}}}" <!--
  -->width:100%;padding:0px;{{{liststyle|}}};{{{evenstyle|}}};{{{list24style|}}}" <!--
  -->class="navbox-list navbox-{{#ifeq:{{{evenodd|}}}|swap|odd|{{{evenodd|even}}}}}"><!--
  -->class="navbox-list navbox-{{#ifeq:{{{evenodd|}}}|swap|odd|{{{evenodd|even}}}}}"><!--
  --><div style="padding:{{{listpadding|0em 0.25em}}}">{{{list22}}}</div></td></tr>}}<!--
  --><div style="padding:{{{listpadding|0em 0.25em}}}">{{{list24}}}</div></td></tr>}}<!--
 
-->{{#if:{{{list25|}}}|<!--
--><tr style="height:2px"><td></td></tr><tr><!--
-->{{#if:{{{group25|}}}|<td class="navbox-group" style="font-weight:bold;padding-left:2px;padding-right:2px;white-space:nowrap;{{{basestyle|}}};{{{groupstyle|}}};{{{group25style|}}}"><!--
-->{{{group25}}}</td><td style="text-align:left;border-left-width:2px;border-left-style:solid;|<td colspan=2 style="}}<!--
-->width:100%;padding:0px;{{{liststyle|}}};{{{evenstyle|}}};{{{list25style|}}}" <!--
-->class="navbox-list navbox-{{#ifeq:{{{evenodd|}}}|swap|even|{{{evenodd|odd}}}}}"><!--
--><div style="padding:{{{listpadding|0em 0.25em}}}">{{{list25}}}</div></td></tr>}}<!--
 
-->{{#if:{{{list26|}}}|<!--
--><tr style="height:2px"><td></td></tr><tr><!--
-->{{#if:{{{group26|}}}|<td class="navbox-group" style="font-weight:bold;padding-left:2px;padding-right:2px;white-space:nowrap;{{{basestyle|}}};{{{groupstyle|}}};{{{group26style|}}}"><!--
-->{{{group26}}}</td><td style="text-align:left;border-left-width:2px;border-left-style:solid;|<td colspan=2 style="}}<!--
-->width:100%;padding:0px;{{{liststyle|}}};{{{evenstyle|}}};{{{list26style|}}}" <!--
-->class="navbox-list navbox-{{#ifeq:{{{evenodd|}}}|swap|odd|{{{evenodd|even}}}}}"><!--
--><div style="padding:{{{listpadding|0em 0.25em}}}">{{{list26}}}</div></td></tr>}}<!--
 
-->{{#if:{{{list27|}}}|<!--
--><tr style="height:2px"><td></td></tr><tr><!--
-->{{#if:{{{group27|}}}|<td class="navbox-group" style="font-weight:bold;padding-left:2px;padding-right:2px;white-space:nowrap;{{{basestyle|}}};{{{groupstyle|}}};{{{group27style|}}}"><!--
-->{{{group27}}}</td><td style="text-align:left;border-left-width:2px;border-left-style:solid;|<td colspan=2 style="}}<!--
-->width:100%;padding:0px;{{{liststyle|}}};{{{evenstyle|}}};{{{list27style|}}}" <!--
-->class="navbox-list navbox-{{#ifeq:{{{evenodd|}}}|swap|even|{{{evenodd|odd}}}}}"><!--
--><div style="padding:{{{listpadding|0em 0.25em}}}">{{{list27}}}</div></td></tr>}}<!--


-->{{#if:{{{list28|}}}|<!--
--><tr style="height:2px"><td></td></tr><tr><!--
-->{{#if:{{{group28|}}}|<td class="navbox-group" style="font-weight:bold;padding-left:2px;padding-right:2px;white-space:nowrap;{{{basestyle|}}};{{{groupstyle|}}};{{{group28style|}}}"><!--
-->{{{group28}}}</td><td style="text-align:left;border-left-width:2px;border-left-style:solid;|<td colspan=2 style="}}<!--
-->width:100%;padding:0px;{{{liststyle|}}};{{{evenstyle|}}};{{{list28style|}}}" <!--
-->class="navbox-list navbox-{{#ifeq:{{{evenodd|}}}|swap|odd|{{{evenodd|even}}}}}"><!--
--><div style="padding:{{{listpadding|0em 0.25em}}}">{{{list28}}}</div></td></tr>}}<!--


---Below---
---Below---

Latest revision as of 17:09, 17 June 2021

Usage[edit]

This template is used as a framework for building standardised navigation templates, therefore it should not be edited or used directly in articles. This navbox currently supports up to 28 rows. See the original documentation on Wikipedia for additional information on functionality and usage.