Template:Organisation: Difference between revisions
mNo edit summary |
No edit summary |
||
| (30 intermediate revisions by 3 users not shown) | |||
| Line 2: | Line 2: | ||
<includeonly>{{Infobox/begin}} |
<includeonly>{{Infobox/begin}} |
||
| − | {{Infobox/Header|title={{PAGENAME}}|subtitle={{{full_title}}}}} |
+ | {{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=[[Image:{{{emblem}}}|140px|center]]|rightValue=[[Image:{{{flag}}}|140px|center]]}} |
||
| − | {{Infobox/Illustration|file=[[File:{{{map}}} |
+ | {{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=Type|value={{{type|}}}}} |
| − | {{Infobox/Item|key= |
+ | {{Infobox/Item|key=Branch|value={{{branch|}}}}} |
| − | {{Infobox/Item|key= |
+ | {{Infobox/Item|key=Part Of|value={{{part_of|}}}}} |
| − | {{Infobox/Item|key= |
+ | {{Infobox/Item|key=Motto|value={{{motto|}}}}} |
| + | {{Infobox/Item|key=Headquarters|value={{{location|}}}}} |
||
| + | {{Infobox/Item|key=Membership|value={{{members|}}}}} |
||
| + | {{Infobox/Item|key={{{leader_title|}}}|value={{{leader|}}}}} |
||
| + | {{Infobox/Item|key=Engagements|value={{{engagements|}}}}} |
||
{{Infobox/end}}</includeonly> |
{{Infobox/end}}</includeonly> |
||
<noinclude> |
<noinclude> |
||
| + | Generic template for Organizations (Arms, state services, alliances, etc). Use [[Template:Corporation]] for private corporate entities. |
||
| + | |||
| + | == Usage == |
||
{{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 21: | Line 29: | ||
|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] |
||
|leader_title = [leader title]|leader = [most recent leader] |
|leader_title = [leader title]|leader = [most recent leader] |
||
}} |
}} |
||
| + | <pre> |
||
| + | {{Organisation |
||
| + | |abbreviation = [FON] |
||
| + | |full_title = [Full Org Name] |
||
| + | |flag = KP dark.png|emblem = KP dark.png |
||
| + | |map = KP dark.png|map_caption = [member states] |
||
| + | |est_date = [date] |
||
| + | |dis_date = [date] |
||
| + | |type = [military/trade/etc] |
||
| + | |motto = [motto] |
||
| + | |location = [headquarters location] |
||
| + | |members = [members list] |
||
| + | |leader_title = [leader title]|leader = [most recent leader] |
||
| + | }} |
||
| + | </pre> |
||
| + | |||
| + | == Sub-template components == |
||
| + | * [[Template:Organisation/Navy|<code><nowiki>{{Organisation/Navy|...}}</nowiki></code>]] : Section for navies and maritime organisations such as coast guards, etc. |
||
| + | * [[Template:Organisation/Air Force|<code><nowiki>{{Organisation/Air Force|...}}</nowiki></code>]] : Section for air forces and air corps. Use [[Template:Corporation]] + [[Template:Corporation/Airline]] for airlines. |
||
[[Category:Infoboxes]] |
[[Category:Infoboxes]] |
||
[[Category:Templates]] |
[[Category:Templates]] |
||
| + | {{clr}} |
||
| + | == TemplateData == |
||
| − | </templatedata> |
||
<templatedata> |
<templatedata> |
||
{ |
{ |
||
"params": { |
"params": { |
||
| − | "full_title": { |
+ | "full_title": { |
| − | " |
+ | "label": "Name", |
| + | "description": "The full organisational name", |
||
| − | "emblem": {}, |
||
| − | " |
+ | "type": "string", |
| − | " |
+ | "required": true |
| − | + | }, |
|
| − | " |
+ | "flag": { |
| − | " |
+ | "label": "Flag", |
| + | "example": "filename.extension", |
||
| − | "location": {}, |
||
| − | " |
+ | "type": "wiki-file-name", |
| − | " |
+ | "suggested": true, |
| + | "description": "Flag or large form logo" |
||
| − | "leader": {} |
||
| − | + | }, |
|
| + | "emblem": { |
||
| + | "label": "Emblem", |
||
| + | "example": "filename.extension", |
||
| + | "type": "wiki-file-name", |
||
| + | "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", |
||
| + | "description": "Caption for the map, if provided" |
||
| + | }, |
||
| + | "est_date": { |
||
| + | "label": "Date of Establishment", |
||
| + | "example": "11th September, 2001", |
||
| + | "type": "date", |
||
| + | "required": true, |
||
| + | "description": "Date at which the organization was first established" |
||
| + | }, |
||
| + | "dis_date": { |
||
| + | "label": "Date of Dissolution", |
||
| + | "type": "date", |
||
| + | "suggested": true, |
||
| + | "example": "11th September, 2001", |
||
| + | "description": "Date at which the org. was disbanded, if any. If recreated several times, use <br> in this field" |
||
| + | }, |
||
| + | "motto": { |
||
| + | "suggested": true, |
||
| + | "type": "string", |
||
| + | "label": "Motto", |
||
| + | "description": "Motto or slogan" |
||
| + | }, |
||
| + | "location": { |
||
| + | "label": "Location", |
||
| + | "description": "Location of the headquarters or main area of activity", |
||
| + | "suggested": true, |
||
| + | "type": "string" |
||
| + | }, |
||
| + | "members": { |
||
| + | "label": "Member States", |
||
| + | "description": "List of member nations, if applicable", |
||
| + | "example": "[[country]]</br>[[country]]", |
||
| + | "type": "string", |
||
| + | "suggested": true |
||
| + | }, |
||
| + | "leader_title": { |
||
| + | "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": { |
||
| + | "label": "Abbreviated Name", |
||
| + | "description": "Name or acronym more commonly used", |
||
| + | "type": "string", |
||
| + | "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> |
||
Latest revision as of 21:26, 9 February 2025
Generic template for Organizations (Arms, state services, alliances, etc). Use Template:Corporation for private corporate entities.
Usage
{{Organisation
|abbreviation = [FON]
|full_title = [Full Org Name]
|flag = KP dark.png|emblem = KP dark.png
|map = KP dark.png|map_caption = [member states]
|est_date = [date]
|dis_date = [date]
|type = [military/trade/etc]
|motto = [motto]
|location = [headquarters location]
|members = [members list]
|leader_title = [leader title]|leader = [most recent leader]
}}
Sub-template components
{{Organisation/Navy|...}}: Section for navies and maritime organisations such as coast guards, etc.{{Organisation/Air Force|...}}: Section for air forces and air corps. Use Template:Corporation + Template:Corporation/Airline for airlines.
TemplateData
Generic template for Organizations (Arms, state services, alliances, etc)
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Name | full_title | The full organisational name | String | required |
| Abbreviated Name | abbreviation | Name or acronym more commonly used | String | required |
| Flag | flag | Flag or large form logo
| File | suggested |
| Emblem | emblem | Emblem or insigna
| File | required |
| Map | map | Map of the locations used | File | optional |
| Map caption | map_caption | Caption for the map, if provided | String | optional |
| Date of Establishment | est_date | Date at which the organization was first established
| Date | required |
| Date of Dissolution | dis_date | Date at which the org. was disbanded, if any. If recreated several times, use <br> in this field
| Date | suggested |
| Type | type general_nature | Type/Nature of the Organisation
| String | suggested |
| Branch | branch | Branch or Arm this organization is part of, if applicable
| String | optional |
| Part of | part_of | Organization or state body this org. is a part of, if applicable
| Page name | optional |
| Location | location | Location of the headquarters or main area of activity | String | suggested |
| Motto | motto | Motto or slogan | String | suggested |
| Leader Title | leader_title | Title used for the leader
| String | suggested |
| Leader Name | leader | Identity of the Leader | String | suggested |
| Member States | members | List of member nations, if applicable
| String | suggested |
| Engagements | engagements | Wars and battles this organization was involved in
| String | optional |
