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
 
Line 1: Line 1:
<INCLUDEONLY>{{#ifeq: {{{1|}}} | 1 | [[Image:Green tick.png| | |Open and Available]] |}}{{#ifeq: {{{1|}}} | -1 | [[Image:Red cross.png| | |Not yet available]] |}}{{#ifeq: {{{1|}}} | 0 | [[Image:Yellow warning.png| | |Requires Demonstrating]] |}}{{#ifeq: {{{1|}}} | -1 | [[Image:Red cross.png| | |Not yet available]] |}}</INCLUDEONLY><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>
 
== Usage ==
 
== Usage ==
 
Displays a cross, warning triangle or green tick depending on the value sent.
 
Displays a cross, warning triangle or green tick depending on the value sent.

Latest revision as of 23:38, 10 September 2015

Usage

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

Usage:

{{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