Difference between revisions of "Template:EH Ship"

From Emperor's Hammer Encyclopaedia Imperia
m
m (Protected "Template:EH Ship" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)))
 
(11 intermediate revisions by 3 users not shown)
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" style="font-size: smaller;" class="sidebar sidebar-ship"
 
<includeonly>[[Category:Ships of the Emperor's Hammer]]</includeonly>
 
<includeonly>[[Category:Ships of the Emperor's Hammer]]</includeonly>
 
|-
 
|-
 
{{#if: {{{image|}}}|
 
{{#if: {{{image|}}}|
{{!}} colspan="2" bgcolor={{{bgcolor_value|#222222; style="background: #222222; 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:#90905F; text-align:center; font-variant:small-caps;" | '''{{{class}}} {{{name}}}'''
+
| colspan="2" style="font-size:larger; font-variant:small-caps; text-align: center;" | '''{{{class}}} {{{name}}}'''
 
|-
 
|-
| colspan="2" style="border-top: 1px solid #111111; text-align: center; color: #e5e5ed; background-color:#75754C; text-align:center; font-size:8pt;" | '''Ship Information'''
+
| colspan="2" class="sidebar-heading-subheading" style="text-align: center;" | '''Ship Information'''
 
|-
 
|-
 
{{#if: {{{battlegroup|}}}|
 
{{#if: {{{battlegroup|}}}|
{{!}} bgcolor={{{bgcolor_value|#222222; style="background: #222222; padding-left:6px; padding-right:6px; border-top: 1px solid #111111; border-right: 1px solid #111111; color: #cccccc; font-size:smaller;"}}} {{!}} Battlegroup:
+
{{!}} {{!}} Battlegroup:
{{!}} bgcolor={{{bgcolor_value|#2B2B2B style="background: #2B2B2B; padding-left:6px; padding-right:6px; border-top: 1px solid #111111; font-size:smaller;"}}} {{!}}  
+
{{!}} {{!}}  
 
{{{battlegroup}}}}}
 
{{{battlegroup}}}}}
 +
|-
 +
{{#if: {{{bgcom|}}}|
 +
{{!}} {{!}} BGCOM:
 +
{{!}} {{!}}
 +
{{{bgcom}}}}}
 
|-
 
|-
 
{{#if: {{{commodore|}}}|
 
{{#if: {{{commodore|}}}|
{{!}} bgcolor={{{bgcolor_value|#222222; style="background: #222222; padding-left:6px; padding-right:6px; border-top: 1px solid #111111; border-right: 1px solid #111111; color: #cccccc; font-size:smaller;"}}} {{!}} Commodore:
+
{{!}} {{!}} Commodore:
{{!}} bgcolor={{{bgcolor_value|#2B2B2B style="background: #2B2B2B; padding-left:6px; padding-right:6px; border-top: 1px solid #111111; font-size:smaller;"}}} {{!}}  
+
{{!}} {{!}}  
 
{{{commodore}}}}}
 
{{{commodore}}}}}
 
|-
 
|-
 
{{#if: {{{flagofficer|}}}|
 
{{#if: {{{flagofficer|}}}|
{{!}} bgcolor={{{bgcolor_value|#222222; style="background: #222222; padding-left:6px; padding-right:6px; border-top: 1px solid #111111; border-right: 1px solid #111111; color: #cccccc; font-size:smaller;"}}} {{!}} Flag Officer:
+
{{!}} {{!}} Flag Officer:
{{!}} bgcolor={{{bgcolor_value|#2B2B2B style="background: #2B2B2B; padding-left:6px; padding-right:6px; border-top: 1px solid #111111; font-size:smaller;"}}} {{!}}  
+
{{!}} {{!}}  
 
{{{flagofficer}}}}}
 
{{{flagofficer}}}}}
 
|-
 
|-
 
{{#if: {{{nickname|}}}|
 
{{#if: {{{nickname|}}}|
{{!}} bgcolor={{{bgcolor_value|#222222; style="background: #222222; padding-left:6px; padding-right:6px; border-top: 1px solid #111111; border-right: 1px solid #111111; color: #cccccc; font-size:smaller;"}}} {{!}} Nickname:
+
{{!}} {{!}} Nickname:
{{!}} bgcolor={{{bgcolor_value|#2B2B2B style="background: #2B2B2B; padding-left:6px; padding-right:6px; border-top: 1px solid #111111; font-size:smaller;"}}} {{!}}  
+
{{!}} {{!}}  
 
{{{nickname}}}}}
 
{{{nickname}}}}}
 
|-
 
|-
 
{{#if: {{{motto|}}}|
 
{{#if: {{{motto|}}}|
{{!}} bgcolor={{{bgcolor_value|#222222; style="background: #222222; padding-left:6px; padding-right:6px; border-top: 1px solid #111111; border-right: 1px solid #111111; color: #cccccc; font-size:smaller;"}}} {{!}} Motto:
+
{{!}} {{!}} Motto:
{{!}} bgcolor={{{bgcolor_value|#2B2B2B style="background: #2B2B2B; padding-left:6px; padding-right:6px; border-top: 1px solid #111111; font-size:smaller;"}}} {{!}}  
+
{{!}} {{!}}  
 
{{{motto}}}}}
 
{{{motto}}}}}
 
|-
 
|-
 
{{#if: {{{wing|}}}|
 
{{#if: {{{wing|}}}|
{{!}} bgcolor={{{bgcolor_value|#222222; style="background: #222222; padding-left:6px; padding-right:6px; border-top: 1px solid #111111; border-right: 1px solid #111111; color: #cccccc; font-size:smaller;"}}} {{!}} Wing(s):
+
{{!}} {{!}} Wing(s):
{{!}} bgcolor={{{bgcolor_value|#2B2B2B style="background: #2B2B2B; padding-left:6px; padding-right:6px; border-top: 1px solid #111111; font-size:smaller;"}}} {{!}}  
+
{{!}} {{!}}  
 
{{{wing}}}}}
 
{{{wing}}}}}
 
|-
 
|-
 
{{#if: {{{status|}}}|
 
{{#if: {{{status|}}}|
{{!}} bgcolor={{{bgcolor_value|#222222; style="background: #222222; padding-left:6px; padding-right:6px; border-top: 1px solid #111111; border-right: 1px solid #111111; color: #cccccc; font-size:smaller;"}}} {{!}} Status:
+
{{!}} {{!}} Status:
{{!}} bgcolor={{{bgcolor_value|#2B2B2B style="background: #2B2B2B; padding-left:6px; padding-right:6px; border-top: 1px solid #111111; font-size:smaller;"}}} {{!}}  
+
{{!}} {{!}}  
 
{{{status}}}}}
 
{{{status}}}}}
 
|-
 
|-
|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:#90905F; text-align:center; border-top: 1px solid #111111;" | [[Template:EH Ship|[ Source ]]]
+
{{#if: {{{patch|}}}|
 +
{{!}} colspan="2" style="text-align: center;" {{!}} {{{patch}}}}}
 +
|-
 +
|colspan="2" style="font-variant:small-caps;" | [[Template:EH Ship|[ Source ]]]
 
|}
 
|}
 
<noinclude>{{Clear}}
 
<noinclude>{{Clear}}
Line 55: Line 63:
 
|name=
 
|name=
 
|battlegroup=
 
|battlegroup=
 +
|bgcom=
 
|commodore=
 
|commodore=
 
|flagofficer=
 
|flagofficer=
Line 61: Line 70:
 
|wing=
 
|wing=
 
|status=
 
|status=
 +
|patch=
 
}}
 
}}
 
</pre>
 
</pre>
 
[[Category:Templates]]
 
[[Category:Templates]]

Latest revision as of 07:16, 9 February 2023

Usage

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

{{EH Ship
|image=
|class=
|name=
|battlegroup=
|bgcom=
|commodore=
|flagofficer=
|nickname=
|motto=
|wing=
|status=
|patch=
}}