Template:Organisation: Difference between revisions

From Kerbal Powers Wiki
Jump to navigation Jump to search
(Make all fields of the Organization infobox optional (General Nature eats crayons and Membership is not appropriate for state or private orgs))
(Added fields for military units and cleaned TemplateData info)
Line 7: Line 7:
 
{{Infobox/Item|key=Founded|value={{{est_date|}}}}}
 
{{Infobox/Item|key=Founded|value={{{est_date|}}}}}
 
{{Infobox/Item|key=Dissolved|value={{{dis_date|}}}}}
 
{{Infobox/Item|key=Dissolved|value={{{dis_date|}}}}}
{{Infobox/Item|key=General Nature|value={{{type|}}}}}
+
{{Infobox/Item|key=Type|value={{{type|}}}}}
  +
{{Infobox/Item|key=Branch|value={{{branch|}}}}}
  +
{{Infobox/Item|key=Part Of|value={{{part_of|}}}}}
 
{{Infobox/Item|key=Motto|value={{{motto|}}}}}
 
{{Infobox/Item|key=Motto|value={{{motto|}}}}}
 
{{Infobox/Item|key=Headquarters|value={{{location|}}}}}
 
{{Infobox/Item|key=Headquarters|value={{{location|}}}}}
 
{{Infobox/Item|key=Membership|value={{{members|}}}}}
 
{{Infobox/Item|key=Membership|value={{{members|}}}}}
 
{{Infobox/Item|key={{{leader_title|}}}|value={{{leader|}}}}}
 
{{Infobox/Item|key={{{leader_title|}}}|value={{{leader|}}}}}
  +
{{Infobox/Item|key=Engagements|value={{{engagements|}}}}}
 
{{Infobox/end}}</includeonly>
 
{{Infobox/end}}</includeonly>
   
Line 43: Line 46:
 
},
 
},
 
"flag": {
 
"flag": {
"label": "Organisation Flag",
+
"label": "Flag",
 
"example": "filename.extension",
 
"example": "filename.extension",
 
"type": "wiki-file-name",
 
"type": "wiki-file-name",
"required": true
+
"suggested": true
 
},
 
},
 
"emblem": {
 
"emblem": {
"label": "Organisation Emblem",
+
"label": "Emblem",
 
"example": "filename.extension",
 
"example": "filename.extension",
 
"type": "wiki-file-name",
 
"type": "wiki-file-name",
"required": true
+
"required": true,
  +
"description": "Emblem or insigna",
 
"suggested": true
  +
},
 
"map": {
 
"label": "Map",
  +
"description": "Map of the locations used",
  +
"type": "wiki-file-name"
  +
},
 
"map_caption": {
  +
"label": "Map caption",
  +
"type": "string"
 
},
 
},
"map": {},
 
"map_caption": {},
 
 
"est_date": {
 
"est_date": {
 
"label": "Date of Establishment",
 
"label": "Date of Establishment",
 
"example": "11th September, 2001",
 
"example": "11th September, 2001",
 
"type": "date",
 
"type": "date",
"autovalue": " ",
 
 
"required": true
 
"required": true
 
},
 
},
Line 66: Line 77:
 
"label": "Date of Dissolution",
 
"label": "Date of Dissolution",
 
"type": "date",
 
"type": "date",
"default": " ",
 
"autovalue": " ",
 
 
"suggested": true,
 
"suggested": true,
 
"example": "11th September, 2001"
 
"example": "11th September, 2001"
 
},
 
},
"type": {},
+
"motto": {
  +
"suggested": true,
"motto": {
 
"suggested": true,
 
 
"type": "string",
 
"type": "string",
"autovalue": " "
+
"label": "Motto"
  +
},
},
 
"location": {},
+
"location": {
  +
"label": "Location",
  +
"description": "Location of the headquarters or main area of activity",
  +
"suggested": true,
  +
"type": "string"
  +
},
 
"members": {
 
"members": {
 
"label": "Member States",
 
"label": "Member States",
"description": "List of member nations",
+
"description": "List of member nations, if applicable",
 
"example": "[[country]]</br>[[country]]",
 
"example": "[[country]]</br>[[country]]",
"type": "wiki-page-name",
+
"type": "string",
 
"suggested": true
 
"suggested": true
 
},
 
},
"leader_title": {},
+
"leader_title": {
"leader": {},
+
"label": "Leader Title",
  +
"description": "Title used for the leader",
  +
"example": "President, Commander, CEO",
  +
"type": "string",
  +
"suggested": true
  +
},
  +
"leader": {
  +
"label": "Leader Name",
  +
"description": "Identity of the Leader",
  +
"suggested": true,
  +
"type": "string"
  +
},
 
"abbreviation": {
 
"abbreviation": {
 
"label": "Abbreviated Name",
 
"label": "Abbreviated Name",
 
"description": "Name or acronym more commonly used",
 
"description": "Name or acronym more commonly used",
 
"type": "string",
 
"type": "string",
"autovalue": "",
 
 
"required": true
 
"required": true
  +
},
  +
"type": {
  +
"aliases": [
  +
"general_nature"
  +
],
  +
"description": "Type/Nature of the Organisation",
  +
"example": "Alliance, Federal Agency, Unit, Navy, etc",
  +
"suggested": true,
  +
"type": "string",
  +
"label": "Type"
  +
},
  +
"branch": {
  +
"label": "Branch",
  +
"description": "Branch or Arm this organization is part of, if applicable",
  +
"example": "Zokesian Navy, Department of Paperclips",
  +
"type": "string"
  +
},
  +
"part_of": {
 
"label": "Part of",
  +
"description": "Organization or state body this org. is a part of, if applicable",
  +
"example": "Commonwealth of Feguanesia, Globohomo Worldwide Inc.",
  +
"type": "wiki-page-name"
  +
},
  +
"engagements": {
  +
"label": "Engagements",
  +
"description": "Wars and battles this organization was involved in",
  +
"example": "Operation xxxx, Battle of Somewhere, War of the Great Heavens",
  +
"type": "string"
 
}
 
}
}
+
},
  +
"description": "Generic template for Organizations (Arms, state services, alliances, etc)",
  +
"paramOrder": [
  +
"full_title",
  +
"abbreviation",
  +
"flag",
  +
"emblem",
  +
"map",
  +
"map_caption",
  +
"est_date",
  +
"dis_date",
  +
"type",
  +
"branch",
  +
"part_of",
  +
"location",
  +
"motto",
  +
"leader_title",
  +
"leader",
  +
"members",
  +
"engagements"
  +
],
  +
"format": "block"
 
}
 
}
 
</templatedata>
 
</templatedata>

Revision as of 21:24, 9 February 2025



[FON]
[Full Org Name]
KP dark.png
Flag
KP dark.png
Emblem
KP dark.png
[member states]
Founded [date]
Dissolved [date]
Type [military/trade/etc]
Motto [motto]
Headquarters [headquarters location]
Membership [members list]
[leader title] [most recent leader]


Generic template for Organizations (Arms, state services, alliances, etc)

Template parameters

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Namefull_title

The full organisational name

Stringrequired
Abbreviated Nameabbreviation

Name or acronym more commonly used

Stringrequired
Flagflag

no description

Example
filename.extension
Filesuggested
Emblememblem

Emblem or insigna

Example
filename.extension
Filerequired
Mapmap

Map of the locations used

Fileoptional
Map captionmap_caption

no description

Stringoptional
Date of Establishmentest_date

no description

Example
11th September, 2001
Daterequired
Date of Dissolutiondis_date

no description

Example
11th September, 2001
Datesuggested
Typetype general_nature

Type/Nature of the Organisation

Example
Alliance, Federal Agency, Unit, Navy, etc
Stringsuggested
Branchbranch

Branch or Arm this organization is part of, if applicable

Example
Zokesian Navy, Department of Paperclips
Stringoptional
Part ofpart_of

Organization or state body this org. is a part of, if applicable

Example
Commonwealth of Feguanesia, Globohomo Worldwide Inc.
Page nameoptional
Locationlocation

Location of the headquarters or main area of activity

Stringsuggested
Mottomotto

no description

Stringsuggested
Leader Titleleader_title

Title used for the leader

Example
President, Commander, CEO
Stringsuggested
Leader Nameleader

Identity of the Leader

Stringsuggested
Member Statesmembers

List of member nations, if applicable

Example
[[country]]</br>[[country]]
Stringsuggested
Engagementsengagements

Wars and battles this organization was involved in

Example
Operation xxxx, Battle of Somewhere, War of the Great Heavens
Stringoptional