User:Will Pittenger/templates/Province Flag Entry


Usage

edit

Parameters

edit
Name Purpose Default
{{{I Lived Here}}} Set to true to mark the entry with Nothing
{{{I Zipped Right Through}}} Set to true to mark the entry with Nothing
{{{I Was Born Here}}} Set to true to mark the entry with § Nothing
{{{I passed through without staying overnight}}} Set to true to mark the entry with ɸ Nothing
{{{Comments}}} What to display after the province name Nothing
{{{country code}}} The name of the nation to check. This causes the template to call {{GetProvinceFlag {{{country code|USA}}}|{{{province code}}}}} and {{GetProvinceName {{{country code|USA}}}|{{{province code}}}}}. "USA"
{{{province code}}} A code identifying the name of the state or province to display. With most nations this will be a postal code. Using {{User:Will Pittenger/templates/GetProvinceName}}, you can determine the correct code to use. However, since it calls templates like {{User:Will Pittenger/templates/GetProvinceFlag USA}}, you will need to check one of those templates to get the actual code. {{User:Will Pittenger/templates/GetProvinceName}} will, however, tell you the correct template to look at.
{{{Border Width}}} How thick the border around the image should be. Omitting this turns off the border. Be sure to include "px" at the end of your value. "1px"
{{{Border Style}}} The style of the border. Any value accepted by CSS should work. "solid"
{{{Border Color}}} The color of the border. Any color accepted by CSS should work. See Web Colors#X11 color names for a list of known accepted named colors. If those won't work, see Web Colors#Hex triplet. "Gray"

Samples

edit
{{User:Will Pittenger/templates/Province Flag Entry|country code=USA|province code=IL|I Lived Here=True|I Was Born Here=True|Comments=The state where I was born and grew up.}}
{{User:Will Pittenger/templates/Province Flag Entry|country code=ca|province code=ON|Comments=Year unknown as I was too young to remember}}
  • § Illinois (The state where I was born and grew up.)
  •  Ontario (Year unknown as I was too young to remember)