Difference between revisions of "Template:SpoilerIconSelector/doc"

From Dragalia Lost Wiki
Jump to navigation Jump to search
>Boblers
(documenting anonymous input)
>Boblers
Line 5: Line 5:
  
 
==Usage==
 
==Usage==
<pre>{{SpoilerIconSelector|
+
<pre>{{SpoilerIconSelector|(number)}}</pre>
IsPlayable=
 
}}</pre>
 
  
 
==Examples==
 
==Examples==

Revision as of 19:54, 22 June 2020

50px Documentation

This template selects the name "TooltipIcon" or "SpoilerIcon" depending on the input IsPlayable field.

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.

Usage

{{SpoilerIconSelector|(number)}}

Examples

  • selecting SpoilerIcon:
{{SpoilerIconSelector|0}}
  • selecting TooltipIcon:
{{SpoilerIconSelector|1}}