Template:Vessel: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
Line 2: | Line 2: | ||
<includeonly>{{Infobox/begin}} |
<includeonly>{{Infobox/begin}} |
||
− | {{Infobox/Header|title={{{name}}}|subtitle={{{class}}}}} |
+ | {{Infobox/Header|title={{#if:{{{name|}}}|{{{name|}}}|{{PAGENAME}}}}|subtitle={{#if:{{{class|}}}|{{{class|}}}|}}}} |
− | {{Infobox/Illustration|file=[[File:{{{photo}}}]]|caption={{{photo_desc}}}}} |
+ | {{Infobox/Illustration|file={{#if:{{{photo|}}}|[[File:{{{photo}}}]]|}}|caption={{{photo_desc|}}}}} |
{{Infobox/SectionHeader|section=Operation History}} |
{{Infobox/SectionHeader|section=Operation History}} |
||
− | {{Infobox/Item|key=Builder|value={{{builder}}}}} |
+ | {{Infobox/Item|key=Builder|value={{{builder|}}}}} |
− | {{Infobox/Item|key=Laid Down|value={{{laid_date}}}}} |
+ | {{Infobox/Item|key=Laid Down|value={{{laid_date|}}}}} |
− | {{Infobox/Item|key=Launched|value={{{launch_date}}}}} |
+ | {{Infobox/Item|key=Launched|value={{{launch_date|}}}}} |
− | {{Infobox/Item|key=Commissioned|value={{{com_date}}}}} |
+ | {{Infobox/Item|key=Commissioned|value={{{com_date|}}}}} |
− | {{Infobox/Item|key=Decommissioned|value={{{decom_date}}}}} |
+ | {{Infobox/Item|key=Decommissioned|value={{{decom_date|}}}}} |
{{Infobox/Bar}} |
{{Infobox/Bar}} |
||
− | {{Infobox/Item|key=Homeport|value={{{homeport}}}}} |
+ | {{Infobox/Item|key=Homeport|value={{{homeport|}}}}} |
− | {{Infobox/Item|key=Status|value={{{status}}}}} |
+ | {{Infobox/Item|key=Status|value={{#if:{{{status|}}}|{{{status}}}{{#if:{{{year|}}}| as of {{{year}}} |}}|}}}} |
− | {{Infobox/Item|key=Fate|value={{{fate}}}}} |
+ | {{Infobox/Item|key=Fate|value={{{fate|}}}}} |
− | {{Infobox/Item|key=Badge|value=[[Image:{{{badge}}}|left|130px]]}} |
+ | {{Infobox/Item|key=Badge|value={{#if:{{{badge|}}}|[[Image:{{{badge}}}|left|130px]]|}}}} |
{{Infobox/end}}</includeonly> |
{{Infobox/end}}</includeonly> |
||
Line 20: | Line 20: | ||
<noinclude> |
<noinclude> |
||
{{Vessel |
{{Vessel |
||
− | | name=[name] |
+ | | name=[vessel class name] |
| class=[vessel class and type] |
| class=[vessel class and type] |
||
| photo=KP_dark.png|photo_desc=[photo_desc] |
| photo=KP_dark.png|photo_desc=[photo_desc] |
||
Line 42: | Line 42: | ||
| decom_date=[date] |
| decom_date=[date] |
||
| homeport=[home port] |
| homeport=[home port] |
||
− | | status=[current status] |
+ | | status=[current status]|year=[year] |
| fate=[circumstances if destroyed/sunk/scrapped after decomissioning] |
| fate=[circumstances if destroyed/sunk/scrapped after decomissioning] |
||
| badge=KP_dark.png |
| badge=KP_dark.png |
Revision as of 18:40, 26 October 2022
No description.
Parameter | Description | Type | Status | |
---|---|---|---|---|
name | name | no description | Unknown | optional |
class | class | no description | Unknown | optional |
photo | photo | no description | Unknown | optional |
photo_desc | photo_desc | no description | Unknown | optional |
operator | operator | no description | Unknown | optional |
namesake | namesake | no description | Unknown | optional |
builder | builder | no description | Unknown | optional |
laid_date | laid_date | no description | Unknown | optional |
launch_date | launch_date | no description | Unknown | optional |
com_date | com_date | no description | Unknown | optional |
decom_date | decom_date | no description | Unknown | optional |
stricken_date | stricken_date | no description | Unknown | optional |
reinstatement_date | reinstatement_date | no description | Unknown | optional |
homeport | homeport | no description | Unknown | optional |
status | status | no description | Unknown | optional |
fate | fate | no description | Unknown | optional |
badge | badge | no description | Unknown | optional |