Difference between revisions of "Template:Infobox war faction/doc"
imported>Timothy Gu (Use 300px for the example infobox) |
imported>Timothy Gu (Add templatedata) |
||
| Line 68: | Line 68: | ||
* '''opponents''' – ''optional'' – the faction's opponents in the war. | * '''opponents''' – ''optional'' – the faction's opponents in the war. | ||
* '''battles''' – ''optional'' – any notable battles or wars in which the unit participated. The decision of what constitutes a notable battle is left to the editors of the specific article. | * '''battles''' – ''optional'' – any notable battles or wars in which the unit participated. The decision of what constitutes a notable battle is left to the editors of the specific article. | ||
| − | * '''url''' – ''optional'' – official website, if one exists, of the unit. | + | * '''url''' – ''optional'' – official website, if one exists, of the unit. |
| + | |||
| + | == TemplateData == | ||
| + | |||
| + | <templatedata> | ||
| + | { | ||
| + | "params": { | ||
| + | "name": { | ||
| + | "label": "Name", | ||
| + | "description": "The formal name of the faction in English.", | ||
| + | "type": "line", | ||
| + | "required": true | ||
| + | }, | ||
| + | "native_name": { | ||
| + | "label": "Native name", | ||
| + | "description": "The faction's name in their own language.", | ||
| + | "type": "line" | ||
| + | }, | ||
| + | "native_name_lang": { | ||
| + | "label": "Native name language", | ||
| + | "description": "The ISO 639-1 code of the language used for its native name.", | ||
| + | "type": "line" | ||
| + | }, | ||
| + | "war": { | ||
| + | "label": "War(s)", | ||
| + | "description": "The war or wars in which the faction participated; you might need to insert \"the\" at the beginning of this phrase.", | ||
| + | "type": "string", | ||
| + | "suggested": true | ||
| + | }, | ||
| + | "image": { | ||
| + | "label": "Image", | ||
| + | "description": "An image representative of the faction. It must be given in the from [[File:Example.jpg|300px]]", | ||
| + | "type": "content", | ||
| + | "suggested": true | ||
| + | }, | ||
| + | "caption": { | ||
| + | "label": "Caption of the image", | ||
| + | "description": "The text to be placed below the image", | ||
| + | "type": "line", | ||
| + | "suggested": true | ||
| + | }, | ||
| + | "active": { | ||
| + | "label": "Active period", | ||
| + | "description": "The period during which the faction was active.", | ||
| + | "type": "line", | ||
| + | "required": true | ||
| + | }, | ||
| + | "ideology": { | ||
| + | "label": "Ideology", | ||
| + | "description": "The ideology of the faction, if relevant.", | ||
| + | "type": "content" | ||
| + | }, | ||
| + | "clans": { | ||
| + | "label": "Groups", | ||
| + | "description": "The clans or tribes the faction includes.", | ||
| + | "type": "content" | ||
| + | }, | ||
| + | "leaders": { | ||
| + | "label": "Leaders", | ||
| + | "description": "The leaders of the faction.", | ||
| + | "type": "content", | ||
| + | "required": true | ||
| + | }, | ||
| + | "headquarters": { | ||
| + | "label": "Headquarters", | ||
| + | "description": "The headquarters of the faction.", | ||
| + | "type": "line", | ||
| + | "suggested": true | ||
| + | }, | ||
| + | "area": { | ||
| + | "label": "Area", | ||
| + | "description": "The area in which the faction operated; a map may be included here.", | ||
| + | "type": "content", | ||
| + | "suggested": true | ||
| + | }, | ||
| + | "strength": { | ||
| + | "label": "Strength", | ||
| + | "description": "The number of personnel comprising the faction", | ||
| + | "type": "line" | ||
| + | }, | ||
| + | "partof": { | ||
| + | "label": "Part of", | ||
| + | "description": "The larger group of which the faction is a part.", | ||
| + | "type": "line" | ||
| + | }, | ||
| + | "previous": { | ||
| + | "label": "Originated as", | ||
| + | "description": "The previous identity of the faction, or the factions from which it emerged.", | ||
| + | "type": "content" | ||
| + | }, | ||
| + | "next": { | ||
| + | "label": "Became", | ||
| + | "description": "If the faction transformed into another one, the name of that faction.", | ||
| + | "type": "content" | ||
| + | }, | ||
| + | "allies": { | ||
| + | "label": "Allies", | ||
| + | "description": "The faction's allies in the war.", | ||
| + | "type": "content" | ||
| + | }, | ||
| + | "split": { | ||
| + | "label": "Split", | ||
| + | "description": "Parties that the faction has an split into.", | ||
| + | "type": "content" | ||
| + | }, | ||
| + | "opponents": { | ||
| + | "label": "Opponents", | ||
| + | "description": "The faction's opponents in the war.", | ||
| + | "type": "content" | ||
| + | }, | ||
| + | "battles": { | ||
| + | "label": "Battles and wars", | ||
| + | "description": "Any notable battles or wars in which the unit participated. The decision of what constitutes a notable battle is left to the editors of the specific article.", | ||
| + | "type": "content" | ||
| + | }, | ||
| + | "organizations": { | ||
| + | "label": "Organizations" | ||
| + | }, | ||
| + | "url": { | ||
| + | "label": "Website", | ||
| + | "description": "Official website, if one exists, of the unit.", | ||
| + | "type": "line" | ||
| + | }, | ||
| + | "identification_symbol": {}, | ||
| + | "identification_symbol_2": {}, | ||
| + | "identification_symbol_label": {}, | ||
| + | "identification_symbol_2_label": {}, | ||
| + | "identification_symbol_3_label": {}, | ||
| + | "identification_symbol_3": {}, | ||
| + | "identification_symbol_4_label": {}, | ||
| + | "identification_symbol_4": {} | ||
| + | }, | ||
| + | "description": "A war faction infobox may be used to summarize information about a particular faction participating in a war; it should not be used for regular military units and formations.", | ||
| + | "paramOrder": [ | ||
| + | "name", | ||
| + | "native_name", | ||
| + | "native_name_lang", | ||
| + | "war", | ||
| + | "image", | ||
| + | "caption", | ||
| + | "active", | ||
| + | "ideology", | ||
| + | "clans", | ||
| + | "leaders", | ||
| + | "headquarters", | ||
| + | "area", | ||
| + | "strength", | ||
| + | "partof", | ||
| + | "previous", | ||
| + | "next", | ||
| + | "allies", | ||
| + | "split", | ||
| + | "opponents", | ||
| + | "battles", | ||
| + | "organizations", | ||
| + | "url", | ||
| + | "identification_symbol", | ||
| + | "identification_symbol_2", | ||
| + | "identification_symbol_label", | ||
| + | "identification_symbol_2_label", | ||
| + | "identification_symbol_3_label", | ||
| + | "identification_symbol_3", | ||
| + | "identification_symbol_4_label", | ||
| + | "identification_symbol_4" | ||
| + | ] | ||
| + | } | ||
| + | </templatedata> | ||
| + | |||
<noinclude>[[Category:WikiProject Military history template instructions|War faction infobox]]</noinclude><includeonly> | <noinclude>[[Category:WikiProject Military history template instructions|War faction infobox]]</noinclude><includeonly> | ||
[[Category:Military infobox templates|War Faction]] | [[Category:Military infobox templates|War Faction]] | ||
</includeonly> | </includeonly> | ||
Revision as of 20:18, 1 March 2015
| This is a documentation subpage for Template:Infobox war faction. It contains usage information, categories and other content that is not part of the original template page. |
Usage
War faction infobox
| Midowga Maxkamadaha Islaamiga اتحاد المحاكم الإسلامية Islamic Courts Union | |
|---|---|
| File:Flag of Somalia.svg The flag of the Islamic Courts Union. | |
| Leaders | Sharif Sheikh Ahmed, Hassan Dahir Aweys |
| Dates of operation | June 6, 2006–present |
| Group(s) | Habar Gidir, Abgaal, Rahanweyn, Ogaden, Marehan and some support from many other clans |
| Headquarters | Mogadishu |
| Active regions | Central and southern Somalia |
| Allies | Mujahideen organizations, including Al Qaeda, Various Muslim and anti-Ethiopian nations including Eritrea (alleged) |
| Opponents | Clan-based warlords, Alliance for the Restoration of Peace and Counter-Terrorism, Juba Valley Alliance, Transitional Federal Government, Puntland, Galmudug, Ethiopia, United States |
| Battles and wars | the Somali Civil War |
| Template:Succession links | |
A war faction infobox may be used to summarize information about a particular faction participating in a war; it should not be used for regular military units and formations (which should use {{infobox military unit}} instead). The infobox should be added using the {{infobox war faction}} template, as shown below:
{{ infobox war faction
| name =
| native_name =
| native_name_lang =
| war =
| image =
| caption =
| active =
| ideology =
| leaders =
| clans =
| headquarters =
| area =
| strength =
| partof =
| previous =
| next =
| allies =
| split =
| opponents =
| battles =
| url =
}}
Note: When using parameters, avoid the ambiguous abbreviation "N/A", and instead use "unknown" or "none". All subjective or qualitative judgements and numerical quantities or statistics must be cited to a reliable source (see WP:MILMOS#CITE).
- name – the formal name of the faction.
- native_name – the faction's name in their own language
- native_name_lang – ISO 639-1 code e.g. "fr" for French. If more than one, use [undefined] error: {{lang}}: no text (help) for |native_name= instead
- war – the war or wars in which the faction participated; for proper grammar, it may be necessary to insert "the" before the name.
- image – optional – an image representative of the faction. The image must be given in the form [[Image:Example.jpg|300px]]; in particular, the thumb attribute must not be selected.
- caption – optional – the text to be placed below the image.
- ideology – optional – the ideology of the faction, if relevant.
- active – the period during which the faction was active.
- leaders – the leaders of the faction.
- clans – optional – the clans or tribes the faction includes, if relevant.
- headquarters – optional – the headquarters of the faction.
- area – optional – the area in which the faction operated; a map may be included here, if one is available.
- strength – optional – the number of personnel comprising the faction.
- partof – optional – the larger group of which the faction is a part, if any.
- previous – optional – the previous identity of the faction, or the factions from which it emerged.
- next – optional – if the faction transformed into another one, the name of that faction.
- allies – optional – the faction's allies in the war.
- split – optional – parties that the faction has an split into.
- opponents – optional – the faction's opponents in the war.
- battles – optional – any notable battles or wars in which the unit participated. The decision of what constitutes a notable battle is left to the editors of the specific article.
- url – optional – official website, if one exists, of the unit.
TemplateData
A war faction infobox may be used to summarize information about a particular faction participating in a war; it should not be used for regular military units and formations.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Name | name | The formal name of the faction in English. | Line | required |
| Native name | native_name | The faction's name in their own language. | Line | optional |
| Native name language | native_name_lang | The ISO 639-1 code of the language used for its native name. | Line | optional |
| War(s) | war | The war or wars in which the faction participated; you might need to insert "the" at the beginning of this phrase. | String | suggested |
| Image | image | An image representative of the faction. It must be given in the from [[File:Example.jpg|300px]] | Content | suggested |
| Caption of the image | caption | The text to be placed below the image | Line | suggested |
| Active period | active | The period during which the faction was active. | Line | required |
| Ideology | ideology | The ideology of the faction, if relevant. | Content | optional |
| Groups | clans | The clans or tribes the faction includes. | Content | optional |
| Leaders | leaders | The leaders of the faction. | Content | required |
| Headquarters | headquarters | The headquarters of the faction. | Line | suggested |
| Area | area | The area in which the faction operated; a map may be included here. | Content | suggested |
| Strength | strength | The number of personnel comprising the faction | Line | optional |
| Part of | partof | The larger group of which the faction is a part. | Line | optional |
| Originated as | previous | The previous identity of the faction, or the factions from which it emerged. | Content | optional |
| Became | next | If the faction transformed into another one, the name of that faction. | Content | optional |
| Allies | allies | The faction's allies in the war. | Content | optional |
| Split | split | Parties that the faction has an split into. | Content | optional |
| Opponents | opponents | The faction's opponents in the war. | Content | optional |
| Battles and wars | battles | Any notable battles or wars in which the unit participated. The decision of what constitutes a notable battle is left to the editors of the specific article. | Content | optional |
| Organizations | organizations | no description | Unknown | optional |
| Website | url | Official website, if one exists, of the unit. | Line | optional |
| Identification_symbol | identification_symbol | no description | Unknown | optional |
| Identification_symbol_2 | identification_symbol_2 | no description | Unknown | optional |
| Identification_symbol_label | identification_symbol_label | no description | Unknown | optional |
| Identification_symbol_2_label | identification_symbol_2_label | no description | Unknown | optional |
| Identification_symbol_3_label | identification_symbol_3_label | no description | Unknown | optional |
| Identification_symbol_3 | identification_symbol_3 | no description | Unknown | optional |
| Identification_symbol_4_label | identification_symbol_4_label | no description | Unknown | optional |
| Identification_symbol_4 | identification_symbol_4 | no description | Unknown | optional |