Template:Mexican-American War

Categories: Military and War Stickers | Stickers

Description

Served in the Mexican-American War

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:Mexican-American War
Type:Sticker
Group:Military
Subgroup:
Status:Approved
Timeframe:1846 - 1848
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 Mexican American 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 {{Mexican-American War Project}}.

Format
{{Mexican-American War
| image = image file
| enlisted = mmm dd, yyyy
| discharged = mmm dd, yyyy
| branch = United States Army, United States Navy, etc, if unknown list State or Country of Service
| units= regiment1; regiment2, 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 Mexican-American War

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>, Mexican-American 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>, Mexican-American War]] for each of them. Examples of <unit>, based on the most specific name that you know, are:

  • 1st Regiment of Indiana Volunteers (12 months, 1846)
  • Indiana
  • 1st Regiment of Artillery, United States Army
  • 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 Indiana Infantry, look in Category: Indiana, Mexican-American 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: Mexican-American War


Examples

Code used:Category added:Displays as:
{{Mexican-American War|branch=United States Navy}} Category:Mexican-American War
... ... ... ... served with the United States Navy during the Mexican-American War
Service Started: unknown
Unit(s): unknown
Service Ended: unknown
{{Mexican-American War
|enlisted=January 27, 1846
|discharged=April 2, 1848
|branch=United States Army
|units=8th Infantry
|unit=8th Regiment of Infantry, United States Army
|rank=Sergeant
}}
Category:8th Regiment of Infantry, United States Army, Mexican-American War
Sergeant ... ... ... served with the United States Army during the Mexican-American War
Service Started: January 27, 1846
Unit(s): 8th Infantry
Service Ended: April 2, 1848

Parameters

ParameterUsageTypeDescriptionExampleValues
branch Preferred Text AutoGenerated '
rank Preferred Text AutoGenerated '
units Preferred Text AutoGenerated '
unit Preferred Text AutoGenerated '
enlisted Preferred Text AutoGenerated '
discharged Preferred Text AutoGenerated '
category Preferred Category AutoGenerated '
image Preferred Image AutoGenerated '


This page was last modified 12:05, 24 November 2019. This page has been accessed 1,146 times.