Template:Test: Difference between revisions

From Arianne
Jump to navigation Jump to search
Content deleted Content added
imported>AntumDeluge
Add optional "testers" name parameter
imported>AntumDeluge
Clean up whitespace in "testers" parameter
 
Line 6: Line 6:
#ifeq:{{{1}}}|nok|<span style="color:red;">◼</span>: {{#if: {{{type|}}} | {{{type|}}} | }} not ok
#ifeq:{{{1}}}|nok|<span style="color:red;">◼</span>: {{#if: {{{type|}}} | {{{type|}}} | }} not ok
}}{{
}}{{
#ifeq: {{{1|}}} | | | {{#if: {{{testers|}}} | '' (tested by: {{{testers|}}})'' }}
#ifeq: {{{1|}}} | | | {{#if: {{{testers|}}} | '' (tested by: {{#replace: {{{testers|}}} | &nbsp;&nbsp; | &nbsp; }})'' }}
}}<noinclude>== Usage Examples ==
}}<noinclude>== Usage Examples ==



Latest revision as of 23:30, 3 December 2024

Usage Examples

Basic examples:

  • new sprite for <creature>dark elf</creature> : please test
  • new sprite for <creature>spider</creature> : ok
  • new sprite for <creature>bat</creature> : not ok

Using type parameter:

  • updated 0_semos_city : please test collision
  • updated 0_semos_plains_n : portals ok
  • replaced grass tiles in 0_semos_road_e : graphics not ok

Using testers parameter:

  • added music to 0_ados_wall_n : music ok (tested by: {{#replace: foo, bar |    |   }})

Testing Key

Use Template:TestingKey.

Output Input
: please test {{Test|}}
: ok {{Test|ok}}
: not ok {{Test|nok}}
: please test collision {{Test||type=collision}}
: collision ok {{Test|ok|type=collision}}
: collision not ok {{Test|nok|type=collision}}
   |   }}) {{Test|ok|testers=foo, bar}}

See Also