Template:Vessel/Operator: Difference between revisions

From Kerbal Powers Wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
 
(7 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}}}|25px]]{{{operator}}}}}
+
<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 = [date aquired]
+
| aquisition_date=[date aquired]
 
}}
 
}}
  +
{{Infobox/end}}
  +
{{Infobox/begin}}
  +
{{Vessel/Operator}}
 
{{Infobox/end}}
 
{{Infobox/end}}
   
</noinclude>
 
 
<templatedata>
 
<templatedata>
 
{
 
{
Line 28: Line 29:
 
"type": "wiki-file-name",
 
"type": "wiki-file-name",
 
"default": "KP dark.png",
 
"default": "KP dark.png",
"suggested": true
+
"suggested": true,
  +
"autovalue": "void.png"
 
},
 
},
 
"operator": {
 
"operator": {
Line 61: Line 63:
 
}
 
}
 
</templatedata>
 
</templatedata>
  +
 
</noinclude>

Latest revision as of 23:17, 7 November 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