Information icon-grey.svg
This is a documentation subpage for Template:Switch infobox.
It contains usage information, categories, and other content that is not part of the original template page.
Crystal saw.png
This template page is currently under construction.
The information contained within should not be considered fully accurate and/or complete.
Template:Switch infobox invokes Module:Switch infobox using Lua.

This template is used to separate different information on a specific page (mostly NPC) with different condition (For example, before and after a quest).

After the insertion of the template, there will be different buttons stating the possible conditions of that page. When clicked on different conditions, the page will display different information.

Usage

{{Switch infobox
| item1  = Type information here which is shown in condition 1
| text1  = Name of condition 1
| item2  = Type information here which is shown in condition 2
| text2  = Name of condition 2
| item3  = Type information here which is shown in condition 3
| text3  = Name of condition 3
}}


Quick Copy

Note: The template is not limited to 2 conditions only. Editors can add more conditions if available.

{{Switch infobox
| item1  = 
| text1  = 
| item2  = 
| text2  = 
}}


Community content is available under CC-BY-SA unless otherwise noted.