Template:Navbox: Difference between revisions

    From Nonbinary Wiki
    m>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.)
    m>Nyttend
    (Re-remove category; its sole purpose is to permit a tiny minority to impose non-policy on the vast majority of editors who disagree)
    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>}}<!--


    -->{{#ifeq:{{NAMESPACE}}|{{ns:10}}|{{#ifeq:{{{border|{{{1|}}}}}}|child||{{#ifeq:{{{border|{{{1|}}}}}}|subgroup||{{#switch:{{lc:{{SUBPAGENAME}}}}
    --><includeonly>{{template other|{{#if:{{{titlestyle|}}}{{{groupstyle|}}}|[[Category:Navboxes using background colours]]}}}}</includeonly><noinclude>{{documentation}}<!-- Add categories and interwikis to the /doc sub-page --></noinclude>
    |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>

    Revision as of 22:34, 28 February 2013

    Template documentation[create]