Template:SpoilerIconSelector/doc

This template reads the input Spoiler field, and outputs an icon that uses Template:TooltipIcon or Template:SpoilerIcon.

This is called by the queries on Dragalia Lost Wiki/New Content to decide whether a new item should be marked as a spoiler or not. It is not meant to be called outside of that page.

Template Fields
Type: can be one of: [Adventurer, Dragon, Weapon, Wyrmprint]. Matches the functionality of this field in Template:TooltipIcon.

Name: is the name of the icon's subject

text: can be 1 or 0 to display text or not display text, respectively

Spoiler: can be 1 or 0 to indicate a spoiler or a non-spoiler, respectively. This will be used to select the resulting template.

Examples

 * selecting TooltipIcon with Spoiler input of 1 :


 * selecting SpoilerIcon with Spoiler input of 0 (this is also the default):