Difference between revisions of "Template:EH Ship"

From Emperor's Hammer Encyclopaedia Imperia
(New page: {{Template:EH starships |name = SHIP CLASS ''SHIP NAME'' |image = 200px |caption = IMAGE CAPTION |manufacturer = MANUFACTURER NAME |length = SHIP LENGTH ...)
 
m (Protected "Template:EH Ship" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)))
 
(19 intermediate revisions by 5 users not shown)
Line 1: Line 1:
{{Template:EH starships
+
{| width="250" align="right" cellpadding="3" cellspacing="0" style="font-size: smaller;" class="sidebar sidebar-ship"
|name   = SHIP CLASS ''SHIP NAME''
+
<includeonly>[[Category:Ships of the Emperor's Hammer]]</includeonly>
|image        = [[Image:IMAGENAME|200px]]
+
|-
|caption   = IMAGE CAPTION
+
{{#if: {{{image|}}}|
|manufacturer  = MANUFACTURER NAME
+
{{!}} colspan="2" {{!}} {{{image}}}}}
|length   = SHIP LENGTH
+
|-
|width   = SHIP WIDTH
+
| colspan="2" style="font-size:larger; font-variant:small-caps; text-align: center;" | '''{{{class}}} {{{name}}}'''
|height   = SHIP HEIGHT
+
|-
|armament   = ARMAMENT
+
| colspan="2" class="sidebar-heading-subheading" style="text-align: center;" | '''Ship Information'''
|crew   = CREW COUNT
+
|-
|commodore   = COMMODORE NAME
+
{{#if: {{{battlegroup|}}}|
|wing   = WING ID NUMBER
+
{{!}} {{!}} Battlegroup:
|wingcommander = WING COMMANDER NAME
+
{{!}} {{!}}
|squadrons   = SQUADRON NAMES
+
{{{battlegroup}}}}}
 
+
|-
 +
{{#if: {{{bgcom|}}}|
 +
{{!}} {{!}} BGCOM:
 +
{{!}} {{!}}
 +
{{{bgcom}}}}}
 +
|-
 +
{{#if: {{{commodore|}}}|
 +
{{!}} {{!}} Commodore:
 +
{{!}} {{!}}
 +
{{{commodore}}}}}
 +
|-
 +
{{#if: {{{flagofficer|}}}|
 +
{{!}} {{!}} Flag Officer:
 +
{{!}} {{!}}
 +
{{{flagofficer}}}}}
 +
|-
 +
{{#if: {{{nickname|}}}|
 +
{{!}} {{!}} Nickname:
 +
{{!}} {{!}}
 +
{{{nickname}}}}}
 +
|-
 +
{{#if: {{{motto|}}}|
 +
{{!}} {{!}} Motto:
 +
{{!}} {{!}}
 +
{{{motto}}}}}
 +
|-
 +
{{#if: {{{wing|}}}|
 +
{{!}} {{!}} Wing(s):
 +
{{!}} {{!}}
 +
{{{wing}}}}}
 +
|-
 +
{{#if: {{{status|}}}|
 +
{{!}} {{!}} Status:
 +
{{!}} {{!}}
 +
{{{status}}}}}
 +
|-
 +
{{#if: {{{patch|}}}|
 +
{{!}} colspan="2" style="text-align: center;" {{!}} {{{patch}}}}}
 +
|-
 +
|colspan="2" style="font-variant:small-caps;" | [[Template:EH Ship|[ Source ]]]
 +
|}
 +
<noinclude>{{Clear}}
 +
== Usage ==
 +
To use: Paste the following text into the desired character article, and fill in the appropriate fields.
 +
<pre>
 +
{{EH Ship
 +
|image=
 +
|class=
 +
|name=
 +
|battlegroup=
 +
|bgcom=
 +
|commodore=
 +
|flagofficer=
 +
|nickname=
 +
|motto=
 +
|wing=
 +
|status=
 +
|patch=
 
}}
 
}}
 
+
</pre>
Copy and paste the following code into the top of the article, filling the appropriate fields. Omitted or blank fields will not be shown on the article page.
+
[[Category:Templates]]
 
 
<pre><nowiki>
 
{{Template:EH starships
 
  |name   = SHIP CLASS ''SHIP NAME''
 
  |image        = [[Image:IMAGENAME|200px]]
 
  |caption   = IMAGE CAPTION
 
  |manufacturer  = MANUFACTURER NAME
 
  |length   = SHIP LENGTH
 
  |width   = SHIP WIDTH
 
  |height   = SHIP HEIGHT
 
  |armament   = ARMAMENT
 
  |crew   = CREW COUNT
 
  |commodore   = COMMODORE NAME
 
  |wing   = WING ID NUMBER
 
  |wingcommander = WING COMMANDER NAME
 
  |squadrons   = SQUADRON NAMES
 
 
 
}}
 
</nowiki></pre>
 

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