A Wiki in the Desert
Log in

Difference between revisions of "Template:Demonstration"

From A Wiki in the Desert
(Creating template)
 
m (Cleanup demonstration template to reduce duplication)
Line 1: Line 1:
<includeonly>Demonstrated {{#if: {{{demoplayer|}}} | by [[User:{{{demoplayer}}}|{{{demoplayer}}}]] }} {{#if: {{{demoregion|}}} | in [[{{{demoregion}}}]] }} {{#if: {{{demodate|}}} | on {{#time: F j, Y | {{{demodate}}} }} }}</includeonly><noinclude>
+
<includeonly>{{#if: {{{demoplayer|}}} | [[User:{{{demoplayer}}}|{{{demoplayer}}}]] }} {{#if: {{{demoregion|}}} | in [[{{{demoregion}}}]] }} {{#if: {{{demodate|}}} | on {{#time: F j, Y | {{{demodate}}} }} }}</includeonly><noinclude>
 
{{Documentation}}
 
{{Documentation}}
 
[[Category:Helper templates|Demonstration]]
 
[[Category:Helper templates|Demonstration]]
 
</noinclude>
 
</noinclude>

Revision as of 14:50, 1 May 2021

Template documentation (for the above template, sometimes hidden or invisible)

{{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:

kirie in Axum on July 24, 2018