Jump to content

Template:Ship Card: Difference between revisions

From Horizon's End Wiki
SherbetS (talk | contribs)
No edit summary
SherbetS (talk | contribs)
No edit summary
 
(8 intermediate revisions by the same user not shown)
Line 1: Line 1:
{| class="wikitable"
{| class="wikitable"
! colspan="2" style="background:{{{color|#d4d4d4}}};width:500px;font-size:14pt" | {{{Ship Name}}}
! colspan="2" style="background:{{{color|#d4d4d4}}};width:350px;font-size:14pt" | {{{Ship Name}}}
|-
|-
| colspan="2" style="text-align:center;font-size:10pt" | {{#if: {{{Image|}}}|[[{{{Image|}}}|noframe|500px]]<br />''{{{Caption|}}}''|(No Image)}}
| colspan="2" style="text-align:center;font-size:10pt" | {{#if: {{{Image|}}}|[[{{{Image|}}}|noframe|350px]]<br />''{{{Caption|}}}''|(No Image)}}
|-
|-
| colspan="2" style="background:{{{color|#d4d4d4}}};text-align:center;font-size:10pt" | Specifications
| colspan="2" style="background:{{{color|#d4d4d4}}};text-align:center;font-size:12pt" | '''Specifications'''
|-
|-
| style="font-size:9pt" | Class || style="font-size:9pt" | {{{Class|none}}}
| Class || {{{Class|none}}}
|-
|-
| style="font-size:9pt" | Block Count || style="font-size:9pt" | {{{Block Count|none}}}
| Block Count || {{{Block Count|none}}}
|-
{{#if: {{{Bridge Orientation|}}}|| style="font-size:9pt" | Bridge Orientation || style="font-size:9pt" | {{{Bridge Orientation|}}}
|-
|-
{{#if: {{{Bridge Orientation|}}}|{{!}} Bridge Orientation {{!}}{{!}} {{{Bridge Orientation|}}}
{{!}}-
|}}
{{#if: {{{Ship Line|}}}|{{!}} Ship Line {{!}}{{!}} {{{Ship Line|}}}
{{!}}-
|}}
|}}
<!--
{{#if:{{{custom_field1|}}}|
{{#if:{{{custom_field1|}}}|
! colspan="2" style="background:{{{color|#d4d4d4}}};text-align:center;font-size:10pt" {{!}} Other Information
! colspan="2" style="background:{{{color|#d4d4d4}}};text-align:center;font-size:10pt" {{!}} Other Information
Line 18: Line 24:
}}
}}
{{#if:{{{custom_field1|}}}|
{{#if:{{{custom_field1|}}}|
{{!}}-
{{!}} style="font-size:9pt" {{!}} {{{custom_field1}}} {{!}}{{!}} style="font-size:9pt" {{!}} {{{custom_value1|}}}
{{!}} style="font-size:9pt" {{!}} {{{custom_field1}}} {{!}}{{!}} style="font-size:9pt" {{!}} {{{custom_value1|}}}
}}
}}
Line 40: Line 47:
{{!}} style="font-size:9pt" {{!}} {{{custom_field6}}} {{!}}{{!}} style="font-size:9pt" {{!}} {{{custom_value6|}}}
{{!}} style="font-size:9pt" {{!}} {{{custom_field6}}} {{!}}{{!}} style="font-size:9pt" {{!}} {{{custom_value6|}}}
}}
}}
-->
|}
|}
<noinclude>
<noinclude>
Line 53: Line 61:
"description": "The name of the ship",
"description": "The name of the ship",
"example": "Voice",
"example": "Voice",
"required": true
"required": true,
"aliases": [
"name"
]
},
},
"Image": {
"Image": {
Line 65: Line 76:
"suggested": true
"suggested": true
},
},
"custom_field1": {},
"custom_value1": {},
"custom_field2": {},
"custom_value2": {},
"custom_field3": {},
"custom_value3": {},
"custom_field4": {},
"custom_value4": {},
"custom_field5": {},
"custom_value5": {},
"custom_field6": {},
"custom_value6": {},
"Class": {
"Class": {
"description": "Ship class. Use wikilink.",
"description": "Ship class. Use wikilink.",
Line 97: Line 96:
"Top and Front"
"Top and Front"
]
]
},
"Ship Line": {
"description": "The line of ships this ship is a part of"
}
}
},
},
Line 107: Line 109:
"Bridge Orientation",
"Bridge Orientation",
"Block Count",
"Block Count",
"custom_field1",
"Ship Line"
"custom_value1",
"custom_field2",
"custom_value2",
"custom_field3",
"custom_value3",
"custom_field4",
"custom_value4",
"custom_field5",
"custom_value5",
"custom_field6",
"custom_value6"
]
]
}
}
</templatedata>
</templatedata>
</noinclude>
</noinclude>

Latest revision as of 05:23, 3 November 2026

{{{Ship Name}}}
(No Image)
Specifications
Class none
Block Count none

No description.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
colorcolor

The thematic color to be used in the text backgrounds of this card

Example
red, #FFF
Unknownsuggested
Ship NameShip Name name

The name of the ship

Example
Voice
Unknownrequired
ImageImage

An image of the ship

Example
File:Voice.png
Unknownsuggested
CaptionCaption

A freeform caption, italicized.

Example
"The most powerful weapon of the proletariat"
Unknownsuggested
ClassClass

Ship class. Use wikilink.

Example
[[Destroyer]]
Unknownsuggested
Bridge OrientationBridge Orientation

Which side of the ship is the primary bridge mounted. Use a freeform value for edge cases.

Suggested values
Top Bottom Front Top and bottom Top and Front
Example
Top
Unknownoptional
Block CountBlock Count

Block count

Example
11,997
Unknownsuggested
Ship LineShip Line

The line of ships this ship is a part of

Unknownoptional