This template creates a custom userbox with the flag or emblem of a nation, state, or province.

Usage

edit

To use this userbox template, place one of the following lines of Wikitext on your user page:

Simple code: {{Userbox-flag|region|info}}

Full code: {{Userbox-flag|region|info|region name|res=resident?|cit=citizenship?|float=float|align=align}}

Parameters

edit

|1= The required name or ISO 3166 region code of a nation, state, province, or district.

|2= The userbox text / activity

  • Default: lives ins

|3= The name of the region to show

  • Default: parameter 1's proper name

|res= The optional residence parameter. A yes indicates that you are a current resident of the region and you wish to have your userpage included in [[Category:Wikipedians in region]]

  • Default: no

|cit= The optional citizenship parameter. A yes indicates that you are a current citizen of the region and you wish to have your userpage included in [[Category:region demonym Wikipedians]]

  • Default: no

|float= The float/alignment of the box

  • Default: left

|align= The alignment of the text

  • Default: center

Examples

edit
Wiki markup Userbox
{{Userbox-flag|Colorado|frequently visits|'''[[Aspen, Colorado]]'''}}
This user frequently visits Aspen, Colorado.
{{Userbox-flag|Colorado|This user frequently visits}}
This user ​ frequently visits the U.S. State of Colorado.
{{Userbox-flag|Quintana Roo|loves|'''[[Cancún]]'''}}
This user loves Cancún.
{{Userbox-flag|Quintana Roo|loves}}
This user loves the Mexican state of Quintana Roo.
{{Userbox-flag|Israel|This user is a [[civil engineer]] in|'''[[Jerusalem]]'''|resident=yes}}
This user ​ is a civil engineer in Jerusalem.
{{Userbox-flag|Palestine|This user supports a free and independent|'''[[State of Palestine|Palestine]]'''}}
This user ​ supports a free and independent Palestine.
{{Userbox-flag|Scotland|This user is proud to be both|[[Scotland|'''Scottish''']] and [[United Kingdom|'''British''']]}
This user ​ is proud to be both Scottish and British.
{{Userbox-flag|South Africa||'''<big>[[South Africa]]</big>'''}}
This user South Africa.
{{Userbox-flag|AU-NSW|[[Lawyer|practices law]] in|'''[[Sydney]]'''}}
This user practices law in Sydney.
{{Userbox-flag|US|supports the|'''[[Constitution of the United States]]'''}}
This user supports the Constitution of the United States.
{{Userbox-flag|US|This user supports the constitution of}}
This user ​ supports the constitution of the United States.

See also

edit

Customizable location userbox templates

edit
Wikitext userbox where used
{{User ancestry|Thailand}}
This user is of Thai ancestry.
linked pages
{{User cycled|California}}
This user has cycled in the U.S. State of California.
linked pages
{{User high point|Ireland}}
This user has hiked to the highest point in Ireland.
linked pages
{{User highest|New Zealand}}
This user has climbed the highest summit of New Zealand.
linked pages
{{User hiked|Scotland}}
This user has hiked in Scotland.
linked pages
{{User invitation|South Africa}}
This user invites you to visit
South Africa.
linked pages
{{User lived in|New Mexico}}
This user has lived in the U.S. State of New Mexico.
linked pages
{{User lives in|Wales}}
This user lives in
Wales.
linked pages
{{User low point|North America}}
This user has visited the lowest point of North America.
linked pages
{{User proud|Australia}}
This user is proud to be an
Australian !
linked pages
{{User retired|Florida}}
This user has retired in the U.S. State of Florida.
linked pages
{{User studied in|New Jersey}}
This user has studied in the U.S. State of New Jersey.
linked pages
{{User visited|India}}
This user has visited India.
linked pages
{{User wishes to visit|Jalisco}}
This user wishes to visit the Mexican state of Jalisco.
linked pages
{{User worked in|Antarctica}}
This user has worked in Antarctica.
linked pages
{{User Master Gardener|Washington}} linked pages
{{User Professional Engineer|Colorado}} linked pages
{{Userbox-flag|Ohio|made this userbox featuring the flag of}}
This user made this userbox featuring the flag of the U.S. State of Ohio.
linked pages
{{User:UBX/activity|has kayaked in|Nunavut}}
This user has kayaked in the Canadian territory of Nunavut.
linked pages
Userbox metatemplates
Left
Right
Left and Right
None

See also: Module:Userbox, Wikipedia:Userboxes, Wikipedia:Userboxes/Userboxes