Difference between revisions of "Template:Infobox war faction/doc"
imported>MrMaenlest m (Update some changes) |
imported>PrimeBOT |
||
| (8 intermediate revisions by 6 users not shown) | |||
| Line 27: | Line 27: | ||
| headquarters = | | headquarters = | ||
| area = | | area = | ||
| − | | | + | | size = |
| partof = | | partof = | ||
| − | | | + | | predecessor = |
| − | | | + | | successor = |
| allies = | | allies = | ||
| split = | | split = | ||
| Line 48: | Line 48: | ||
| caption = | | caption = | ||
| active = | | active = | ||
| − | | | + | | status = |
| ideology = | | ideology = | ||
| position = | | position = | ||
| Line 72: | Line 72: | ||
| headquarters = | | headquarters = | ||
| area = | | area = | ||
| − | | | + | | size = |
| colours = | | colours = | ||
| partof = | | partof = | ||
| Line 78: | Line 78: | ||
| split_from = | | split_from = | ||
| merger_of = | | merger_of = | ||
| − | | | + | | predecessor = |
| − | | | + | | predecessor = |
| − | | | + | | predecessor = |
| − | | | + | | predecessor = |
| − | | | + | | predecessor = |
| − | | | + | | successor = |
| − | | | + | | successor = |
| − | | | + | | successor = |
| + | | merged_into = | ||
| merged_into = | | merged_into = | ||
| − | |||
| split_to = | | split_to = | ||
| successor = | | successor = | ||
| Line 113: | Line 113: | ||
* '''name''' – the formal name of the faction. | * '''name''' – the formal name of the faction. | ||
* '''native_name''' – the faction's name in their own language | * '''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 {{lang}} for |native_name= instead | + | * '''native_name_lang''' – ISO 639-1 code e.g. "fr" for French. If more than one, use {{tl|lang}} 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. | * '''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 <nowiki>[[Image:Example.jpg|300px]]</nowiki>; in particular, the ''thumb'' attribute must '''not''' be selected. | * '''image''' – ''optional'' – an image representative of the faction. The image must be given in the form <nowiki>[[Image:Example.jpg|300px]]</nowiki>; in particular, the ''thumb'' attribute must '''not''' be selected. | ||
| Line 137: | Line 137: | ||
* '''area''' – ''optional'' – the area in which the faction operated; a map may be included here, if one is available. | * '''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. | * '''strength''' – ''optional'' – the number of personnel comprising the faction. | ||
| − | * '''colours''' – ''optional'' – main | + | * '''colours''' – ''optional'' – main colours of the faction. |
* '''partof''' – ''optional'' – the larger group of which the faction is a part, if any. | * '''partof''' – ''optional'' – the larger group of which the faction is a part, if any. | ||
* '''predecessor''' – ''optional'' | * '''predecessor''' – ''optional'' | ||
| Line 165: | Line 165: | ||
| native_name_lang = ar | | native_name_lang = ar | ||
| war = the [[Somali Civil War]] | | war = the [[Somali Civil War]] | ||
| − | | image = | + | | image = |
| caption = The flag of the Islamic Courts Union. | | caption = The flag of the Islamic Courts Union. | ||
| leaders = [[Sharif Sheikh Ahmed]],<br/> [[Hassan Dahir Aweys]] | | leaders = [[Sharif Sheikh Ahmed]],<br/> [[Hassan Dahir Aweys]] | ||
| clans = [[Habar Gidir]], [[Abgaal]], [[Rahanweyn]], [[Ogaden]], [[Marehan]] and some support from many other clans | | clans = [[Habar Gidir]], [[Abgaal]], [[Rahanweyn]], [[Ogaden]], [[Marehan]] and some support from many other clans | ||
| − | | active = June 6, | + | | active = June 6, 2006–2007 |
| − | | | + | | status = Inactive |
| motives = Impose [[sharia]] in Somalia. | | motives = Impose [[sharia]] in Somalia. | ||
| headquarters = [[Mogadishu]] | | headquarters = [[Mogadishu]] | ||
| area = Central and southern [[Somalia]] | | area = Central and southern [[Somalia]] | ||
| − | | | + | | predecessor = Unaligned Islamic [[sharia]] courts movements |
| − | | | + | | successor = |
| allies = {{unbulleted list | | allies = {{unbulleted list | ||
| [[Mujahideen]] organizations, including [[Al Qaeda]] | | [[Mujahideen]] organizations, including [[Al Qaeda]] | ||
| Line 203: | Line 203: | ||
| clans = [[Habar Gidir]], [[Abgaal]], [[Rahanweyn]], [[Ogaden]], [[Marehan]] and some support from many other clans | | clans = [[Habar Gidir]], [[Abgaal]], [[Rahanweyn]], [[Ogaden]], [[Marehan]] and some support from many other clans | ||
| active = June 6, 2006–present | | active = June 6, 2006–present | ||
| − | | | + | | status = Active |
| motives = Impose [[sharia]] in Somalia. | | motives = Impose [[sharia]] in Somalia. | ||
| headquarters = [[Mogadishu]] | | headquarters = [[Mogadishu]] | ||
| area = Central and southern [[Somalia]] | | area = Central and southern [[Somalia]] | ||
| − | | | + | | predecessor = Unaligned Islamic [[sharia]] courts movements |
| − | | | + | | successor = |
| allies = {{unbulleted list | | allies = {{unbulleted list | ||
| [[Mujahideen]] organizations, including [[Al Qaeda]] | | [[Mujahideen]] organizations, including [[Al Qaeda]] | ||
| Line 231: | Line 231: | ||
== TemplateData == | == TemplateData == | ||
| − | {{collapse top|TemplateData}} | + | {{collapse top|[[Wikipedia:TemplateData|TemplateData]] documentation used by [[Wikipedia:VisualEditor|VisualEditor]] and other tools}} |
| − | {{TemplateData header}} | + | {{TemplateData header|noheader=1}} |
<templatedata> | <templatedata> | ||
{ | { | ||
| Line 288: | Line 288: | ||
"leaders": { | "leaders": { | ||
"label": "Leaders", | "label": "Leaders", | ||
| − | "aliases": ["leader"], | + | "aliases": [ |
| + | "leader" | ||
| + | ], | ||
"description": "The leaders of the faction.", | "description": "The leaders of the faction.", | ||
"type": "content", | "type": "content", | ||
| Line 306: | Line 308: | ||
}, | }, | ||
"strength": { | "strength": { | ||
| − | "label": " | + | "label": "Size", |
"description": "The number of personnel comprising the faction", | "description": "The number of personnel comprising the faction", | ||
"type": "line" | "type": "line" | ||
| Line 317: | Line 319: | ||
"previous": { | "previous": { | ||
"label": "Originated as", | "label": "Originated as", | ||
| − | "aliases": ["originated_as", "original_name"], | + | "aliases": [ |
| + | "originated_as", | ||
| + | "original_name" | ||
| + | ], | ||
"description": "The previous identity of the faction, or the factions from which it emerged.", | "description": "The previous identity of the faction, or the factions from which it emerged.", | ||
"type": "content" | "type": "content" | ||
| Line 323: | Line 328: | ||
"next": { | "next": { | ||
"label": "Became", | "label": "Became", | ||
| − | "aliases": ["became", "later_name"], | + | "aliases": [ |
| + | "became", | ||
| + | "later_name" | ||
| + | ], | ||
"description": "If the faction transformed into another one, the name of that faction.", | "description": "If the faction transformed into another one, the name of that faction.", | ||
"type": "content" | "type": "content" | ||
| Line 352: | Line 360: | ||
"website": { | "website": { | ||
"label": "Website", | "label": "Website", | ||
| − | "aliases": ["url"], | + | "aliases": [ |
| + | "url" | ||
| + | ], | ||
"description": "Official website, if one exists, of the unit.", | "description": "Official website, if one exists, of the unit.", | ||
"type": "line" | "type": "line" | ||
| Line 363: | Line 373: | ||
"identification_symbol_3": {}, | "identification_symbol_3": {}, | ||
"identification_symbol_4_label": {}, | "identification_symbol_4_label": {}, | ||
| − | "identification_symbol_4": {} | + | "identification_symbol_4": {}, |
| + | "image_size": {}, | ||
| + | "image_alt": {}, | ||
| + | "active2": { | ||
| + | "label": "Status", | ||
| + | "description": "The current status of the faction.", | ||
| + | "suggested": true | ||
| + | }, | ||
| + | "position": { | ||
| + | "label": "Political position", | ||
| + | "description": "The political spectrum of the faction." | ||
| + | }, | ||
| + | "motives": { | ||
| + | "description": "The political spectrum of the faction." | ||
| + | }, | ||
| + | "allegiance": {}, | ||
| + | "founders": {}, | ||
| + | "founder": {}, | ||
| + | "founding_leader": {}, | ||
| + | "leader_title": {}, | ||
| + | "military_leader": {}, | ||
| + | "political_leader": {}, | ||
| + | "leader1_title": {}, | ||
| + | "leader1_name": {}, | ||
| + | "leader2_title": {}, | ||
| + | "leader2_name": {}, | ||
| + | "leader3_title": {}, | ||
| + | "leader3_name": {}, | ||
| + | "spokesperson": {}, | ||
| + | "spokesman": {}, | ||
| + | "colours": { | ||
| + | "label": "Colours", | ||
| + | "description": "main colours of the faction." | ||
| + | }, | ||
| + | "predecessor": {}, | ||
| + | "split_from": {}, | ||
| + | "merger_of": {}, | ||
| + | "formerly": {}, | ||
| + | "former_name": {}, | ||
| + | "merged_into": {}, | ||
| + | "merged_to": {}, | ||
| + | "successor": {}, | ||
| + | "designated_as_terror_group_by": {}, | ||
| + | "split": {} | ||
}, | }, | ||
"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.", | "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.", | ||
| Line 396: | Line 449: | ||
"identification_symbol_3", | "identification_symbol_3", | ||
"identification_symbol_4_label", | "identification_symbol_4_label", | ||
| − | "identification_symbol_4" | + | "identification_symbol_4", |
| + | "image_size", | ||
| + | "image_alt", | ||
| + | "active2", | ||
| + | "position", | ||
| + | "motives", | ||
| + | "allegiance", | ||
| + | "founders", | ||
| + | "founder", | ||
| + | "founding_leader", | ||
| + | "leader_title", | ||
| + | "military_leader", | ||
| + | "political_leader", | ||
| + | "leader1_title", | ||
| + | "leader1_name", | ||
| + | "leader2_title", | ||
| + | "leader2_name", | ||
| + | "leader3_title", | ||
| + | "leader3_name", | ||
| + | "spokesperson", | ||
| + | "spokesman", | ||
| + | "colours", | ||
| + | "predecessor", | ||
| + | "split_from", | ||
| + | "merger_of", | ||
| + | "formerly", | ||
| + | "former_name", | ||
| + | "merged_into", | ||
| + | "merged_to", | ||
| + | "successor", | ||
| + | "designated_as_terror_group_by", | ||
| + | "split" | ||
] | ] | ||
} | } | ||
| Line 402: | Line 486: | ||
{{collapse bottom}} | {{collapse bottom}} | ||
| − | <noinclude>[[Category:WikiProject Military history template instructions|War faction infobox]]</noinclude><includeonly> | + | <noinclude>[[Category:WikiProject Military history template instructions|War faction infobox]]</noinclude><includeonly>{{Sandbox other|| |
| − | {{ | + | |
<!-- Categories below this line, please; interwikis at Wikidata --> | <!-- Categories below this line, please; interwikis at Wikidata --> | ||
[[Category:Military infobox templates|War Faction]] | [[Category:Military infobox templates|War Faction]] | ||
[[Category:Templates that add a tracking category]] | [[Category:Templates that add a tracking category]] | ||
| − | }} | + | |
| − | </includeonly> | + | }}</includeonly> |
Latest revision as of 22:35, 19 November 2020
| 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. |
| 30px | This template uses Lua: |
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:
Usage
Template:Parameter names example
| Basic usage | Full usage |
|---|---|
{{Infobox war faction
| name =
| native_name =
| native_name_lang =
| war =
| image =
| caption =
| active =
| ideology =
| position =
| leaders =
| clans =
| headquarters =
| area =
| size =
| partof =
| predecessor =
| successor =
| allies =
| split =
| opponents =
| battles =
| website =
}}
|
{{Infobox war faction
| name =
| native_name =
| native_name_lang =
| war =
| image =
| image_size =
| image_alt =
| caption =
| active =
| status =
| ideology =
| position =
| motives =
| allegiance =
| clans =
| founders =
| founder =
| founding_leader =
| leader_title =
| leaders =
| leader =
| military_leader =
| political_leader =
| leader1_title =
| leader1_name =
| leader2_title =
| leader2_name =
| leader3_title =
| leader3_name =
| spokesperson =
| spokesman =
| headquarters =
| area =
| size =
| colours =
| partof =
| predecessor =
| split_from =
| merger_of =
| predecessor =
| predecessor =
| predecessor =
| predecessor =
| predecessor =
| successor =
| successor =
| successor =
| merged_into =
| merged_into =
| split_to =
| successor =
| allies =
| opponents =
| battles =
| organizations =
| website =
| designated_as_terror_group_by =
| identification_symbol_label =
| identification_symbol =
| identification_symbol_2_label =
| identification_symbol_2 =
| identification_symbol_3_label =
| identification_symbol_3 =
| identification_symbol_4_label =
| identification_symbol_4 =
}}
|
Parameters
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 {{lang}} 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.
- image_size – optional
- image_alt – optional
- caption – optional – the text to be placed below the image.
- active – the period during which the faction was active.
- active2 – optional – the current status of the faction.
- ideology – optional – the ideology of the faction, if relevant.
- position – optional – the political spectrum of the faction.
- motives – optional – goals or motives of the faction.
- allegiance – optional
- clans – optional – the clans or tribes the faction includes, if relevant.
- founders or founder – optional
- founding_leader – optional
- leaders or leader – the leaders of the faction.
- military_leader – optional
- political_leader – optional
- leader1_title and leader1_name – optional
- leader2_title and leader2_name – optional
- spokesperson or spokesman – optional
- 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.
- colours – optional – main colours of the faction.
- partof – optional – the larger group of which the faction is a part, if any.
- predecessor – optional
- split_from – optional
- merger_of – optional
- previous, originated_as, or original_name – optional – the previous identity of the faction, or the factions from which it emerged.
- formerly or former_name – optional
- next, became, or later_name – optional – if the faction transformed into another one, the name of that faction.
- merged_into or merged_to – optional
- split_to – optional – parties that the faction has split into.
- successor – optional
- allies – optional – the faction's allies 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.
- organizations – optional
- website or url – optional – official website, if one exists, of the unit.
- designated_as_terror_group_by – optional
- identification_symbol_label and identification_symbol – optional
- identification_symbol_2_label and identification_symbol_2 – optional
- identification_symbol_3_label and identification_symbol_3 – optional
- identification_symbol_4_label and identification_symbol_4 – optional
Example
| Islamic Courts Union | |
|---|---|
| اتحاد المحاكم الإسلامية Midowga Maxkamadaha Islaamiga | |
| Leaders | Sharif Sheikh Ahmed, Hassan Dahir Aweys |
| Dates of operation | June 6, 2006–2007 |
| Group(s) | Habar Gidir, Abgaal, Rahanweyn, Ogaden, Marehan and some support from many other clans |
| Motives | Impose sharia in Somalia. |
| Headquarters | Mogadishu |
| Active regions | Central and southern Somalia |
| Status | Inactive |
| Allies |
|
| Opponents | |
| Battles and wars | the Somali Civil War |
| Template:Succession links | |
{{Infobox war faction
| name = Islamic Courts Union
| native_name = اتحاد المحاكم الإسلامية<br/>''Midowga Maxkamadaha Islaamiga''
| native_name_lang = ar
| war = the [[Somali Civil War]]
| image = [[Image:Flag_of_the_Islamic_Courts_Union.svg|300px]]
| caption = The flag of the Islamic Courts Union.
| leaders = [[Sharif Sheikh Ahmed]],<br/> [[Hassan Dahir Aweys]]
| clans = [[Habar Gidir]], [[Abgaal]], [[Rahanweyn]], [[Ogaden]], [[Marehan]] and some support from many other clans
| active = June 6, 2006–present
| status = Active
| motives = Impose [[sharia]] in Somalia.
| headquarters = [[Mogadishu]]
| area = Central and southern [[Somalia]]
| predecessor = Unaligned Islamic [[sharia]] courts movements
| successor =
| allies = {{unbulleted list
| [[Mujahideen]] organizations, including [[Al Qaeda]]
| Various Muslim and anti-Ethiopian nations including [[Eritrea]] (alleged)
}}
| opponents = {{unbulleted list
| Clan-based warlords
| [[Alliance for the Restoration of Peace and Counter-Terrorism]]
| [[Juba Valley Alliance]]
| [[Transitional Federal Government]]
| [[Puntland]]
| [[Galmudug]]
| [[Ethiopia]]
| [[United States]]
}}
}}
Tracking category
TemplateData
TemplateData documentation used by VisualEditor and other tools
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
See the monthly parameter usage report for this template.
TemplateData for Infobox war faction 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.
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||