The Wiki for Tale 7 is in read-only mode and is available for archival and reference purposes only. Please visit the current Tale 11 Wiki in the meantime.
If you have any issues with this Wiki, please post in #wiki-editing on Discord or contact Brad in-game.
Difference between revisions of "Template:TestStatus"
From ATITD7
Jump to navigationJump to search (Created page with "<INCLUDEONLY>{{#ifeq: {{{1|}}} | 1 | | |Open and Available |}}{{#ifeq: {{{1|}}} | -1 | | |Not yet available |}}{{#ifeq: {{{1|}}...") |
|||
Line 4: | Line 4: | ||
Usage: | Usage: | ||
+ | <code> | ||
<NOWIKI>{{TestStatus|-1}}</NOWIKI> for not openable - displays [[Image:Red cross.png| | |{{{2|Not yet available}}}]] | <NOWIKI>{{TestStatus|-1}}</NOWIKI> for not openable - displays [[Image:Red cross.png| | |{{{2|Not yet available}}}]] | ||
<NOWIKI>{{TestStatus|0}}</NOWIKI> for needs demonstration - displays [[Image:Yellow warning.png| | |{{{2|Requires Demonstrating}}}]] | <NOWIKI>{{TestStatus|0}}</NOWIKI> for needs demonstration - displays [[Image:Yellow warning.png| | |{{{2|Requires Demonstrating}}}]] | ||
Line 11: | Line 12: | ||
<NOWIKI>{{TestStatus|0|Text}}</NOWIKI> displays icon with Text as the tooltip, [[Image:Yellow warning.png| | |Text]] | <NOWIKI>{{TestStatus|0|Text}}</NOWIKI> displays icon with Text as the tooltip, [[Image:Yellow warning.png| | |Text]] | ||
<NOWIKI>{{TestStatus|1|Text}}</NOWIKI> displays icon with Text as the tooltip, [[Image:Green tick.png| | |Text]] | <NOWIKI>{{TestStatus|1|Text}}</NOWIKI> displays icon with Text as the tooltip, [[Image:Green tick.png| | |Text]] | ||
− | |||
− | |||
</code> | </code> | ||
+ | |||
[[Category: Template]] {{DEFAULTSORT:TestStatus}} | [[Category: Template]] {{DEFAULTSORT:TestStatus}} | ||
</NOINCLUDE> | </NOINCLUDE> |
Revision as of 23:36, 10 September 2015
Usage
Displays a cross, warning triangle or green tick depending on the value sent.
Usage:
{{TestStatus|-1}} for not openable - displays
{{TestStatus|0}} for needs demonstration - displays
{{TestStatus|1}} for Open and available - displays
{{TestStatus|-1|Text}} displays icon with Text as the tooltip,
{{TestStatus|0|Text}} displays icon with Text as the tooltip,
{{TestStatus|1|Text}} displays icon with Text as the tooltip,