Template:Vessel: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
(6 intermediate revisions by 2 users not shown) | |||
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/ |
+ | {{Infobox/Item|key=Stricken|value={{{stricken_date|}}}}} |
+ | {{#if:{{{homeport|}}}{{{status|}}}{{{fate|}}}{{{badge|}}}|{{Infobox/Bar}}|}} |
||
− | {{Infobox/Item|key=Homeport|value={{{homeport}}}}} |
||
− | {{Infobox/Item|key= |
+ | {{Infobox/Item|key=Homeport|value={{{homeport|}}}}} |
− | {{Infobox/Item|key= |
+ | {{Infobox/Item|key=Status|value={{#if:{{{status|}}}|{{#if:{{{year|}}}|{{{status}}} as of {{{year}}}|{{{status}}}}}|}}}} |
− | {{Infobox/Item|key= |
+ | {{Infobox/Item|key=Fate|value={{{fate|}}}}} |
+ | {{Infobox/Item|key=Badge|value={{#if:{{{badge|}}}|[[Image:{{{badge}}}|left|130px]]|}}}} |
||
{{Infobox/end}}</includeonly> |
{{Infobox/end}}</includeonly> |
||
Line 20: | Line 21: | ||
<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 41: | Line 42: | ||
}} |
}} |
||
| decom_date=[date] |
| decom_date=[date] |
||
+ | | stricken_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 |
||
}} |
}} |
||
+ | |||
+ | {{Vessel}} |
||
[[Category:Infoboxes]] |
[[Category:Infoboxes]] |
Latest revision as of 22:04, 10 November 2022
Vessel
|
|||||
---|---|---|---|---|---|
Operation History |
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 |