A Wiki in the Desert
Log in

Difference between revisions of "Template:Test/doc"

From A Wiki in the Desert
(Creating template documentation)
 
m
 
(3 intermediate revisions by one other user not shown)
Line 1: Line 1:
'''{{tl|Test}}''' is for use in any article about an in-game "test". The <code>level</code> 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.
+
'''{{tl|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.
  
 
__TOC__
 
__TOC__
Line 9: Line 9:
 
| discipline    =  
 
| discipline    =  
 
| image        =  
 
| image        =  
| level        =  
+
| demonstration =  
 
| requirements  =  
 
| requirements  =  
| demonstration =  
+
| verified =  
 
}}
 
}}
 
</nowiki></pre>
 
</nowiki></pre>
Line 23: Line 23:
 
; 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.
  
; level : The level required to begin the test at the relevant university.
+
; 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)'' : 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).
 
; 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).
  
; 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.
+
; 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]].
  
 
== 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 = Test - Architecture
 
+
| image   = Architecture Test Icons_Test Obelisk.png
| ibclass    = infobox
+
| content =  
| ibbgcolor  = #fae9d9
+
{{#invoke:Infobox|stacked|Other Requirements|
| ibborder  = #6e5240
+
* [[Obelisk Construction]]
| headerbg  = #b49478
 
 
 
| paramname1 = Level Required
 
| param1    = Level 7
 
 
 
| paramname2 = Other Requirements
 
| param2    = * [[Obelisk Construction]]
 
 
* [[Project Management]]
 
* [[Project Management]]
 +
}}
  
| paramname3 = Demonstration
+
{{#invoke:Infobox|stacked|Demonstration|{{Demonstration|demoplayer=merek|demodate=@1567250258}} }}
| param3    = {{Demonstration|demoplayer=Catote|demodate=March 12, 2018}}
+
{{#invoke:Infobox|stacked|Verification|<uv>Unverified</uv>}}
 
}}
 
}}
  
Line 56: Line 50:
 
| discipline    = Architecture
 
| discipline    = Architecture
 
| image        = Architecture Test Icons_Test Obelisk.png
 
| image        = Architecture Test Icons_Test Obelisk.png
| level        = 3
 
 
| requirements  =  
 
| requirements  =  
 
* [[Obelisk Construction]]
 
* [[Obelisk Construction]]
 
* [[Project Management]]
 
* [[Project Management]]
| demonstration = {{Demonstration|demoplayer=Catote|demodate=March 12, 2018}}
+
| demonstration = {{Demonstration|demoplayer=merek|demodate=@1567250258}}
 
}}</pre>
 
}}</pre>
  
 
<noinclude>[[Category:Template documentation|{{PAGENAME}}]]</noinclude>
 
<noinclude>[[Category:Template documentation|{{PAGENAME}}]]</noinclude>

Latest revision as of 15:22, 1 May 2021

{{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         = 
| demonstration = 
| requirements  = 
| verified = 
}}

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.
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.
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).
verified(optional)
Should be set to true if the data within this infobox has been verified. Will insert verification data into page via [[1]].

Example

Test of the Obelisk
Test of the Obelisk
(Test - Architecture)
Other Requirements
Demonstration
merek on August 31, 2019
Verification
Unverified


{{Test
| name          = Test of the Obelisk
| discipline    = Architecture
| image         = Architecture Test Icons_Test Obelisk.png
| requirements  = 
* [[Obelisk Construction]]
* [[Project Management]]
| demonstration = {{Demonstration|demoplayer=merek|demodate=@1567250258}}
}}