Template:Vessel/Operator: Difference between revisions

From Kerbal Powers Wiki
Jump to navigation Jump to search
(Created page with "<templatestyles src="Character/styles.css" /> <includeonly>{{Infobox/begin}} {{Infobox/SectionHeader|section=[[File:{{{operator_flag}}}|25px]]{{{operator}}}}} {{Infobox/Item|...")
 
mNo edit summary
 
(9 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
<templatestyles src="Character/styles.css" />
 
<templatestyles src="Character/styles.css" />
   
  +
<includeonly><nowiki/>{{Infobox/SectionHeader|section={{#if:{{{operator_flag|}}}|[[File:{{{operator_flag}}}|30px]] {{{operator}}}|{{{operator|}}}}}}}​
<includeonly>{{Infobox/begin}}
 
{{Infobox/SectionHeader|section=[[File:{{{operator_flag}}}|25px]]{{{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}}}}}
 
{{Infobox/end}}</includeonly>
 
 
 
 
<noinclude>
 
<noinclude>
 
{{Infobox/begin}}
 
{{Infobox/begin}}
Line 16: Line 13:
 
| name=[name]
 
| name=[name]
 
| namesake=[namesake]
 
| namesake=[namesake]
| aquisition_date = [date aquired]
+
| 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 00:17, 8 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