Difference between revisions of "Template:Demonstration"
m (Cleanup demonstration template to reduce duplication) |
|||
Line 2: | Line 2: | ||
{{Documentation}} | {{Documentation}} | ||
[[Category:Helper templates|Demonstration]] | [[Category:Helper templates|Demonstration]] | ||
− | </noinclude> | + | <templatedata> |
+ | { | ||
+ | "params": { | ||
+ | "demoplayer": { | ||
+ | "label": "Player", | ||
+ | "description": "The name of the player who demonstrated this.", | ||
+ | "type": "string", | ||
+ | "suggested": true | ||
+ | }, | ||
+ | "demoregion": { | ||
+ | "label": "Region", | ||
+ | "description": "The region that this was demonstrated", | ||
+ | "type": "string", | ||
+ | "suggested": true | ||
+ | }, | ||
+ | "demodate": { | ||
+ | "label": "Date", | ||
+ | "description": "The date that this was demonstrated", | ||
+ | "type": "string", | ||
+ | "suggested": true | ||
+ | } | ||
+ | }, | ||
+ | "description": "This template produces a consistent view of who, where and when something was demonstrated." | ||
+ | } | ||
+ | </templatedata></noinclude> |
Latest revision as of 18:05, 25 May 2021
{{Demonstration}} is for use, primarily, alongside the {{Test}} template to describe when, where, and by whom a given test was demonstrated (unlocked). All parameters are optional and can be left blank, though it is preferred to include as many as possible; if undefined, these optional parameters will not appear as part of the template.
Template
{{Demonstration | demoplayer = | demoregion = | demodate = }}
Usage
- demoplayer (optional)
- The player who demonstrated the test.
- demoregion (optional)
- The region where the test was demonstrated at a University of Progress (e.g. Axum, Nabta Playa, or Upper Egypt).
- demodate (optional)
- The date on which the test was demonstrated. Any reasonable date formatting can be used here and it will be automatically formatted by the template to be consistent with other references to this template.
Example
The following code block:
{{Demonstration | demoplayer = kirie | demoregion = Axum | demodate = 7/24/2018}}
will result in the output:
This template produces a consistent view of who, where and when something was demonstrated.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Player | demoplayer | The name of the player who demonstrated this. | String | suggested |
Region | demoregion | The region that this was demonstrated | String | suggested |
Date | demodate | The date that this was demonstrated | String | suggested |