FANDOM


Documentation icon Template documentation[edit] [purge]
This documentation is transcluded from Template:Infobox interactive scenery multi/doc.
Template:Infobox interactive scenery multi invokes Module:Infobox interactive scenery multi using Lua.

This template provides a wrapper for Switch infoboxes that contain only the interactive scenery infobox. The strong point of this template is that it allows parameters that apply to multiple versions to only be written once.

The parameters that apply to every version box are the same as those on the basic interactive scenery infobox; however, for every parameter there are an additional 20 named paramname#. The unnumbered parameters are the defaults, and will only be used for a version of the corresponding numbered param is not defined. For example, there is name, name1, name2, all the way to name20.

Parameters are only looked for up to the highest "version" defined. The "version" parameters only come as numbered parameters and they are used to define the text in the switch infobox buttons.

Parameters can be referenced and reused by using a dollar sign ($) followed by the index. For example: |image4=$1 will use whatever image is being used for image1. Chatheads can be added outside of the infobox by using |chathead#=<code here>.

Example:

{{Infobox interactive scenery multi
|version1 = Woodcutting
|version2 = Agility
|name = Quill
|image1 = [[File:Quill (Tuska Comes, Woodcutting).png|200px]]
|image2 = [[File:Quill (Tuska Comes, Agility).png|200px]]
|release = [[1 June]] [[2015]]
|update = Tuska World Event
|members = No
|quest = No
|location = [[Tuska]]
|examine1 = Time for a haircut!
|examine2 = They call me the barber...
}}
Loading...
WoodcuttingAgility
Quill
Quill (Tuska Comes, Woodcutting)
Release date 1 June 2015 (Update)
Members No
Quest No
Location Tuska
Examine Time for a haircut!
[view][talk]
Quill
Quill (Tuska Comes, Agility)
Release date 1 June 2015 (Update)
Members No
Quest No
Location Tuska
Examine They call me the barber...
[view][talk]
Community content is available under CC-BY-SA unless otherwise noted.