Difference between revisions of "Template:Navbox"

22 bytes added ,  19:42, 21 September 2020
added category
(two more)
(added category)
 
(3 intermediate revisions by the same user not shown)
Line 9: Line 9:
  -->#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|}}}|<!--
  -->#default=" style="width:{{{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 245: Line 245:
<!-- Add categories and interwikis to the ---doc subpage, not here! -->
<!-- Add categories and interwikis to the ---doc subpage, not here! -->
{{doc}}
{{doc}}
[[Category:Core Templates]]
</noinclude>
</noinclude>
8,161

edits