Template:Vessel/Operator: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
(8 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<templatestyles src="Character/styles.css" /> |
<templatestyles src="Character/styles.css" /> |
||
− | <includeonly>{{Infobox/SectionHeader|section=[[File:{{{operator_flag}}}| |
+ | <includeonly><nowiki/>{{Infobox/SectionHeader|section={{#if:{{{operator_flag|}}}|[[File:{{{operator_flag}}}|30px]] {{{operator}}}|{{{operator|}}}}}}} |
− | {{Infobox/Item|key=Name|value={{{name}}}}} |
+ | {{Infobox/Item|key=Name|value={{{name|}}}}} |
− | {{Infobox/Item|key=Namesake|value={{{namesake}}}}} |
+ | {{Infobox/Item|key=Namesake|value={{{namesake|}}}}} |
− | {{Infobox/Item|key=Aquired|value={{{aquisition_date}}}}}</includeonly> |
+ | {{Infobox/Item|key=Aquired|value={{{aquisition_date|}}}}}</includeonly> |
+ | |||
⚫ | |||
− | |
||
<noinclude> |
<noinclude> |
||
{{Infobox/begin}} |
{{Infobox/begin}} |
||
Line 14: | Line 13: | ||
| name=[name] |
| name=[name] |
||
| namesake=[namesake] |
| namesake=[namesake] |
||
− | | aquisition_date |
+ | | aquisition_date=[date aquired] |
}} |
}} |
||
{{Infobox/end}} |
{{Infobox/end}} |
||
+ | {{Infobox/begin}} |
||
+ | {{Vessel/Operator}} |
||
+ | {{Infobox/end}} |
||
+ | |||
+ | <templatedata> |
||
+ | { |
||
+ | "params": { |
||
+ | "operator_flag": { |
||
+ | "label": "Flag", |
||
+ | "description": "Flag filename", |
||
+ | "example": "KP dark.png", |
||
+ | "type": "wiki-file-name", |
||
+ | "default": "KP dark.png", |
||
+ | "suggested": true, |
||
+ | "autovalue": "void.png" |
||
+ | }, |
||
+ | "operator": { |
||
+ | "label": "Operator", |
||
+ | "description": "Operating Nation of the vessel in this period", |
||
+ | "example": "[[KSC]]", |
||
+ | "type": "wiki-page-name", |
||
+ | "required": true |
||
+ | }, |
||
+ | "name": { |
||
+ | "label": "Name", |
||
+ | "description": "Name of the vessel under this nation", |
||
+ | "example": "KSC ''Jebidiah Kerman''", |
||
+ | "type": "string", |
||
+ | "required": true |
||
+ | }, |
||
+ | "namesake": { |
||
+ | "label": "Namesake", |
||
+ | "description": "The character, location, or other item to which the ship owes its name", |
||
+ | "example": "[[Jool]]", |
||
+ | "type": "wiki-page-name", |
||
+ | "suggested": true |
||
+ | }, |
||
+ | "aquisition_date": { |
||
+ | "label": "Aquisition Date", |
||
+ | "description": "Date of Aquisition by the specified nation", |
||
+ | "example": "22/03/2144", |
||
+ | "type": "date", |
||
+ | "suggested": true |
||
+ | } |
||
⚫ | |||
+ | } |
||
+ | </templatedata> |
||
</noinclude> |
</noinclude> |
Latest revision as of 23:17, 7 November 2022
[operating nation] | |||||
---|---|---|---|---|---|
Name | [name] | ||||
Namesake | [namesake] | ||||
Aquired | [date aquired] |
No description.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Flag | operator_flag | Flag filename
| File | suggested |
Operator | operator | Operating Nation of the vessel in this period
| Page name | required |
Name | name | Name of the vessel under this nation
| String | required |
Namesake | namesake | The character, location, or other item to which the ship owes its name
| Page name | suggested |
Aquisition Date | aquisition_date | Date of Aquisition by the specified nation
| Date | suggested |