A Wiki in the Desert
Log in

Difference between revisions of "Template:Test/doc"

From A Wiki in the Desert
(Creating template documentation)
 
m (Updating template documentation to reflect the changes made in switching to Lua-based Infoboxes)
Line 31: Line 31:
 
== Example ==
 
== Example ==
  
{{InfoboxStacked
+
{{Infobox
| ibname     = Test of the Obelisk
+
| ibclass = ib-architecture
| ibtype     = Discipline of Architecture Test
+
| ibname = Test of the Obelisk
| image     = [[File:Architecture Test Icons_Test Obelisk.png|250px|Test of the Obelisk]]
+
| ibtype = Discipline of Architecture Test
 +
| image   = Architecture Test Icons_Test Obelisk.png
  
| ibclass    = infobox
+
| content =  
| ibbgcolor  = #fae9d9
+
{{#invoke:Infobox|stacked|Level Required|Level 3}}
| ibborder  = #6e5240
 
| headerbg  = #b49478
 
  
| paramname1 = Level Required
+
{{#invoke:Infobox|stacked|Other Requirements|
| param1    = Level 7
+
* [[Obelisk Construction]]
 
 
| paramname2 = Other Requirements
 
| param2    = * [[Obelisk Construction]]
 
 
* [[Project Management]]
 
* [[Project Management]]
 +
}}
  
| paramname3 = Demonstration
+
{{#invoke:Infobox|stacked|Demonstration|{{Demonstration|demoplayer=Catote|demodate=March 12, 2018}} }}
| param3    = {{Demonstration|demoplayer=Catote|demodate=March 12, 2018}}
 
 
}}
 
}}
  

Revision as of 11:42, 21 November 2018

{{Test}} is for use in any article about an in-game "test". The level parameter is required while all other 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         = 
| level         = 
| 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.
level
The level required to begin the test at the relevant university.
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 unordered list starting immediately below the requirements = line (see below example).
demonstration (optional)
A description of when, where, and by whom the test was demonstrated (unlocked). This parameter should use the {{Demonstration}} template to reference this information.

Example

Test of the Obelisk
Test of the Obelisk
(Discipline of Architecture Test)
Level Required
Level 3
Other Requirements
Demonstration
Catote on March 12, 2018


{{Test
| name          = Test of the Obelisk
| discipline    = Architecture
| image         = Architecture Test Icons_Test Obelisk.png
| level         = 3
| requirements  = 
* [[Obelisk Construction]]
* [[Project Management]]
| demonstration = {{Demonstration|demoplayer=Catote|demodate=March 12, 2018}}
}}