Difference between revisions of "Template:TestStatus"
From A Wiki in the Desert
(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 |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
− | + | <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> | |
− | + | {{Documentation}} | |
− | + | [[Category:Content templates]] | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | [[Category: | ||
</noinclude> | </noinclude> |
Latest revision as of 18:08, 17 May 2021
Template documentation (for the above template, sometimes hidden or invisible)
Displays a cross, warning triangle or green tick depending on the value sent.
{{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,
Visit Template:TestStatus/doc to edit this text! (How does this work?)