Template:Navbox: Difference between revisions

    From Gallowpedia, the MediEvil Wiki. You'll be dying to read!
    No edit summary
    No edit summary
    Line 24: Line 24:
      -->{{#ifeq:{{{navbar|}}}|off|{{#ifeq:{{{state|}}}|plain|<span style="float:right;width:6em;">&nbsp;</span>}}|<!--
      -->{{#ifeq:{{{navbar|}}}|off|{{#ifeq:{{{state|}}}|plain|<span style="float:right;width:6em;">&nbsp;</span>}}|<!--
      -->{{#ifeq:{{{state|}}}|plain||<span style="float:left;width:6em;">&nbsp;</span>}}}}|<!--
      -->{{#ifeq:{{{state|}}}|plain||<span style="float:left;width:6em;">&nbsp;</span>}}}}|<!--
    -->{{#if:{{{name|}}}|{{Navbar|{{{name}}}|mini=1|<!--
    -->fontstyle={{{basestyle|}}};{{{titlestyle|}}};background:none transparent;border:none;}}|<!--
    --><span class="error" style="float:left;white-space:nowrap;">Error: No name provided</span>}}<!--
      -->{{#ifeq:{{{state|}}}|plain|<span style="float:right;width:6em;">&nbsp;</span>}}}}<!--
      -->{{#ifeq:{{{state|}}}|plain|<span style="float:right;width:6em;">&nbsp;</span>}}}}<!--



    Revision as of 21:05, 5 April 2022

    About this template

    This template can be used to create navigational boxes to be placed at the end of articles.

    Usage

    Please remove unused (blank) parameters.

    {{Navbox
    | name   =
    | state  = 
    | title  = 
    | bodyclass = hlist
    
    | group1 =
    | list1 = 
    
    | group2 =
    | list2 = 
    
    | group3 =
    | list3 = 
    }}
    

    Example

    The following code:

    {{Navbox
    | name   =
    | state  = 
    | title  = Example
    | bodyclass = hlist
    
    | group1 = Example
    | list1 = 
    * Example
    * Example
    | group2 = Example
    | list2 =
    * Example
    * Example
    * Example
    }}
    

    Produces the following result:


    Visit Template:Navbox/doc to edit this text! (How does this work?)