Difference between revisions of "Template:EH Medal"

From Emperor's Hammer Encyclopaedia Imperia
m (added auto-hide of unused sections)
Line 1: Line 1:
{| width="250" align="right" cellpadding="3" cellspacing="0" style="float: right; clear: right; border: 2px #333333 solid; background: #000000; border-top-right-radius: .8em; border-top-left-radius: .8em; -moz-border-radius-topright: .8em; -moz-border-radius-topleft: .8em; -webkit-border-top-right-radius: .8em; -webkit-border-top-left-radius: .8em; 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" style="border-top: 1px solid #111111; text-align: center; color: #2B2B2B; background-color:#2B2B2B; text-align:center; font-size:8pt;" |
+
| colspan="2" class="sidebar-heading-image" |
 
|-
 
|-
 
{{#if: {{{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" {{!}} {{{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" class="sidebar-heading-heading" | '''{{{medalname}}}'''
 
|-
 
|-
| 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-subheading" | '''Award Information'''
 
|-
 
|-
 
{{#if: {{{precedence|}}}|
 
{{#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:
+
{{!}} class="sidebar-label" {{!}} Precedence:
{{!}} bgcolor={{{bgcolor_value|#90905F style="background: #90905F; padding-left:6px; padding-right:6px; border-top: 1px solid #111111; font-size:smaller;"}}} {{!}}  
+
{{!}} class="sidebar-value" {{!}}  
 
{{{precedence}}}}}
 
{{{precedence}}}}}
 
|-
 
|-
 
{{#if: {{{classification|}}}|
 
{{#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:
+
{{!}} class="sidebar-label" {{!}} Award Classification:
{{!}} bgcolor={{{bgcolor_value|#90905F style="background: #90905F; padding-left:6px; padding-right:6px; border-top: 1px solid #111111; font-size:smaller;"}}} {{!}}  
+
{{!}} class="sidebar-value" {{!}}  
 
{{{classification}}}}}
 
{{{classification}}}}}
 
|-
 
|-
 
{{#if: {{{top10|}}}|
 
{{#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:
+
{{!}} class="sidebar-label" {{!}} Top Recipients:
{{!}} bgcolor={{{bgcolor_value|#90905F style="background: #90905F; padding-left:6px; padding-right:6px; border-top: 1px solid #111111; font-size:smaller;"}}} {{!}}  
+
{{!}} class="sidebar-value" {{!}}  
 
{{{top10}}}}}
 
{{{top10}}}}}
 
|-
 
|-
 
{{#if: {{{subgroup|}}}|
 
{{#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:
+
{{!}} class="sidebar-label" {{!}} Subgroup:
{{!}} bgcolor={{{bgcolor_value|#90905F style="background: #90905F; padding-left:6px; padding-right:6px; border-top: 1px solid #111111; font-size:smaller;"}}} {{!}}  
+
{{!}} class="sidebar-value" {{!}}  
 
{{{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" | [[Template:EH Medal|[ Source ]]]
 
|}
 
|}
  

Revision as of 09:26, 18 June 2021


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