FANDOM


  • Hello,

    can anyone add the [show] and [hide] links a navbox with this code so that the navbox is already collapsed and can be uncollapsed with the click of the [show] button?:

    Dait Demon Cows bar-basketball roster
    
    • 13. Eastbrook • 7. Boatrong • 25. Greenberger • 34. Trinidad • 9. Seaman • 87 Pendergrass
    Head coach: Arron Qarter
      Loading editor
    • Hey, this is the code for the standard navbox on a wiki. I added in it the collaps function.

      {| class="mw-collapsible mw-collapsed" style="width:100%; margin-top:1em; border:1px
       solid #999; font-size:90%; text-align:center;"
      |-
      ! style="background-color:#3366CC; color:#FFFFFF; padding:0.2em 0.5em;"
       nowrap="nowrap" | {{{header}}}
      |-
      | style="padding:0.2em 0.5em;" | {{{body}}}
      |}<noinclude>
      {{documentation}}</noinclude>
      

      Hope this helps you!

        Loading editor
    • Check out Help:Collapsing for more information.

        Loading editor
    • A FANDOM user
        Loading editor
Give Kudos to this message
You've given this message Kudos!
See who gave Kudos to this message
Community content is available under CC-BY-SA unless otherwise noted.