Template:Navbox: Difference between revisions

    From Gallowpedia, the MediEvil Wiki. You'll be dying to read!
    mNo edit summary
    Tag: Reverted
    mNo edit summary
    Tags: Manual revert Reverted
    Line 7: Line 7:


    --><table cellspacing="0" class="nowraplinks {{{bodyclass|}}} {{#if:{{{title|}}}|{{#switch:{{{state|}}}|<!--
    --><table cellspacing="0" class="nowraplinks {{{bodyclass|}}} {{#if:{{{title|}}}|{{#switch:{{{state|}}}|<!--
      -->plain|off=|#default=mw-collapsible {{#if:{{{state|}}}|{{{state}}}|mw-collapsed}}}}}} {{#switch:{{{border|{{{1|}}}}}}|<!--
      -->plain|off=|#default=collapsible {{#if:{{{state|}}}|{{{state}}}|autocollapse}}}}}} {{#switch:{{{border|{{{1|}}}}}}|<!--
      -->subgroup|child|none=navbox-subgroup" style="border-spacing:0;{{{bodystyle|}}};{{{style|}}}|<!--
      -->subgroup|child|none=navbox-subgroup" style="border-spacing:0;{{{bodystyle|}}};{{{style|}}}|<!--
      -->#default=navbox-inner" style="border-spacing:0;background:transparent;color:inherit}};{{{innerstyle|}}};"><!--
      -->#default=navbox-inner" style="border-spacing:0;background:transparent;color:inherit}};{{{innerstyle|}}};"><!--

    Revision as of 17:36, 27 October 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?)