Difference between revisions of "Template:TestInfoBox"
From A Wiki in the Desert
(Fix layout of colored sidebars) |
(Fix layout to work on Internet Explorer (11) too) |
||
| Line 44: | Line 44: | ||
[[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' | [[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=' | + | | style='width: 0.5em; background: {{UniColor|{{{discipline|#888}}}}}; border-right: 1px solid #aaa' rowspan='11' | |
| style='font-size: 90%; font-weight: bold; text-align: center; padding: 0.2em 0.5em 0' | {{{prefix|}}} | | style='font-size: 90%; font-weight: bold; text-align: center; padding: 0.2em 0.5em 0' | {{{prefix|}}} | ||
| − | | style='width: 0.5em; background: {{UniColor|{{{discipline|#888}}}}}; border-left: 1px solid #aaa' rowspan=' | + | | style='width: 0.5em; background: {{UniColor|{{{discipline|#888}}}}}; border-left: 1px solid #aaa' rowspan='11' | |
|- | |- | ||
| 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|}}} | ||
| Line 52: | Line 52: | ||
| 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|}}} | ||
|- | |- | ||
| − | | | + | | style='text-align: left; font-weight: bold; padding: 0 0.5em; padding-top: 1em; border-bottom: 3px double #aaa' | Discipline |
|- | |- | ||
| − | | | + | | | |
* [[{{{discipline|''not known''}}}]] | * [[{{{discipline|''not known''}}}]] | ||
|- | |- | ||
| − | | | + | | style='text-align: left; font-weight: bold; padding: 0 0.5em; padding-top: 1em; border-bottom: 3px double #aaa' | Requirements |
|- | |- | ||
| − | | | + | | | |
* Level {{{level|''not yet known''}}} | * Level {{{level|''not yet known''}}} | ||
{{#ifeq: {{{requirements|}}} | {{{requirements|-}}} | * [[Principles of {{{discipline}}}]] | {{#ifeq: {{{requirements|}}} | {{{requirements|-}}} | * [[Principles of {{{discipline}}}]] | ||
{{{requirements|}}} | }} | {{{requirements|}}} | }} | ||
|- | |- | ||
| − | | | + | | style='text-align: left; font-weight: bold; padding: 0 0.5em; padding-top: 1em; border-bottom: 3px double #aaa' | Principles |
|- | |- | ||
| − | | | + | | | |
{{{principles|* ''Not yet known''}}} | {{{principles|* ''Not yet known''}}} | ||
|- | |- | ||
| − | | | + | | style='text-align: left; font-weight: bold; padding: 0 0.5em; padding-top: 1em; border-bottom: 3px double #aaa' | Demonstration |
|- | |- | ||
| − | | | + | | | |
* 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 08:23, 7 July 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 | ||
| ||
| Demonstration | ||
|
{{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 | ||
| ||
| Principles | ||
| ||
| Demonstration | ||
|