Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

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

Usage

Recommended code: {{Userbox-flag-r|region|info}}

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

Parameters

|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

Wiki markup Userbox
{{Userbox-flag-r|Colorado|frequently visits|'''[[Aspen, Colorado]]'''}} Template:User in Colorado
does not exist.
{{Userbox-flag-r|Colorado|This user frequently visits}} Template:User in Colorado
does not exist.
{{Userbox-flag-r|Quintana Roo|loves|'''[[Cancún]]'''}} Template:User in Quintana Roo
does not exist.
{{Userbox-flag-r|Quintana Roo|loves}} Template:User in Quintana Roo
does not exist.
{{Userbox-flag-r|Israel|This user is a [[civil engineer]] in|'''[[Jerusalem]]'''|resident=yes}} Template:User in Israel
does not exist.
{{Userbox-flag-r|Palestine|This user supports a free and independent|'''[[Palestine]]'''}} Template:User in Palestine
does not exist.
{{Userbox-flag-r|Scotland|This user is proud to be both|[[Scotland|'''Scottish''']] and [[United Kingdom|'''British''']]} Template:User in Scotland
does not exist.
{{Userbox-flag-r|South Africa||'''<big>[[South Africa]]</big>'''}} Template:User in South Africa
does not exist.
{{Userbox-flag-r|AU-NSW|[[Lawyer|practices law]] in|'''[[Sydney]]'''}} Template:User in AU-NSW
does not exist.
{{Userbox-flag-r|US|supports the|'''[[Constitution of the United States]]'''}} Template:User in US
does not exist.
{{Userbox-flag-r|US|This user supports the constitution of}} Template:User in US
does not exist.
{{Userbox-flag-r}} No region specified.
{{Userbox-flag-r|Wikipedia}} Template:User in Wikipedia
does not exist.

Template:User activity/custom

Userbox metatemplates
Left
Right
Left and Right
None

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