Template:Test: Difference between revisions

From Arianne
Jump to navigation Jump to search
Content deleted Content added
imported>AntumDeluge
add usage examples
imported>AntumDeluge
Clean up whitespace in "testers" parameter
 
(2 intermediate revisions by the same user not shown)
Line 5: Line 5:
}}{{
}}{{
#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
}}{{
}}<noinclude>
#ifeq: {{{1|}}} | | | {{#if: {{{testers|}}} | '' (tested by: {{#replace: {{{testers|}}} | &nbsp;&nbsp; | &nbsp; }})'' }}
}}<noinclude>== Usage Examples ==


'''Basic examples:'''
== Usage Examples ==

'''New Graphics:'''
* new sprite for <creature>dark elf</creature> {{{{PAGENAME}}|}}
* new sprite for <creature>dark elf</creature> {{{{PAGENAME}}|}}
* new sprite for <creature>spider</creature> {{{{PAGENAME}}|ok}}
* new sprite for <creature>spider</creature> {{{{PAGENAME}}|ok}}
* new sprite for <creature>bat</creature> {{{{PAGENAME}}|nok}}
* new sprite for <creature>bat</creature> {{{{PAGENAME}}|nok}}


'''Map Changes:'''
'''Using ''type'' parameter:'''
* updated 0_semos_city {{{{PAGENAME}}||type=collision}}
* updated 0_semos_city {{{{PAGENAME}}||type=collision}}
* updated 0_semos_plains_n {{{{PAGENAME}}|ok|type=portals}}
* updated 0_semos_plains_n {{{{PAGENAME}}|ok|type=portals}}
* replaced grass tiles in 0_semos_road_e {{{{PAGENAME}}|nok|type=graphics}}
* replaced grass tiles in 0_semos_road_e {{{{PAGENAME}}|nok|type=graphics}}

'''Using ''testers'' parameter:'''
* added music to 0_ados_wall_n {{{{PAGENAME}}|ok|type=music|testers=foo, bar}}


== Testing Key ==
== Testing Key ==

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