Wikia

Narutopedia

IBox/Box

Talk0
5,459pages on
this wiki

Template page | < Template:IBox

Network-Logo-Animepedia Please Note, this page is synced using the TagSyncBot. When the bot is run any change you have made to this page will be overwritten. Please make changes on its page on the Animepedia at Anime:Template:IBox/Box.

{{iBox/Box}} is part of the {{iBox}} system. It is used to make a collapsible data box in an iBox.


Usage

{{iBox/Box|Label|Value|condition=Conditional|default=Default|hide=Hide state|class=Classes|labelclass=Label Classes|valueclass=Value Classes}}
  • Label is the text to display in the info label on the left column of the row.
  • Value is the text to display in the information cell on the right column of the row.
  • Conditional is a condition to display the row under.
    • If you omit this parameter (Remove it completely, do not use |condition=| or else your row will never display) then the row will always be there. (Meaning the row is required not optional)
    • When you do use the condition parameter the row will display when the condition parameter is not empty. So if you used something like condition={{{1|}}} then the row would display whenever someone entered information into the parameter {{{1}}} for your infobox. This parameter works good as the same value you use for the Value in the template. If you put the same stuff into both parameters then your row will display when there is information to display, and disappear when no information is entered. (Meaning the row is nice and optional)
  • Default is a default to use when the Value is blank. This is good if you have a row which is always displayed or is not using the method where the Value and Conditional are the same if you wish to have the row display something like "None" when no information is entered.
  • Hide state controls the collapsibility of the box. The default (left blank, shown, etc...) will show the box but allow it to be collapsed, you can also use always to have it hide by default, or never to remove the ability to hide the box.
  • Depreciated use hide - Collapsed allows the collapsible box to have a default state of collapsed. Use the value yes, true, or collapsed to have the collapsible box collapsed by default. Normally without this parameter the collapsible box is not collapsed by default.
  • Classes is a list of css classes to add to the row's classes.
  • Label Classes is a list of css classes to add to the label cell's classes.
  • Value Classes is a list of css classes to add to the value cell's classes.

Around Wikia's network

Random Wiki