A Wiki in the Desert
Log in

Difference between revisions of "Template:Test"

From A Wiki in the Desert
m
 
m
 
(4 intermediate revisions by the same user not shown)
Line 6: Line 6:
  
 
| content =  
 
| content =  
{{ #if:{{{demonstration|}}} |
 
{{#invoke:Infobox|stacked|Demonstration|{{{demonstration|}}} }}
 
}}
 
 
 
{{ #if:{{{requirements|}}} |  
 
{{ #if:{{{requirements|}}} |  
{{#invoke:Infobox|stacked|Other Requirements|
+
{{#invoke:Infobox|stacked|Prerequisites|
 
{{{requirements|}}}
 
{{{requirements|}}}
 
}}
 
}}
 
}}
 
}}
  
{{#invoke:Infobox|stacked|Verification|
+
{{ #if:{{{demonstration|}}} |
{{ #ifeq:{{{verified|}}}|true|
+
{{#invoke:Infobox|stacked|Demonstration Cost|
<v>Verified</v> |
+
{{{demonstration|}}}
<uv>Unverified</uv>
 
 
}}
 
}}
 
}}
 
}}

Latest revision as of 17:14, 12 February 2023

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

{{Test}} is for use in any article about an in-game "test". 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. The recommended image size is a width of 250px so that it will completely fill the infobox without increasing its size.


Template

{{Test
| name          = 
| discipline    = 
| image         = 
| requirements  = 
| demonstration = 
}}

Usage

name
The name of the test.
discipline (optional)
The discipline associated with the test (e.g. Architecture, Thought, etc.)
image (optional)
File name of an image for the test. Should generally be the official in-game test "icon". The recommended size is 250px but, if larger, the image should scale to fit the template.
requirements (optional)
A list of any technology or skill requirements needed for the test. Should include requirements to unlock the test, as well as to complete the test's principles and to complete the test itself. Best displayed using an unordered list starting immediately below the requirements = line (see below example).
demonstration (optional)
A list of demonstration cost requirements for the given test. Best displayed using an unordered list starting immediately below the demonstration = line (see below example).

Example

Test of Towers
Test of Towers
(Test - Architecture)
Prerequisites
Demonstration Cost


{{Test
| name          = Test of Towers
| discipline    = Architecture
| image         = Architecture Test Icons_Towers.png
| requirements  = 
* [[Project Management]]
| demonstration = 
* 10 [[requires::Bricks]]
* 10 [[requires::Cut Stone]]
* 1 [[requires::Clay Lamp]]
* 10 [[requires::Medium Quartz]]
* 100 [[requires::Onions]]
* 100 [[requires::Carrots]]
* 100 [[requires::Cabbage]]
* 100 [[requires::Leeks]]
* 100 [[requires::Garlic]]
* 100 [[requires::Saltpeter]]
* 10 [[requires::Medium Topaz]]
}}

Visit Template:Test/doc to edit this text! (How does this work?)