Welcome to the Lylat Wiki, all about the Star Fox series! If you'd like to help out, please take a look at our community portal.

Difference between revisions of "Template:Navbox"

From Lylat Wiki, your source on Star Fox information. By Fans, for Fans.
Jump to navigationJump to search
(added category)
 
(20 intermediate revisions by 3 users not shown)
Line 3: Line 3:
Please do not edit without discussion first as this is a VERY complex template.
Please do not edit without discussion first as this is a VERY complex template.


-->{{#switch:{{{border|{{{1|}}}}}}|subgroup|child=</div>|none=|#default=<table class="navbox default-border-radius" cellspacing="0" <!--
-->{{#switch:{{{border|{{{1|}}}}}}|subgroup|child=</div>|none=|#default=<table class="navbox" cellspacing="0" <!--
  -->style="{{{bodystyle|}}};{{{style|}}}"><tr><td style="padding:2px;">}}<!--
  -->style="{{{bodystyle|}}};{{{style|}}};width:{{{width|100%}}};{{round}}"><tr><td style="padding:2px;">}}<!--


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


Line 16: Line 16:
-->{{#if:{{{title|}}}|<tr>{{#if:{{{titlegroup|}}}|<!--
-->{{#if:{{{title|}}}|<tr>{{#if:{{{titlegroup|}}}|<!--
  --><td class="navbox-group" style="{{{basestyle|}}};{{{groupstyle|}}};{{{titlegroupstyle|}}}">{{{titlegroup|}}}</td><!--
  --><td class="navbox-group" style="{{{basestyle|}}};{{{groupstyle|}}};{{{titlegroupstyle|}}}">{{{titlegroup|}}}</td><!--
  --><th style="border-left:2px solid #fdfdfd;width:100%;|<th style="}}{{{basestyle|}}};{{{titlestyle|}}}" <!--
  --><th style="border-left:2px solid #fdfdfd;{{{width|100%}}};|<th style="}}{{{basestyle|}}};{{{titlestyle|}}}" <!--
  -->colspan={{#expr:2{{#if:{{{imageleft|}}}|+1}}{{#if:{{{image|}}}|+1}}{{#if:{{{titlegroup|}}}|-1}}}} <!--
  -->colspan={{#expr:2{{#if:{{{imageleft|}}}|+1}}{{#if:{{{image|}}}|+1}}{{#if:{{{titlegroup|}}}|-1}}}} <!--
  -->class="navbox-title"><!--
  -->class="navbox-title"><!--
Line 238: Line 238:
--></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>{{doc}}{{auto-cat2|Navigation Templates| Template Templates}}
--><noinclude>
 
 
 
 
<!-- Add categories and interwikis to the ---doc subpage, not here! -->
{{doc}}
[[Category:Core Templates]]
</noinclude>
</noinclude>

Latest revision as of 19:42, 21 September 2020