Difference between revisions of "Template:EH Medal"

From Emperor's Hammer Encyclopaedia Imperia
m (added classification field)
(remove white space)
 
(9 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{| width="250" align="right" cellpadding="3" cellspacing="0" style="border: 2px #333333 solid; background: #000000; 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; margin-top: -1.4em; margin: 0 0 1em 1em; font-size: 12px;color: #ffffff;"
+
{| width="250" align="right" cellpadding="3" cellspacing="0" class="sidebar" style="float: right; clear: right; font-size: smaller;"
 
|-
 
|-
 
+
| colspan="2" class="sidebar-heading-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}}}'''
+
{{#if: {{{image|}}}|
 +
{{!}} colspan="2" {{!}} {{{image}}}}}
 
|-
 
|-
| 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" class="sidebar-heading-heading" | '''{{{medalname}}}'''
 
|-
 
|-
{{!}} 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:
+
| colspan="2" class="sidebar-heading-subheading" | '''Award Information'''
{{!}} bgcolor={{{bgcolor_value|#90905F style="background: #90905F; padding-left:6px; padding-right:6px; border-top: 1px solid #111111; 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;"}}} {{!}} Award Classification:
+
{{#if: {{{precedence|}}}|
{{!}} bgcolor={{{bgcolor_value|#90905F style="background: #90905F; padding-left:6px; padding-right:6px; border-top: 1px solid #111111; font-size:smaller;"}}} {{!}}  
+
{{!}} class="sidebar-label" {{!}} Precedence:
{{{classification}}}
+
{{!}} class="sidebar-value" {{!}}  
 +
{{{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;"}}} {{!}} Top Recipients:
+
{{#if: {{{classification|}}}|
{{!}} bgcolor={{{bgcolor_value|#90905F style="background: #90905F; padding-left:6px; padding-right:6px; border-top: 1px solid #111111; font-size:smaller;"}}} {{!}}  
+
{{!}} class="sidebar-label" {{!}} Award Classification:
{{{top10}}}
+
{{!}} class="sidebar-value" {{!}}  
 +
{{{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;"}}} {{!}} Subgroup:
+
{{#if: {{{top10|}}}|
{{!}} bgcolor={{{bgcolor_value|#90905F style="background: #90905F; padding-left:6px; padding-right:6px; border-top: 1px solid #111111; font-size:smaller;"}}} {{!}}  
+
{{!}} class="sidebar-label" {{!}} Top Recipients:
{{{subgroup}}}
+
{{!}} class="sidebar-value" {{!}}
|- --> <includeonly>[[Category:Awards of the Emperor's Hammer]]</includeonly>
+
{{{top10}}}}}
   |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 ]]]
+
|-
 +
{{#if: {{{subgroup|}}}|
 +
{{!}} class="sidebar-label" {{!}} Subgroup:
 +
{{!}} class="sidebar-value" {{!}}  
 +
{{{subgroup}}}}}
 +
|-  
 +
   |colspan="2" | [[Template:EH Medal|[ Source ]]]
 
|}
 
|}
 +
<includeonly>[[Category:Awards of the Emperor's Hammer]]</includeonly>
 
<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
|image=
+
| image=
 
| medalname=
 
| medalname=
 
| precedence=
 
| precedence=
 
| classification=
 
| classification=
 
| top10=
 
| top10=
|subgroup=
+
| subgroup=
 
}}
 
}}
 
</pre>
 
</pre>
 
[[Category:Templates]]
 
[[Category:Templates]]

Latest revision as of 11:07, 7 July 2024

Usage[edit]

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=
}}