Template:Vessel/Operator: Difference between revisions

From Kerbal Powers Wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 1: Line 1:
 
<templatestyles src="Character/styles.css" />
 
<templatestyles src="Character/styles.css" />
   
  +
<includeonly>
<includeonly>{{Infobox/SectionHeader|section=[[File:{{{operator_flag}}}|20px]]{{{operator}}}}}
+
{{Infobox/SectionHeader|section={{#if:{{{operator_flag|}}}|[[File:{{{operator_flag}}}|20px]]|}} {{#if:{{{operator|}}}|{{{operator}}}|}}}}
{{Infobox/Item|key=Name|value={{{name}}}}}
 
{{Infobox/Item|key=Namesake|value={{{namesake}}}}}
+
​{{#if:{{{name|}}}|{{Infobox/Item|key=Name|value={{{name}}}|}}}}
{{Infobox/Item|key=Aquired|value={{{aquisition_date}}}}}</includeonly>
+
​{{#if:{{{namesake|}}}|{{Infobox/Item|key=Namesake|value={{{namesake}}}|}}}}
  +
​{{#if:{{{aquisition_date|}}}|{{Infobox/Item|key=Aquired|value={{{aquisition_date}}}|}}}}
  +
</includeonly>
 
 
  +
 
  +
 
<noinclude>
 
<noinclude>
 
{{Infobox/begin}}
 
{{Infobox/begin}}
Line 15: Line 18:
 
| namesake=[namesake]
 
| namesake=[namesake]
 
| aquisition_date = [date aquired]
 
| aquisition_date = [date aquired]
  +
}}
  +
{{Infobox/end}}
  +
{{Infobox/begin}}
  +
{{Vessel/Operator
 
}}
 
}}
 
{{Infobox/end}}
 
{{Infobox/end}}
Line 35: Line 42:
 
"example": "[[KSC]]",
 
"example": "[[KSC]]",
 
"type": "wiki-page-name",
 
"type": "wiki-page-name",
"required": true,
+
"required": true
"autovalue": " "
 
 
},
 
},
 
"name": {
 
"name": {
Line 43: Line 49:
 
"example": "KSC ''Jebidiah Kerman''",
 
"example": "KSC ''Jebidiah Kerman''",
 
"type": "string",
 
"type": "string",
"required": true,
+
"required": true
"autovalue": " "
 
 
},
 
},
 
"namesake": {
 
"namesake": {
Line 51: Line 56:
 
"example": "[[Jool]]",
 
"example": "[[Jool]]",
 
"type": "wiki-page-name",
 
"type": "wiki-page-name",
"suggested": true,
+
"suggested": true
"autovalue": " "
 
 
},
 
},
 
"aquisition_date": {
 
"aquisition_date": {
Line 59: Line 63:
 
"example": "22/03/2144",
 
"example": "22/03/2144",
 
"type": "date",
 
"type": "date",
"suggested": true,
+
"suggested": true
"autovalue": " "
 
 
}
 
}
 
}
 
}

Revision as of 18:28, 26 October 2022




​ ​ ​
KP dark.png [operating nation]
Name [name]
Namesake [namesake]
Aquired [date aquired]
​ ​ ​

No description.

Template parameters

ParameterDescriptionTypeStatus
Flagoperator_flag

Flag filename

Default
KP dark.png
Example
KP dark.png
Auto value
void.png
Filesuggested
Operatoroperator

Operating Nation of the vessel in this period

Example
[[KSC]]
Page namerequired
Namename

Name of the vessel under this nation

Example
KSC ''Jebidiah Kerman''
Stringrequired
Namesakenamesake

The character, location, or other item to which the ship owes its name

Example
[[Jool]]
Page namesuggested
Aquisition Dateaquisition_date

Date of Aquisition by the specified nation

Example
22/03/2144
Datesuggested