A Wiki in the Desert
Log in

Difference between revisions of "Template:TestInfoBox"

From A Wiki in the Desert
(Created page with "<NOINCLUDE> This template will produce an info box on the right of a Test Page. The first box on the right is produced with the following: {{TestInfoBox |prefix = Test...")
 
(Fixed broken table formatting of left and right colored borders)
Line 48: Line 48:
 
| style='width: 0.5em; background: {{UniColor|{{{discipline|#888}}}}}; border-left: 1px solid #aaa' rowspan='0' | &nbsp;
 
| style='width: 0.5em; background: {{UniColor|{{{discipline|#888}}}}}; border-left: 1px solid #aaa' rowspan='0' | &nbsp;
 
|-
 
|-
|
 
 
| style='font-size: 120%; font-weight: bold; text-align: center; padding: 0 0.5em' | {{{name|}}}
 
| style='font-size: 120%; font-weight: bold; text-align: center; padding: 0 0.5em' | {{{name|}}}
 
|-
 
|-
|
 
 
| style='font-size: 90%; font-weight: bold; text-align: center; padding: 0 0.5em 1em' | {{{subname|}}}
 
| style='font-size: 90%; font-weight: bold; text-align: center; padding: 0 0.5em 1em' | {{{subname|}}}
 
|-
 
|-
| colspan='3' style='text-align: left;  font-weight: bold; padding: 0 0.5em; padding-top: 1em; border-bottom: 3px double #aaa' | Discipline
+
| style='text-align: left;  font-weight: bold; padding: 0 0.5em; padding-top: 1em; border-bottom: 3px double #aaa' | Discipline
 
|-
 
|-
| colspan='3' |
+
|
 
* [[{{{discipline|''not known''}}}]]
 
* [[{{{discipline|''not known''}}}]]
 
|-
 
|-
| colspan='3' style='text-align: left;  font-weight: bold; padding: 0 0.5em; padding-top: 1em; border-bottom: 3px double #aaa' | Requirements
+
| style='text-align: left;  font-weight: bold; padding: 0 0.5em; padding-top: 1em; border-bottom: 3px double #aaa' | Requirements
 
|-
 
|-
|colspan='3'  |
+
|
 
* Level {{{level|''not yet known''}}}
 
* Level {{{level|''not yet known''}}}
 
{{#ifeq: {{{requirements|}}} | {{{requirements|-}}} | * [[Principles of {{{discipline}}}]]
 
{{#ifeq: {{{requirements|}}} | {{{requirements|-}}} | * [[Principles of {{{discipline}}}]]
 
{{{requirements|}}} | }}
 
{{{requirements|}}} | }}
 
|-
 
|-
| colspan='3' style='text-align: left;  font-weight: bold; padding: 0 0.5em; padding-top: 1em; border-bottom: 3px double #aaa' | Principles
+
| style='text-align: left;  font-weight: bold; padding: 0 0.5em; padding-top: 1em; border-bottom: 3px double #aaa' | Principles
 
|-
 
|-
| colspan='3'  |
+
|
 
{{{principles|* ''Not yet known''}}}
 
{{{principles|* ''Not yet known''}}}
 
|-
 
|-
| colspan='3' style='text-align: left;  font-weight: bold; padding: 0 0.5em; padding-top: 1em; border-bottom: 3px double #aaa' | Demonstration
+
| style='text-align: left;  font-weight: bold; padding: 0 0.5em; padding-top: 1em; border-bottom: 3px double #aaa' | Demonstration
 
|-
 
|-
| colspan='3'  |
+
|
 
* Demonstrated by {{{demo name|??}}} in [[{{{demo region|??}}}]] on {{{demo date|??}}}{{#if: {{{reqlink|}}}| by fulfilling the requested [[{{{reqlink}}} | requirements]]|}}.
 
* Demonstrated by {{{demo name|??}}} in [[{{{demo region|??}}}]] on {{{demo date|??}}}{{#if: {{{reqlink|}}}| by fulfilling the requested [[{{{reqlink}}} | requirements]]|}}.
 
|}</INCLUDEONLY>
 
|}</INCLUDEONLY>

Revision as of 21:35, 29 June 2018

This template will produce an info box on the right of a Test Page.

The first box on the right is produced with the following:

  Test of the  
Best Player
in Egypt
Discipline
Requirements
Principles
  • none
Demonstration
  • Demonstrated by Pharoah in Nomad on 01-JAN-2018.
{{TestInfoBox
    |prefix = Test of the
    |name = Best Player
    |subname = in Egypt
    |discipline = Leadership
    |level = 14
    |requirements = 
* ''none''
    |principles =
* ''none''
    |demo name =  Pharoah
    |demo region = Nomad
    |demo date = 01-JAN-2018
}}


The second box on the right is without any of the piped arguments.

   
Discipline
Requirements
  • Level not yet known
Principles
  • Not yet known
Demonstration
  • Demonstrated by ?? in ?? on ??.