Template:Vessel: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
(10 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= |
+ | {{Infobox/SectionHeader|section=Operation History}} |
− | {{Infobox/Item|key= |
+ | {{Infobox/Item|key=Builder|value={{{builder|}}}}} |
− | {{Infobox/Item|key= |
+ | {{Infobox/Item|key=Laid Down|value={{{laid_date|}}}}} |
− | {{Infobox/ |
+ | {{Infobox/Item|key=Launched|value={{{launch_date|}}}}} |
− | {{Infobox/Item|key= |
+ | {{Infobox/Item|key=Commissioned|value={{{com_date|}}}}} |
− | {{Infobox/Item|key= |
+ | {{Infobox/Item|key=Decommissioned|value={{{decom_date|}}}}} |
− | {{Infobox/Item|key= |
+ | {{Infobox/Item|key=Stricken|value={{{stricken_date|}}}}} |
+ | {{#if:{{{homeport|}}}{{{status|}}}{{{fate|}}}{{{badge|}}}|{{Infobox/Bar}}|}} |
||
− | {{Infobox/Item|key=Decommissioned|value={{{decom_date}}}}} |
||
− | {{Infobox/Item|key= |
+ | {{Infobox/Item|key=Homeport|value={{{homeport|}}}}} |
+ | {{Infobox/Item|key=Status|value={{#if:{{{status|}}}|{{#if:{{{year|}}}|{{{status}}} as of {{{year}}}|{{{status}}}}}|}}}} |
||
− | {{Infobox/Bar}} |
||
− | {{Infobox/Item|key= |
+ | {{Infobox/Item|key=Fate|value={{{fate|}}}}} |
− | {{Infobox/Item|key= |
+ | {{Infobox/Item|key=Badge|value={{#if:{{{badge|}}}|[[Image:{{{badge}}}|left|130px]]|}}}} |
− | {{Infobox/Item|key=Badge|value=[[Image:{{{badge}}}|left|130px]]}} |
||
{{Infobox/end}}</includeonly> |
{{Infobox/end}}</includeonly> |
||
Line 22: | 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] |
||
| namesake=[namesake] |
| namesake=[namesake] |
||
| builder=[origin shipyard] |
| builder=[origin shipyard] |
||
⚫ | |||
| laid_date=[date]|launch_date=[date]|com_date=[date] |
| laid_date=[date]|launch_date=[date]|com_date=[date] |
||
+ | {{Vessel/Operator |
||
+ | | operator_flag=KP dark.png |
||
⚫ | |||
+ | | name=[name] |
||
+ | | namesake=[namesake] |
||
+ | | aquisition_date = [date aquired] |
||
+ | }} |
||
+ | {{Vessel/Operator |
||
+ | | operator_flag=KP dark.png |
||
+ | | operator=[operating nation] |
||
+ | | name=[name] |
||
+ | | namesake=[namesake] |
||
+ | | aquisition_date = [date aquired] |
||
+ | }} |
||
| decom_date=[date] |
| decom_date=[date] |
||
− | | |
+ | | stricken_date=[date] |
| homeport=[home port] |
| homeport=[home port] |
||
| status=[current status]|year=[year] |
| status=[current status]|year=[year] |
||
+ | | fate=[circumstances if destroyed/sunk/scrapped after decomissioning] |
||
| badge=KP_dark.png |
| badge=KP_dark.png |
||
}} |
}} |
||
+ | |||
+ | {{Vessel}} |
||
[[Category:Infoboxes]] |
[[Category:Infoboxes]] |
||
Line 54: | Line 69: | ||
"com_date": {}, |
"com_date": {}, |
||
"decom_date": {}, |
"decom_date": {}, |
||
+ | "stricken_date": {}, |
||
"reinstatement_date": {}, |
"reinstatement_date": {}, |
||
"homeport": {}, |
"homeport": {}, |
||
"status": {}, |
"status": {}, |
||
− | " |
+ | "fate": {}, |
"badge": {} |
"badge": {} |
||
} |
} |
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 |