Template:Organisation: Difference between revisions

From Kerbal Powers Wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
 
(23 intermediate revisions by 2 users not shown)
Line 2: Line 2:
   
 
<includeonly>{{Infobox/begin}}
 
<includeonly>{{Infobox/begin}}
  +
{{Infobox/Header|title={{PAGENAME}}|subtitle={{{full_title}}}}}
 
{{Infobox/Column|leftValue=[[Image:{{{flag}}}|140px|center]]|rightValue=[[Image:{{{emblem}}}|140px|center]]}}
+
{{Infobox/Header|title={{#if:{{{abbreviation|}}}|{{{abbreviation|}}}|{{PAGENAME}}}}|subtitle={{#if:{{{full_title|}}}|{{{full_title|}}}|}}}}
  +
{{Infobox/Dual Illustration|left_file={{#if:{{{flag|}}}|[[File:{{{flag}}}]]|}}|left_caption={{#if:{{{flag|}}}|Flag|}}|right_file={{#if:{{{emblem|}}}|[[File:{{{emblem}}}]]|}}|right_caption={{#if:{{{emblem|}}}|Emblem|}}}}
{{Infobox/Column|leftValue=<div style='text-align: center;'>Flag</div>|rightValue=<div style='text-align: center;'>Emblem</div>}}
 
{{Infobox/Illustration|file=[[File:{{{map}}}|300px]]|caption={{{map_caption}}}}}
+
{{Infobox/Illustration|file={{#if:{{{map|}}}|[[File:{{{map}}}]]|}}|caption={{{map_caption|}}}}}
{{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=Type|value={{{type}}}}}
+
{{Infobox/Item|key=General Nature|value={{{type}}}}}
{{Infobox/Item|key=Headquarters|value={{{location}}}}}
+
{{Infobox/Item|key=Motto|value={{{motto}}}}}
  +
{{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/end}}</includeonly>
 
{{Infobox/end}}</includeonly>
   
 
<noinclude>
 
<noinclude>
 
{{Organisation
 
{{Organisation
  +
|abbreviation = [FON]
 
|full_title = [Full Org Name]
 
|full_title = [Full Org Name]
 
|flag = KP dark.png|emblem = KP dark.png
 
|flag = KP dark.png|emblem = KP dark.png
Line 22: Line 24:
 
|dis_date = [date]
 
|dis_date = [date]
 
|type = [military/trade/etc]
 
|type = [military/trade/etc]
  +
|motto = [motto]
 
|location = [headquarters location]
 
|location = [headquarters location]
 
|members = [members list]
 
|members = [members list]
Line 31: Line 34:
   
   
</templatedata>
 
 
<templatedata>
 
<templatedata>
 
{
 
{
 
"params": {
 
"params": {
"full_title": {},
+
"full_title": {
"flag": {},
+
"label": "Name",
  +
"description": "The full organisational name",
"emblem": {},
 
  +
"type": "string",
  +
"required": true
  +
},
  +
"flag": {
  +
"label": "Organisation Flag",
  +
"example": "filename.extension",
  +
"type": "wiki-file-name",
  +
"required": true
  +
},
 
"emblem": {
  +
"label": "Organisation Emblem",
  +
"example": "filename.extension",
  +
"type": "wiki-file-name",
  +
"required": true
  +
},
 
"map": {},
 
"map": {},
 
"map_caption": {},
 
"map_caption": {},
"est_date": {},
+
"est_date": {
  +
"label": "Date of Establishment",
"dis_date": {},
 
  +
"example": "11th September, 2001",
  +
"type": "date",
  +
"autovalue": " ",
  +
"required": true
  +
},
 
"dis_date": {
  +
"label": "Date of Dissolution",
  +
"type": "date",
  +
"default": " ",
  +
"autovalue": " ",
  +
"suggested": true,
  +
"example": "11th September, 2001"
  +
},
 
"type": {},
 
"type": {},
  +
"motto": {
  +
"suggested": true,
  +
"type": "string",
  +
"autovalue": " "
  +
},
 
"location": {},
 
"location": {},
"members": {},
+
"members": {
  +
"label": "Member States",
  +
"description": "List of member nations",
  +
"example": "[[country]]</br>[[country]]",
  +
"type": "wiki-page-name",
  +
"suggested": true
  +
},
 
"leader_title": {},
 
"leader_title": {},
"leader": {}
+
"leader": {},
  +
"abbreviation": {
  +
"label": "Abbreviated Name",
  +
"description": "Name or acronym more commonly used",
  +
"type": "string",
  +
"autovalue": "",
  +
"required": true
  +
}
 
}
 
}
 
}
 
}

Latest revision as of 20:41, 16 January 2024



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


No description.

Template parameters

ParameterDescriptionTypeStatus
Namefull_title

The full organisational name

Stringrequired
Organisation Flagflag

no description

Example
filename.extension
Filerequired
Organisation Emblememblem

no description

Example
filename.extension
Filerequired
mapmap

no description

Unknownoptional
map_captionmap_caption

no description

Unknownoptional
Date of Establishmentest_date

no description

Example
11th September, 2001
Auto value
Daterequired
Date of Dissolutiondis_date

no description

Default
Example
11th September, 2001
Auto value
Datesuggested
typetype

no description

Unknownoptional
mottomotto

no description

Auto value
Stringsuggested
locationlocation

no description

Unknownoptional
Member Statesmembers

List of member nations

Example
[[country]]</br>[[country]]
Page namesuggested
leader_titleleader_title

no description

Unknownoptional
leaderleader

no description

Unknownoptional
Abbreviated Nameabbreviation

Name or acronym more commonly used

Auto value
Stringrequired