Template:Iraq War
Categories: Military and War Stickers | Stickers
Description
To add this sticker to a profile, place the string similar to the text in Code used: column of Examples table anywhere in the biography part of the profile. Usually you should put it next to the text describing a Sticker, but it should always be below the == Biography == heading and above the == Sources == heading.
Info
Name: | Iraq War |
Type: | Sticker |
Group: | Military |
Subgroup: | |
Status: | Approved |
Usage: | Pages using the template |
Parameters usage stats: | Parameter usage on profiles |
Map of Profiles: | WikiTree+ Maps |
Edit: | Template Documentation |
This template is managed by the Iraq War and the Military and War Projects.
This is a sticker and should be placed below the biography header of profiles, it is not a project box, which for this project is {{Iraq War Project}}.
Format
{{Iraq War
| image = image file
| startdate = mmm dd, yyyy
| enddate= mmm dd, yyyy
| branch = <service branch> or <country>
| units= unit1; unit2, etc
| unit= first unit served in
| rank=rank}}
The image can be a country or unit flag, etc. If not entered a default image will display
|branch= displays on the sticker - "served with the <branch> during the Iraq War", it can be the country, or the branch - United States Army, United States Navy, etc
if |rank is entered, that will display on the text prior to the name, if not, the profile prefix entry, if present, will be used.
The |units= parameter is free text so the template cannot make assignments to a category using this parameter since it can
- be more specific than the level we are creating categories for, i.e. Company B, 1st Battalion, 1st Regiment
- have parent commands of Brigade, Division, Army, etc
- have abbreviations, i.e. 1st Regt.
- have multiple units, i.e 1st Infantry; 7th Cavalry
To overcome this, you can identify the first unit served in using |unit=. To correctly create the category, add |unit=<unit> to the sticker line, and the sticker will format the category name to add the profile to using <unit>, <branch>, Iraq War. If multiple units are listed, to add the profile to the 2nd, 3rd, etc., the profile will need to be added to the category explicitly with [[Category: <unit>, <branch>, Iraq War]] for each of them. Examples of <unit>, based on the most specific name that you know, are:
- 2nd Infantry Division
- United States Army
- United States Navy
- United States of America
If the category listing on the profile shows up as RED check the spelling/punctuation and the parent category (if a US Army unit, look in Category: United States Army, Iraq War to see if it is spelled the same way. If all looks correct, you can create the new category, default text for the new category should be listed in the HELP! section of the parent category.
If no |unit is listed, the profile will be added to Category: Iraq War
Examples
Code used: | Category added: | Displays as: |
---|---|---|
{{Iraq War|branch=United States Army}} | Category:United States Army, Iraq War | |
{{Iraq War |startdate=January 27, 2012 |enddate=April 2, 2014 |branch=United States Army |units=2nd Infantry Division |unit=2nd Infantry Division }} | Category:2nd Infantry Division, United States Army, Iraq War |
Parameters
Parameter | Usage | Type | Description | Example | Values |
---|---|---|---|---|---|
branch | Preferred | Text | AutoGenerated | ' | |
rank | Preferred | Text | AutoGenerated | ' | |
units | Preferred | Text | AutoGenerated | ' | |
unit | Preferred | Text | AutoGenerated | ' | |
startdate | Preferred | Text | AutoGenerated | ' | |
enddate | Preferred | Text | AutoGenerated | ' | |
image | Preferred | Image | AutoGenerated | ' |
This page was last modified 21:11, 23 November 2019. This page has been accessed 472 times.