Template:Test: Difference between revisions
Jump to navigation
Jump to search
Content deleted Content added
imported>AntumDeluge Add option for second argument |
imported>AntumDeluge Clean up whitespace in "testers" parameter |
||
| (15 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
{{ |
|||
{{#if:{{{1}}}||<span style="color:orange;">◼</span>: please test {{#if: {{{2|}}} | {{{2|}}} | }} }}{{#ifeq:{{{1}}}|ok|<span style="color:blue;">◼</span>: {{#if: {{{2|}}} | {{{2|}}} | }} ok}}{{#ifeq:{{{1}}}|nok|<span style="color:red;">◼</span>: {{#if: {{{2|}}} | {{{2|}}} | }} not ok}}<noinclude> |
|||
#if:{{{1}}}||<span style="color:orange;">◼</span>: please test {{#if: {{{type|}}} | {{{type|}}} | }} |
|||
}}{{ |
|||
#ifeq:{{{1}}}|ok|<span style="color:blue;">◼</span>: {{#if: {{{type|}}} | {{{type|}}} | }} ok |
|||
}}{{ |
|||
#ifeq:{{{1}}}|nok|<span style="color:red;">◼</span>: {{#if: {{{type|}}} | {{{type|}}} | }} not ok |
|||
}}{{ |
|||
#ifeq: {{{1|}}} | | | {{#if: {{{testers|}}} | '' (tested by: {{#replace: {{{testers|}}} | | }})'' }} |
|||
| ⚫ | |||
'''Basic examples:''' |
|||
| ⚫ | |||
* new sprite for <creature>dark elf</creature> {{{{PAGENAME}}|}} |
|||
* new sprite for <creature>spider</creature> {{{{PAGENAME}}|ok}} |
|||
* new sprite for <creature>bat</creature> {{{{PAGENAME}}|nok}} |
|||
'''Using ''type'' parameter:''' |
|||
{| class="wikitable" |
|||
* updated 0_semos_city {{{{PAGENAME}}||type=collision}} |
|||
! Input || Output |
|||
* updated 0_semos_plains_n {{{{PAGENAME}}|ok|type=portals}} |
|||
|- |
|||
* replaced grass tiles in 0_semos_road_e {{{{PAGENAME}}|nok|type=graphics}} |
|||
| <nowiki>{{Test|}}</nowiki> || {{Test|}} |
|||
|- |
|||
'''Using ''testers'' parameter:''' |
|||
| <nowiki>{{Test|ok}}</nowiki> || {{Test|ok}} |
|||
* added music to 0_ados_wall_n {{{{PAGENAME}}|ok|type=music|testers=foo, bar}} |
|||
|- |
|||
| <nowiki>{{Test|nok}}</nowiki> || {{Test|nok}} |
|||
== Testing Key == |
|||
|- |
|||
| <nowiki>{{Test||collision}}</nowiki> || {{Test||collision}} |
|||
Use [[Template:TestingKey]]. |
|||
|- |
|||
| <nowiki>{{Test|ok|collision}}</nowiki> || {{Test|ok|collision}} |
|||
{{TestingKey}} |
|||
|- |
|||
| <nowiki>{{Test|nok|collision}}</nowiki> || {{Test|nok|collision}} |
|||
|} |
|||
== See Also == |
== See Also == |
||
* [[Templates|List of templates]] |
|||
* [[Special:WhatLinksHere/Template:{{PAGENAME}} | Pages using Template:{{PAGENAME}}]] |
|||
* [[Template:TestingKey]] |
|||
[[Category:Development]] |
[[Category:Development]] |
||
[[Category:Testing]] |
[[Category:Testing]] |
||
[[Category:RefactoringTemplates]] |
|||