Template:Navbox: Difference between revisions

    From Nonbinary Wiki
    m>TheDJ
    (try to fix navbar option.)
    m>MSGJ
    m (add titleclass and bodyclass parameters, per request on talk page)
    Line 3: Line 3:
    Please do not edit without discussion first as this is a VERY complex template.
    Please do not edit without discussion first as this is a VERY complex template.


    -->{{#switch:{{{border|{{{1|}}}}}}|subgroup|child=</div>|none=|#default=<table class="navbox" cellspacing="0" <!--
    -->{{#switch:{{{border|{{{1|}}}}}}|subgroup|child=</div>|none=|#default=<table class="navbox {{{bodyclass|}}}" cellspacing="0" <!--
      -->style="{{{bodystyle|}}};{{{style|}}}"><tr><td style="padding:2px;">}}<!--
      -->style="{{{bodystyle|}}};{{{style|}}}"><tr><td style="padding:2px;">}}<!--


    Line 28: Line 28:
      --></div>{{#ifeq:{{{state|}}}|plain|<div style="float:right;width:6em;">&nbsp;</div>}}}}<!--
      --></div>{{#ifeq:{{{state|}}}|plain|<div style="float:right;width:6em;">&nbsp;</div>}}}}<!--


      --><span style="font-size:{{#switch:{{{border|{{{1|}}}}}}|subgroup|child|none=100|#default=110}}%;"><!--
      --><span class="{{{titleclass|}}}" style="font-size:{{#switch:{{{border|{{{1|}}}}}}|subgroup|child|none=100|#default=110}}%;"><!--
      -->{{{title}}}</span></th></tr>}}<!--
      -->{{{title}}}</span></th></tr>}}<!--



    Revision as of 09:51, 30 July 2009

    Template:Pp-template

    Template documentation[create]