Difference between revisions of "Template:Navbox"
Jump to navigation
Jump to search
imported>Nyttend (Remove stray brackets. Apologies for not making enough sandbox tests) |
imported>WOSlinker (Adding back tracking category, this is still useful for now. There is not really a need to have discussions for adding tracking categories.But there is a need to discuss before removing useful things.) |
||
Line 278: | Line 278: | ||
--></table>{{#switch:{{{border|{{{1|}}}}}}|subgroup|child=<div>|none=|#default=</td></tr></table>}}<!-- | --></table>{{#switch:{{{border|{{{1|}}}}}}|subgroup|child=<div>|none=|#default=</td></tr></table>}}<!-- | ||
− | --><includeonly>{{template other|{{#if:{{{titlestyle|}}}{{{groupstyle|}}}|[[Category:Navboxes using background colours]]}}}}</includeonly><noinclude>{{documentation}}<!-- Add categories and interwikis to the /doc sub-page --></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> |