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
(14 intermediate revisions by 4 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: {{{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=
 +
|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>
 

Revision as of 11:49, 20 June 2021

Usage

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

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