Template:Navbox: Difference between revisions

    From Nonbinary Wiki
    m>Edokter
    (Other tables with navbox class need border spacing)
    m>WOSlinker
    (add tracking for hlists and padding)
    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>}}<!--


    --><noinclude>
    -->{{#ifeq:{{NAMESPACE}}|{{ns:10}}|{{#ifeq:{{{border|{{{1|}}}}}}|child||{{#switch:{{lc:{{SUBPAGENAME}}}}
    |sandbox
    |testcases =
    |#default = {{#switch:{{{bodyclass|}}}
      |hlist
      |hlist vcard
      |vcard hlist =
      |#default = {{#switch:{{{listclass|}}}
      |hlist
      |hlist vcard
      |vcard hlist =
      |#default = [[Category:Navigational boxes without horizontal lists]]
      }}
      }}
    }}
    }}}}<!--
     
    -->{{#switch:{{lc:{{SUBPAGENAME}}}}
    |sandbox
    |testcases =
    |#default = {{#switch:{{{liststyle|}}}
      |line-height:1.4em;
      |line-height:1.5em;
      |padding:0.25em 0; line-height:1.4em; = [[Category:Navigational boxes with custom list spacing]]
      |#default =
    }}
    }}<noinclude>


    {{documentation}}
    {{documentation}}
    <!-- Add categories and interwikis to the /doc subpage, not here! -->
    <!-- Add categories and interwikis to the /doc subpage, not here! -->
    </noinclude>
    </noinclude>

    Revision as of 10:55, 4 March 2012

    Template documentation[create]