Difference between revisions of "Template:SpoilerIconSelector/doc"
Jump to navigation
Jump to search
>Boblers (→Usage) |
>Boblers |
||
| Line 8: | Line 8: | ||
==Examples== | ==Examples== | ||
| − | * selecting SpoilerIcon: | + | * selecting SpoilerIcon with input 0: |
<pre>{{SpoilerIconSelector|0}}</pre> | <pre>{{SpoilerIconSelector|0}}</pre> | ||
{{SpoilerIconSelector|0}} | {{SpoilerIconSelector|0}} | ||
| − | * selecting TooltipIcon: | + | * selecting TooltipIcon with input 1 (this is also selected by default): |
<pre>{{SpoilerIconSelector|1}}</pre> | <pre>{{SpoilerIconSelector|1}}</pre> | ||
{{SpoilerIconSelector|1}} | {{SpoilerIconSelector|1}} | ||
{{doc/end}} | {{doc/end}} | ||
Revision as of 19:54, 22 June 2020
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 with input 0:
{{SpoilerIconSelector|0}}
- selecting TooltipIcon with input 1 (this is also selected by default):
{{SpoilerIconSelector|1}}