Template:Switch infobox/doc: Difference between revisions

From WIDEVERSE Wiki
Jump to navigation Jump to search
(Created page with "{{External|os=Template:Switch infobox|rsc=Template:Switch infobox}} {{documentation}} {{See also|Template:Infobox monster multi|Template:Infobox bonuses#Displaying multiple in...")
No edit summary
Line 1: Line 1:
{{External|os=Template:Switch infobox|rsc=Template:Switch infobox}}
{{documentation}}
{{documentation}}
{{See also|Template:Infobox monster multi|Template:Infobox bonuses#Displaying multiple infoboxes}}
{{See also|Template:Infobox monster multi|Template:Infobox bonuses#Displaying multiple infoboxes}}

Revision as of 23:55, 4 November 2021

This template is used to separate different information on a specific page 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
|text1 = Name of condition 1
|item1 = Type information here which is shown in condition 1
|text2 = Name of condition 2
|item2 = Type information here which is shown in condition 2
|text3 = Name of condition 3
|item3 = Type information here which is shown in condition 3
}}

Quick copy

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

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