Template:Navbox: Difference between revisions

From MicrasWiki
Jump to navigationJump to search
No edit summary
No edit summary
 
(3 intermediate revisions by 2 users not shown)
Line 7: Line 7:


--><table cellspacing="0" class="nowraplinks {{{bodyclass|}}} {{#if:{{{title|}}}|{{#switch:{{{state|}}}|<!--
--><table cellspacing="0" class="nowraplinks {{{bodyclass|}}} {{#if:{{{title|}}}|{{#switch:{{{state|}}}|<!--
  -->plain|off=|#default=collapsible {{#if:{{{state|}}}|{{{state}}}|autocollapse}}}}}} {{#switch:{{{border|{{{1|}}}}}}|<!--
  -->plain|off=|#default=mw-collapsible mw-collapsed {{{state|}}}}}}} {{#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}};{{{innerstyle|}}};"<!--
 
--> data-expandtext="Show" data-collapsetext="Hide"><!--


---Title and Navbar---
---Title and Navbar---
Line 33: Line 33:




---Above---
---- Above (optional content) --
-->{{#if:{{{above|}}}|<!--
-->{{#if:{{{above|}}}|<!--
  -->{{#if:{{{title|}}}|<tr style="height:2px;"><td></td></tr>}}<!--
  -->{{#if:{{{title|}}}|<tr style="height:2px;"><td></td></tr>}}<!--
Line 41: Line 41:




---Body---
---- Body---


---First group/list and images---
---First group/list and images---
Line 276: Line 276:




--></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>[[Category: Navbox Templates]]</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 hnum
  |hlist vcard
  |vcard hlist =
  |#default = {{#switch:{{{listclass|}}}
  |plainlist
  |hlist
  |hlist hnum
  |hlist vcard
  |vcard hlist =
  |#default = {{#ifeq:{{{tracking|}}}|no||[[Category:Navigational boxes without horizontal lists]]}}
  }}
  }}
}}
}}}}}}<!--
 
-->{{#ifeq:{{NAMESPACE}}|{{ns:10}}|{{#switch:{{lc:{{SUBPAGENAME}}}}
|sandbox
|testcases =
|#default = {{#switch:{{{liststyle|}}}
  |padding: 0.25em 0; line-height: 1.3em;
  |padding:0.25em 0; line-height:1.4em; width:auto;
  |padding:0.4em 0; line-height:1.4em; = [[Category:Navigational boxes with custom list spacing]]
  |#default =
}}
}}}}<includeonly>{{template other|{{#if:{{{titlestyle|}}}{{{groupstyle|}}}|[[Category:Navboxes using background colours]]}}}}</includeonly><noinclude>{{documentation}}<!-- Add categories and interwikis to the /doc sub-page --></noinclude>

Latest revision as of 02:47, 12 January 2020