Difference between revisions of "Template:Infobox war faction/doc"

From blackwiki
Jump to navigation Jump to search
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

Usage

War faction infobox

Midowga Maxkamadaha Islaamiga
اتحاد المحاكم الإسلامية
Islamic Courts Union
LeadersSharif Sheikh Ahmed,
Hassan Dahir Aweys
Dates of operationJune 6, 2006–present
Group(s)Habar Gidir, Abgaal, Rahanweyn, Ogaden, Marehan and some support from many other clans
HeadquartersMogadishu
Active regionsCentral and southern Somalia
AlliesMujahideen organizations, including Al Qaeda,
Various Muslim and anti-Ethiopian nations including Eritrea (alleged)
OpponentsClan-based warlords,
Alliance for the Restoration of Peace and Counter-Terrorism,
Juba Valley Alliance,
Transitional Federal Government,
Puntland,
Galmudug,
Ethiopia,
United States
Battles and warsthe 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.
  • imageoptional – 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.
  • captionoptional – the text to be placed below the image.
  • ideologyoptional – the ideology of the faction, if relevant.
  • active – the period during which the faction was active.
  • leaders – the leaders of the faction.
  • clansoptional – the clans or tribes the faction includes, if relevant.
  • headquartersoptional – the headquarters of the faction.
  • areaoptional – the area in which the faction operated; a map may be included here, if one is available.
  • strengthoptional – the number of personnel comprising the faction.
  • partofoptional – the larger group of which the faction is a part, if any.
  • previousoptional – the previous identity of the faction, or the factions from which it emerged.
  • nextoptional – if the faction transformed into another one, the name of that faction.
  • alliesoptional – the faction's allies in the war.
  • splitoptional – parties that the faction has an split into.
  • opponentsoptional – the faction's opponents in the war.
  • battlesoptional – 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.
  • urloptional – 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.

Template parameters

ParameterDescriptionTypeStatus
Namename

The formal name of the faction in English.

Linerequired
Native namenative_name

The faction's name in their own language.

Lineoptional
Native name languagenative_name_lang

The ISO 639-1 code of the language used for its native name.

Lineoptional
War(s)war

The war or wars in which the faction participated; you might need to insert "the" at the beginning of this phrase.

Stringsuggested
Imageimage

An image representative of the faction. It must be given in the from [[File:Example.jpg|300px]]

Contentsuggested
Caption of the imagecaption

The text to be placed below the image

Linesuggested
Active periodactive

The period during which the faction was active.

Linerequired
Ideologyideology

The ideology of the faction, if relevant.

Contentoptional
Groupsclans

The clans or tribes the faction includes.

Contentoptional
Leadersleaders

The leaders of the faction.

Contentrequired
Headquartersheadquarters

The headquarters of the faction.

Linesuggested
Areaarea

The area in which the faction operated; a map may be included here.

Contentsuggested
Strengthstrength

The number of personnel comprising the faction

Lineoptional
Part ofpartof

The larger group of which the faction is a part.

Lineoptional
Originated asprevious

The previous identity of the faction, or the factions from which it emerged.

Contentoptional
Becamenext

If the faction transformed into another one, the name of that faction.

Contentoptional
Alliesallies

The faction's allies in the war.

Contentoptional
Splitsplit

Parties that the faction has an split into.

Contentoptional
Opponentsopponents

The faction's opponents in the war.

Contentoptional
Battles and warsbattles

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.

Contentoptional
Organizationsorganizations

no description

Unknownoptional
Websiteurl

Official website, if one exists, of the unit.

Lineoptional
Identification_symbolidentification_symbol

no description

Unknownoptional
Identification_symbol_2identification_symbol_2

no description

Unknownoptional
Identification_symbol_labelidentification_symbol_label

no description

Unknownoptional
Identification_symbol_2_labelidentification_symbol_2_label

no description

Unknownoptional
Identification_symbol_3_labelidentification_symbol_3_label

no description

Unknownoptional
Identification_symbol_3identification_symbol_3

no description

Unknownoptional
Identification_symbol_4_labelidentification_symbol_4_label

no description

Unknownoptional
Identification_symbol_4identification_symbol_4

no description

Unknownoptional