Template:User country/doc

This template is for a Country Userbox and adds a userbox to your user page.

Usage
Place anywhere on your user page where you want the userbox to appear.

This template is based on.

After placing the template, add a vertical bar (|) followed by your country name. For example, if your country is Mexico, you would write.

Parameters
If you want your country's name to have "the" before it, add the=true. This will add a "the" in front of your country's name, adding more grammatical clarity. If this variable is not invoked, "the" will not appear. Additionally, if you were born in a state, province, territory, city, county or a micronation, you can do state=true, province=true, territory=true, city=true, county=true, or micronation=true to signify where you are from. If you choose county, make sure to put the states name afterward. Example: Instead of El Paso County, make it El Paso County, Texas.

Your country must have a link and a flag icon, or the template may not work.

The code works by changing the variable inside the template to automatically insert your country's name into a link and display a flag icon.

The finalized template will look similar to this

If the use_the=true, it will look like this