The Wiki for Tale 8 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 A Wiki in the Desert
Jump to navigation Jump to search
(Created page with "<noinclude>''Displays a cross, warning triangle or green tick depending on the value sent.'' <code> <NOWIKI>{{TestStatus|-1}}</NOWIKI> for not openable - displays Image:Red...")
 
m (Pluralizing the "Template" category. Categories should be plural)
 
Line 12: Line 12:
 
----
 
----
 
</noinclude><includeonly>{{#ifeq: {{{1|}}} | 1 | [[Image:Green tick.png| | |Open and Available]] |}}{{#ifeq: {{{1|}}} | 0 | [[Image:Yellow warning.png| | |Requires Demonstrating]] |}}{{#ifeq: {{{1|}}} | -1 | [[Image:Red cross.png| | |Not yet available]] |}}</includeonly><noinclude>
 
</noinclude><includeonly>{{#ifeq: {{{1|}}} | 1 | [[Image:Green tick.png| | |Open and Available]] |}}{{#ifeq: {{{1|}}} | 0 | [[Image:Yellow warning.png| | |Requires Demonstrating]] |}}{{#ifeq: {{{1|}}} | -1 | [[Image:Red cross.png| | |Not yet available]] |}}</includeonly><noinclude>
[[Category: Template]] {{DEFAULTSORT:{{SUBPAGENAME}}}}
+
[[Category:Templates]] {{DEFAULTSORT:{{SUBPAGENAME}}}}
 
</noinclude>
 
</noinclude>

Latest revision as of 09:41, 7 August 2018

Displays a cross, warning triangle or green tick depending on the value sent.

{{TestStatus|-1}} for not openable - displays Not yet available
{{TestStatus|0}} for needs demonstration - displays Requires Demonstrating
{{TestStatus|1}} for Open and available - displays Open and Available
{{TestStatus|-1|Text}} displays icon with Text as the tooltip, Text
{{TestStatus|0|Text}} displays icon with Text as the tooltip, Text
{{TestStatus|1|Text}} displays icon with Text as the tooltip, Text