A Wiki in the Desert
Log in

Difference between revisions of "Template:TestInfoBox"

From A Wiki in the Desert
(Fix layout to work on Internet Explorer (11) too)
m
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<NOINCLUDE>
+
<INCLUDEONLY>{| style='border: 1px solid #000; border-spacing: 0; width: 21em; float: right; clear: right; margin: 0 1em 1em; margin-right: 0'
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 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
 
}}
 
 
 
<PRE><NOWIKI>
 
{{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
 
}}
 
</NOWIKI></PRE>
 
 
 
 
 
The second box on the right is without any of the piped arguments.
 
{{TestInfoBox}}
 
 
 
 
 
 
 
[[Category: Template]]  {{DEFAULTSORT:{{PAGENAME}}}}</noinclude><INCLUDEONLY>{| style='border: 1px solid #000; border-spacing: 0; width: 21em; float: right; clear: right; margin: 0 1em 1em; margin-right: 0'
 
 
|-
 
|-
 
| style='width: 0.5em; background: {{UniColor|{{{discipline|#888}}}}}; border-right: 1px solid #aaa' rowspan='11' | &nbsp;
 
| style='width: 0.5em; background: {{UniColor|{{{discipline|#888}}}}}; border-right: 1px solid #aaa' rowspan='11' | &nbsp;
Line 73: Line 30:
 
| |
 
| |
 
* 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><noinclude>
 +
{{Documentation}}
 +
[[Category:Content templates]]
 +
</noinclude>

Latest revision as of 18:05, 17 May 2021

Template documentation (for the above template, sometimes hidden or invisible)
Information icon.png

Legacy Template
This template is old and should probably be replaced. In the meantime, please avoid using it on new pages if possible.

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 = Body
    |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 ??.

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