Difference between revisions of "Template:SpoilerIconSelector/doc"
Jump to navigation
Jump to search
>Boblers (creating documentation) |
>Boblers (creating documentation) |
||
| Line 10: | Line 10: | ||
==Examples== | ==Examples== | ||
| + | * selecting SpoilerIcon: | ||
<pre>{{SpoilerIconSelector| | <pre>{{SpoilerIconSelector| | ||
IsPlayable=0 | IsPlayable=0 | ||
| Line 17: | Line 18: | ||
}} | }} | ||
| + | * selecting TooltipIcon: | ||
<pre>{{SpoilerIconSelector| | <pre>{{SpoilerIconSelector| | ||
IsPlayable=1 | IsPlayable=1 | ||
Revision as of 19:45, 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|
IsPlayable=
}}
Examples
- selecting SpoilerIcon:
{{SpoilerIconSelector|
IsPlayable=0
}}
- selecting TooltipIcon:
{{SpoilerIconSelector|
IsPlayable=1
}}