Difference between revisions of "Template:EH Medal"

From Emperor's Hammer Encyclopaedia Imperia
(fixed display issue)
m (added auto-hide of unused sections)
Line 3: Line 3:
 
| colspan="2" style="border-top: 1px solid #111111; text-align: center; color: #2B2B2B; background-color:#2B2B2B; text-align:center; font-size:8pt;" |
 
| colspan="2" style="border-top: 1px solid #111111; text-align: center; color: #2B2B2B; background-color:#2B2B2B; text-align:center; font-size:8pt;" |
 
|-
 
|-
{{!}} colspan="2" bgcolor={{{bgcolor_value|#75754C; style="background: #75754C; border-top: 1px solid #111111; border-right: 1px solid #111111; color: #cccccc; font-size:smaller; text-align: center;"}}} {{!}} {{{image}}}
+
{{#if: {{{image|}}}|
 +
{{!}} colspan="2" bgcolor={{{bgcolor_value|#75754C; style="background: #75754C; border-top: 1px solid #111111; border-right: 1px solid #111111; color: #cccccc; font-size:smaller; text-align: center;"}}} {{!}} {{{image}}}}}
 
|-
 
|-
 
| colspan="2" style="border-top: 1px solid #111111; text-align: center; color: #e5e5ed; font-size:larger; background-color:#2B2B2B; text-align:center; font-variant:small-caps;" | '''{{{medalname}}}'''
 
| colspan="2" style="border-top: 1px solid #111111; text-align: center; color: #e5e5ed; font-size:larger; background-color:#2B2B2B; text-align:center; font-variant:small-caps;" | '''{{{medalname}}}'''
Line 9: Line 10:
 
| colspan="2" style="border-top: 1px solid #111111; text-align: center; color: #e5e5ed; background-color:#222222; text-align:center; font-size:8pt;" | '''Award Information'''
 
| colspan="2" style="border-top: 1px solid #111111; text-align: center; color: #e5e5ed; background-color:#222222; text-align:center; font-size:8pt;" | '''Award Information'''
 
|-
 
|-
 +
{{#if: {{{precedence|}}}|
 
{{!}} bgcolor={{{bgcolor_value|#75754C; style="background: #75754C; padding-left:6px; padding-right:6px; border-top: 1px solid #111111; border-right: 1px solid #111111; color: #cccccc; font-size:smaller;"}}} {{!}} Precedence:
 
{{!}} bgcolor={{{bgcolor_value|#75754C; style="background: #75754C; padding-left:6px; padding-right:6px; border-top: 1px solid #111111; border-right: 1px solid #111111; color: #cccccc; font-size:smaller;"}}} {{!}} Precedence:
 
{{!}} bgcolor={{{bgcolor_value|#90905F style="background: #90905F; padding-left:6px; padding-right:6px; border-top: 1px solid #111111; font-size:smaller;"}}} {{!}}  
 
{{!}} bgcolor={{{bgcolor_value|#90905F style="background: #90905F; padding-left:6px; padding-right:6px; border-top: 1px solid #111111; font-size:smaller;"}}} {{!}}  
{{{precedence}}}
+
{{{precedence}}}}}
 
|-
 
|-
 +
{{#if: {{{classification|}}}|
 
{{!}} bgcolor={{{bgcolor_value|#75754C; style="background: #75754C; padding-left:6px; padding-right:6px; border-top: 1px solid #111111; border-right: 1px solid #111111; color: #cccccc; font-size:smaller;"}}} {{!}} Award Classification:
 
{{!}} bgcolor={{{bgcolor_value|#75754C; style="background: #75754C; padding-left:6px; padding-right:6px; border-top: 1px solid #111111; border-right: 1px solid #111111; color: #cccccc; font-size:smaller;"}}} {{!}} Award Classification:
 
{{!}} bgcolor={{{bgcolor_value|#90905F style="background: #90905F; padding-left:6px; padding-right:6px; border-top: 1px solid #111111; font-size:smaller;"}}} {{!}}  
 
{{!}} bgcolor={{{bgcolor_value|#90905F style="background: #90905F; padding-left:6px; padding-right:6px; border-top: 1px solid #111111; font-size:smaller;"}}} {{!}}  
{{{classification}}}
+
{{{classification}}}}}
 
|-
 
|-
 +
{{#if: {{{top10|}}}|
 
{{!}} bgcolor={{{bgcolor_value|#75754C; style="background: #75754C; padding-left:6px; padding-right:6px; border-top: 1px solid #111111; border-right: 1px solid #111111; color: #cccccc; font-size:smaller;"}}} {{!}} Top Recipients:
 
{{!}} bgcolor={{{bgcolor_value|#75754C; style="background: #75754C; padding-left:6px; padding-right:6px; border-top: 1px solid #111111; border-right: 1px solid #111111; color: #cccccc; font-size:smaller;"}}} {{!}} Top Recipients:
 
{{!}} bgcolor={{{bgcolor_value|#90905F style="background: #90905F; padding-left:6px; padding-right:6px; border-top: 1px solid #111111; font-size:smaller;"}}} {{!}}  
 
{{!}} bgcolor={{{bgcolor_value|#90905F style="background: #90905F; padding-left:6px; padding-right:6px; border-top: 1px solid #111111; font-size:smaller;"}}} {{!}}  
{{{top10}}}
+
{{{top10}}}}}
 
|-
 
|-
 +
{{#if: {{{subgroup|}}}|
 
{{!}} bgcolor={{{bgcolor_value|#75754C; style="background: #75754C; padding-left:6px; padding-right:6px; border-top: 1px solid #111111; border-right: 1px solid #111111; color: #cccccc; font-size:smaller;"}}} {{!}} Subgroup:
 
{{!}} bgcolor={{{bgcolor_value|#75754C; style="background: #75754C; padding-left:6px; padding-right:6px; border-top: 1px solid #111111; border-right: 1px solid #111111; color: #cccccc; font-size:smaller;"}}} {{!}} Subgroup:
 
{{!}} bgcolor={{{bgcolor_value|#90905F style="background: #90905F; padding-left:6px; padding-right:6px; border-top: 1px solid #111111; font-size:smaller;"}}} {{!}}  
 
{{!}} bgcolor={{{bgcolor_value|#90905F style="background: #90905F; padding-left:6px; padding-right:6px; border-top: 1px solid #111111; font-size:smaller;"}}} {{!}}  
{{{subgroup}}}
+
{{{subgroup}}}}}
 
|-  
 
|-  
 
   |colspan="2" style="border-bottom-right-radius: .8em; border-bottom-left-radius: .8em; -moz-border-radius-bottomright: .8em; -moz-border-radius-bottomleft: .8em; -webkit-border-bottom-right-radius: .8em; -webkit-border-bottom-left-radius: .8em; text-align: center; color: #e5e5ed; font-variant:small-caps; font-size:smaller; background-color:#2B2B2B; text-align:center; border-top: 1px solid #111111;" | [[Template:EH Medal|[ Source ]]]
 
   |colspan="2" style="border-bottom-right-radius: .8em; border-bottom-left-radius: .8em; -moz-border-radius-bottomright: .8em; -moz-border-radius-bottomleft: .8em; -webkit-border-bottom-right-radius: .8em; -webkit-border-bottom-left-radius: .8em; text-align: center; color: #e5e5ed; font-variant:small-caps; font-size:smaller; background-color:#2B2B2B; text-align:center; border-top: 1px solid #111111;" | [[Template:EH Medal|[ Source ]]]
Line 32: Line 37:
 
<noinclude>{{Clear}}
 
<noinclude>{{Clear}}
 
== Usage ==
 
== Usage ==
To use: Paste the following text into the desired character article, and fill in the appropriate fields.
+
To use: Paste the following text into the desired medal article, and fill in the appropriate fields.
 
<pre>
 
<pre>
 
{{EH Medal
 
{{EH Medal

Revision as of 06:14, 23 February 2014

{{{medalname}}}
Award Information
[ Source ]


Usage

To use: Paste the following text into the desired medal article, and fill in the appropriate fields.

{{EH Medal
|image=
| medalname=
| precedence=
| classification=
| top10=
|subgroup=
}}