A Wiki in the Desert
Log in

Difference between revisions of "Template:Test/doc"

From A Wiki in the Desert
m
 
m
 
(4 intermediate revisions by the same user not shown)
Line 9: Line 9:
 
| discipline    =  
 
| discipline    =  
 
| image        =  
 
| image        =  
 +
| requirements  =
 
| demonstration =  
 
| demonstration =  
| requirements  =
 
| verified =
 
 
}}
 
}}
 
</nowiki></pre>
 
</nowiki></pre>
Line 23: Line 22:
 
; 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.
 
; 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.
  
; demonstration ''(optional)'' : A description of when, where, and by whom the test was demonstrated (unlocked). This parameter should use the {{tl|Demonstration}} template to reference this information.
+
; 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 [[mw:Help:Lists|unordered list]] starting immediately below the <code>requirements = </code> line (see below example).
 
 
; requirements ''(optional)'' : Other technology or skill requirements 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 [[mw:Help:Lists|unordered list]] starting immediately below the <code>requirements = </code> line (see below example).
 
  
; verified''(optional)'' : Should be set to true if the data within this infobox has been verified. Will insert verification data into page via [[https://atitd.wiki/tale9/Project:Verification|Verification]].
+
; demonstration ''(optional)'' : A list of demonstration cost requirements for the given test. Best displayed using an [[mw:Help:Lists|unordered list]] starting immediately below the <code>demonstration = </code> line (see below example).
  
 
== Example ==
 
== Example ==
Line 33: Line 30:
 
{{Infobox
 
{{Infobox
 
| ibclass = ib-architecture
 
| ibclass = ib-architecture
| ibname  = Test of the Obelisk
+
| ibname  = Test of Towers
 
| ibtype  = Test - Architecture
 
| ibtype  = Test - Architecture
| image  = Architecture Test Icons_Test Obelisk.png
+
| image  = Architecture Test Icons_Towers.png
 
| content =  
 
| content =  
{{#invoke:Infobox|stacked|Other Requirements|
+
{{#invoke:Infobox|stacked|Prerequisites|
 
* [[Obelisk Construction]]
 
* [[Obelisk Construction]]
 
* [[Project Management]]
 
* [[Project Management]]
 
}}
 
}}
 
+
{{#invoke:Infobox|stacked|Demonstration Cost|
{{#invoke:Infobox|stacked|Demonstration|{{Demonstration|demoplayer=merek|demodate=@1567250258}} }}
+
* 10 [[requires::Bricks]]
{{#invoke:Infobox|stacked|Verification|<uv>Unverified</uv>}}
+
* 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]]
 +
}}
 
}}
 
}}
  
 
<pre>{{Test
 
<pre>{{Test
| name          = Test of the Obelisk
+
| name          = Test of Towers
 
| discipline    = Architecture
 
| discipline    = Architecture
| image        = Architecture Test Icons_Test Obelisk.png
+
| image        = Architecture Test Icons_Towers.png
 
| requirements  =  
 
| requirements  =  
* [[Obelisk Construction]]
 
 
* [[Project Management]]
 
* [[Project Management]]
| demonstration = {{Demonstration|demoplayer=merek|demodate=@1567250258}}
+
| 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]]
 
}}</pre>
 
}}</pre>
  
 
<noinclude>[[Category:Template documentation|{{PAGENAME}}]]</noinclude>
 
<noinclude>[[Category:Template documentation|{{PAGENAME}}]]</noinclude>

Latest revision as of 17:11, 12 February 2023

{{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]]
}}