The Wiki for Tale 8 is in read-only mode and is available for archival and reference purposes only. Please visit the current Tale 11 Wiki in the meantime.

If you have any issues with this Wiki, please post in #wiki-editing on Discord or contact Brad in-game.

Difference between revisions of "Template:Test"

From A Wiki in the Desert
Jump to navigation Jump to search
m (Tweaking automatic categorization for tests that aren't part of a specific discipline)
m (Updated second header to remain consistent with the updated style of the Technology template)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<includeonly>{{InfoboxStacked
+
<includeonly>{{Infobox
| ibname     = {{{name|{{PAGENAME}}}}}
+
| ibclass = {{#switch: {{{discipline|}}} | Architecture = ib-architecture | Art and Music = ib-art-and-music | Harmony = ib-harmony | Leadership = ib-leadership | The Human Body = ib-the-human-body | Thought = ib-thought | Worship = ib-worship }}
| ibtype     = {{#if: {{{discipline|}}} | Discipline of {{{discipline}}} Test }}
+
| ibname = {{{name|{{PAGENAME}}}}}
| image     = {{#if: {{{image|}}} | [[File:{{{image}}}|250px|{{{name|{{PAGENAME}}}}}]] }}
+
| ibtype = {{#if: {{{discipline|}}} | Test - {{{discipline}}} }}
 +
| image   = {{#if: {{{image|}}} | {{{image|}}} }}
  
| ibclass    = infobox
+
| content =  
| ibbgcolor  = {{#switch: {{{discipline|}}} | Architecture = #fae9d9 | Art and Music = #faebed | Harmony = #faf4ca | Leadership = #fac5b9 | The Human Body = #fae7c5 | Thought = #d2eefa | Worship = #d4faed | #f8f9fa }}
+
{{ #if:{{{level|}}} |  
| ibborder  = {{#switch: {{{discipline|}}} | Architecture = #6e5240 | Art and Music = #534963 | Harmony = #b7986d | Leadership = #903540 | The Human Body = #bf842b | Thought = #4674b8 | Worship = #49745f | darkgray }}
+
{{#invoke:Infobox|stacked|Level Required|Level {{{level|}}} }}
| headerbg  = {{#switch: {{{discipline|}}} | Architecture = #b49478 | Art and Music = #9c858c | Harmony = #ede39b | Leadership = #e1876e | The Human Body = #e8cb99 | Thought = #739dae | Worship = #84c0aa | #ccc }}
+
}}
  
| paramname1 = Level Required
+
{{ #if:{{{requirements|}}} |  
| param1    = Level {{{level|}}}
+
{{#invoke:Infobox|stacked|Other Requirements|
 +
{{{requirements|}}}
 +
}}
 +
}}
  
| paramname2 = Other Requirements
+
{{ #if:{{{demonstration|}}} |
| param2    = {{{requirements|}}}
+
{{#invoke:Infobox|stacked|Demonstration|{{{demonstration|}}} }}
 
+
}}
| paramname3 = Demonstration
 
| param3    = {{{demonstration|}}}
 
 
}}
 
}}
  
Line 22: Line 24:
 
{{#if: {{{discipline|}}} | [[Category:{{{discipline}}}]] }}
 
{{#if: {{{discipline|}}} | [[Category:{{{discipline}}}]] }}
 
{{#if: {{{discipline|}}} | [[Category:Tests/{{{discipline}}}]] }}
 
{{#if: {{{discipline|}}} | [[Category:Tests/{{{discipline}}}]] }}
[[Category:Tests/Level {{{level}}}]]
+
[[Category:Tests/Level {{{level}}}]]</includeonly><noinclude>
 
 
</includeonly><noinclude>
 
 
{{Documentation}}
 
{{Documentation}}
 
[[Category:Infoboxes|Test]]
 
[[Category:Infoboxes|Test]]
 
</noinclude>
 
</noinclude>

Latest revision as of 05:27, 12 January 2019

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

{{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
(Test - Architecture)
Level Required
Level 3
Other Requirements
Demonstration
Demonstrated by 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}}
}}

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