Template:Spanish-American War

Categories: Stickers

Description

Served in the Spanish-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:Spanish-American War
Type:Sticker
Group:Military
Subgroup:
Status:Approved
Timeframe:1898 - 1899
Usage:Pages using the template
Usage on profiles:Parameter usage on profiles
Edit:Template Documentation


This template is managed by the Spanish-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 {{Spanish-American War Project}}.

Format
{{Spanish-American War
| image = image file
| enlisted = mmm dd, yyyy
| discharged = mmm dd, yyyy
| branch = United States Army, Spanish Navy, etc, if unknown list State or Country of Service
| units= regiment1; regiment2, etc
| unit= first unit served in
|rank=rank}}</nowiki>

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 Spanish-American War

if |rank is listed that will display on the text prior to the name, if not, the profile prefix entry, if entered, will be used

Since the unit(s) served in can be more specific than the level we are creating categories for, i.e. Company B, 1st Battalion, 1st Regiment, have abbreviations, i.e. 1st Regt., or can have multiple units, i.e 1st Regiment in 1898, 7th Cavalry in 1899, the template cannot make assignments to unit categories using this field.

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

  • 1st Illinois Volunteer Infantry
  • Illinois
  • 1st Artillery Regiment, 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 Illinois Infantry, look in Category: Illinois, Spanish-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: Spanish-American War


Examples

Code used:Category added:Displays as:
{{Spanish-American War|branch=United States Navy}} Category:Spanish-American War
... ... ... ... served with the United States Navy during the Spanish-American War.
Service Started: unknown
Unit(s): unknown
Service Ended: unknown
{{Spanish-American War
|enlisted=Jan 27, 1897
|discharged=Apr 2, 1945
|branch=United States Army
|units=3rd US Cavalry
|unit=3rd Cavalry Regiment, United States Army
|rank=Sergeant
}}
Category:3rd Cavalry Regiment, United States Army, Spanish-American War
Sergeant ... ... ... served with the United States Army during the Spanish-American War.
Service Started: Jan 27, 1897
Unit(s): 3rd US Cavalry
Service Ended: Apr 2, 1945

Parameters

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


This page was last modified 22:18, 24 November 2019. This page has been accessed 683 times.