Jump to content

Template:User in region/doc: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
|align=center|{{uir|option=62|region=Nepal|adj=Nepali|info-w=2|nocat=true}}
→‎Use: note adjusted default language
(31 intermediate revisions by 7 users not shown)
Line 1: Line 1:
{{documentation subpage}}__NOTOC__
{{documentation subpage}}__NOTOC__
{{high-use}}
{{top text|'''U'''ser '''i'''n '''r'''egion}}
This [[:Category:Multiuse regional user templates|multiuse regional user master template]] creates a [[Wikipedia:Userboxes|userbox]] that identifies the association of a [[Wikipedia:Wikipedians|user]] with a land region and declares appropriate [[Help:Category|regional user categories]] when placed on the [[Wikipedia:User page|user page]].
This [[:Category:Multiuse regional user templates|multiuse regional user master template]] creates a [[Wikipedia:Userboxes|userbox]] that identifies the association of a [[Wikipedia:Wikipedians|user]] with a land region and declares appropriate [[Help:Category|regional user categories]] when placed on the [[Wikipedia:User page|user page]].
<includeonly>{{cmbox

|type=content
|style=font-size:15px;font-weight:bold;text-align:center;
|text=Do not delete this regional userbox template even if it is not currently being used.
}}</includeonly>
This template is most commonly invoked by one of the [[:Category:Multiuse regional user templates|User in ''Region'' templates]] which supply the parameters for this template to function as a metatemplate.
This template is most commonly invoked by one of the [[:Category:Multiuse regional user templates|User in ''Region'' templates]] which supply the parameters for this template to function as a metatemplate.


==Use==
==Use==
The basic syntax of this template is:
The basic syntax of this template is:
'''<code><nowiki>{{uir|option=|region=|adj=|demonym=|color=|cres=|ccit=|canc=|cint=|cpro=|nocat=}}</nowiki></code>'''
'''<code><nowiki>{{User in region|option=|region=|adj=|demonym=|color=|cres=|ccit=|cint=|cpro=|nocat=}}</nowiki></code>'''
where:
where:
*<code>option=</code> the option number (default=<code>1</code>, see the Options table below)
*<code>option=</code> the option number (default=<code>1</code>, see the Options table below)
*<code>region=</code> the required region name as listed in Wikipedia
*<code>region=</code> the required region name should be the same as the Wikipedia article title
*<code>the=the</code> places a "the " before the region name (default=''<code>null</code>'')
*<code>the=the</code> places a "the " before the region name (default=''<code>null</code>'')
*<code>full=</code> the optional full form of the region name if different (default=<code><nowiki>{{{region|}}}</nowiki></code>)
*<code>fthe=the</code> places a "the" before the full form of the region name (default=''<code>null</code>'')
*<code>simple=</code> the simplified form of the region name if different (default=<code><nowiki>{{{region|}}}</nowiki></code>)
*<code>simple=</code> the simplified form of the region name if different (default=<code><nowiki>{{{region|}}}</nowiki></code>)
*<code>inflect=</code> the inflected form of the region name if different (default=<code><nowiki>{{{region|}}}</nowiki></code>)
*<code>inflect=</code> the inflected form of the region name if different (default=<code><nowiki>{{{region|}}}</nowiki></code>)
Line 18: Line 24:
*<code>an=an</code> if the optional regional demonym begins with a vowel sound (default=<code>a</code>)
*<code>an=an</code> if the optional regional demonym begins with a vowel sound (default=<code>a</code>)
*<code>title=</code> the fully formatted region title to be used in the userbox (default=<code><nowiki>{{#if:{{{the|}}}|the&#32;}}[[{{{region|}}}|<span style="{{#if:{{{wrap|}}}||white-space:nowrap;}}font-size:{{{scale|100%}}};font-weight:bold;">{{{inflect|{{{simple|{{{region|}}}}}}}}}</span>]]</nowiki></code>)
*<code>title=</code> the fully formatted region title to be used in the userbox (default=<code><nowiki>{{#if:{{{the|}}}|the&#32;}}[[{{{region|}}}|<span style="{{#if:{{{wrap|}}}||white-space:nowrap;}}font-size:{{{scale|100%}}};font-weight:bold;">{{{inflect|{{{simple|{{{region|}}}}}}}}}</span>]]</nowiki></code>)
*<code>image=</code> the optional image root name (default=<code><nowiki>Flag of {{#if:{{{the|}}}|the&#32;}}{{{simple|{{{region|}}}}}}.svg}}}{{!}}{{{width|}}}x45px}}</nowiki></code>)
*<code>color=</code> an optional userbox background color (default=<code>white</code>)
*<code>color=</code> an optional userbox background color (default=<code>white</code>)
*<code>link-c=</code> an alternate link color for dark background colors (default=[[Help:Link color|Wikipedia link colors]])
*<code>link-c=</code> an alternate link color for dark background colors (default=[[Help:Link color|Wikipedia link colors]])
Line 32: Line 39:
**<code>group=</code>''other''
**<code>group=</code>''other''
*<code>member=</code> the type of regional project membership:
*<code>member=</code> the type of regional project membership:
**<code>member=member</code> (default)
**<code>member=participant</code> (default)
**<code>member=participant</code>
**<code>member=member</code>
**<code>member=volunteer</code>
**<code>member=volunteer</code>
**<code>member=coordinator</code>
**<code>member=</code>''other''
**<code>member=</code>''other''
*<code>wpa=</code> the optional formatted regional project alias (default=''<code>null</code>'', used for options 41 and 42 only)
*<code>wpa=</code> the optional formatted regional project alias (default=''<code>null</code>'', used for options 41 and 42 only)
*<code>wpm=</code> the optional full name of the regional project membership log (default=''<code>null</code>'')
*<code>wpt=</code> the optional root name of the regional project userbox template (default=''<code>null</code>'')
*<code>cres=</code> the root name of the regional residence user category
*<code>cres=</code> the root name of the regional residence user category
*<code>ccit=</code> the root name of the regional citizenship user category
*<code>ccit=</code> the root name of the regional citizenship user category
*<code>canc=</code> the root name of the regional ancestry user category
*<code>cint=</code> the root name of the regional interest user category
*<code>cint=</code> the root name of the regional interest user category
*<code>cpro=</code> the root name of the regional project membership category
*<code>cpro=</code> the root name of the regional project membership category
Line 53: Line 62:
*<code>cnres=</code> the root name of the national residence user category
*<code>cnres=</code> the root name of the national residence user category
*<code>cncit=</code> the root name of the national citizenship user category
*<code>cncit=</code> the root name of the national citizenship user category
*<code>cnanc=</code> the root name of the national ancestry user category
*<code>cnint=</code> the root name of the national interest user category
*<code>cnint=</code> the root name of the national interest user category
*<code>nres=yes</code> declares the user page a member of the national residence user category
*<code>nres=yes</code> declares the user page a member of the national residence user category
*<code>ncit=yes</code> declares the user page a member of the national citizenship user category
*<code>ncit=yes</code> declares the user page a member of the national citizenship user category
*<code>nanc=yes</code> declares the user page a member of the national ancestry user category
*<code>nint=yes</code> declares the user page a member of the national interest user category
*<code>nint=yes</code> declares the user page a member of the national interest user category
{{-}}
{{-}}


====Options table====
====Options table====
{| class="wikitable"
{|border=1 cellpadding=2
!rowspan=2 width=47|option
!rowspan=2 width=47| Option
!rowspan=2|userbox example
!rowspan=2| Userbox example
!colspan=2|default user categories
!colspan=2| Default user categories
|-
|-
!width=144|[[sovereign state]]
!width=144| [[Sovereign state]]
!width=144|[[Dependent territory|dependent state]]
!width=144| [[Dependent territory|Dependent state]]
|-
|-
|align=center|0
|align=center| 0
|height=47 align=center|''<span style="color:cyan">none</span>''
|height=47 align=center| ''<span style="color:cyan">none</span>''
|colspan=2 align=center|Option 0 allows user categories to be<br/>declared without displaying a userbox
|colspan=2 align=center| Option 0 allows user categories to be<br>declared without displaying a userbox
|-
|-
|align=center|1
|align=center| 1
|align=center|{{uir|option=1|region=Afghanistan|nocat=true}}
|align=center| {{User in region|option=1|region=Afghanistan|nocat=true}}
|align=center|res
|align=center| res
|align=center|res, nres
|align=center| res, nres
|-
|-
|align=center|2
|align=center| 2
|align=center|{{uir|option=2|region=Algeria|nocat=true}}
|align=center| {{User in region|option=2|region=Algeria|nocat=true}}
|align=center|res
|align=center| res
|align=center|res, nres
|align=center| res, nres
|-
|-
|align=center|3
|align=center| 3
|align=center|{{uir|option=3|region=Angola|nocat=true}}
|align=center| {{User in region|option=3|region=Angola|nocat=true}}
|align=center|res
|align=center| res
|align=center|res, nres
|align=center| res, nres
|-
|-
|align=center|4
|align=center| 4
|align=center|{{uir|option=4|region=Argentina|nocat=true}}
|align=center| {{User in region|option=4|region=Argentina|nocat=true}}
|align=center|res
|align=center| res
|align=center|res, nres
|align=center| res, nres
|-
|-
|align=center|5
|align=center| 5
|align=center|{{uir|option=5|region=Aruba|nocat=true}}
|align=center| {{User in region|option=5|region=Aruba|nocat=true}}
|align=center|res
|align=center| res
|align=center|res, nres
|align=center| res, nres
|-
|-
|align=center|6
|align=center| 6
|align=center|{{uir|option=6|region=Australia|nocat=true}}
|align=center| {{User in region|option=6|region=Australia|nocat=true}}
|align=center|res
|align=center| res
|align=center|res, nres
|align=center| res, nres
|-
|-
|align=center|7
|align=center| 7
|align=center|{{uir|option=7|region=Bahrain|nocat=true}}
|align=center| {{User in region|option=7|region=Bahrain|nocat=true}}
|align=center|res
|align=center| res
|align=center|res, nres
|align=center| res, nres
|-
|-
|align=center|8
|align=center| 8
|align=center|{{uir|option=8|region=Belarus|nocat=true}}
|align=center| {{User in region|option=8|region=Belarus|nocat=true}}
|align=center|res
|align=center| res
|align=center|res, nres
|align=center| res, nres
|-
|-
|align=center|9
|align=center| 9
|align=center|{{uir|option=9|region=Belgium|nocat=true}}
|align=center| {{User in region|option=9|region=Belgium|id-w=52|nocat=true}}
|align=center|res, cit
|align=center| res, cit
|align=center|res, nres, ncit
|align=center| res, nres, ncit
|-
|-
|align=center|10
|align=center| 10
|align=center|{{uir|option=10|region=Bhutan|nocat=true}}
|align=center| {{User in region|option=10|region=Bhutan|nocat=true}}
|align=center|res, cit
|align=center| res, cit
|align=center|res, nres, ncit
|align=center| res, nres, ncit
|-
|-
|align=center|11
|align=center| 11
|align=center|{{uir|option=11|region=Bolivia|nocat=true}}
|align=center| {{User in region|option=11|region=Bolivia|nocat=true}}
|align=center|res, cit
|align=center| res, cit
|align=center|res, nres, ncit
|align=center| res, nres, ncit
|-
|-
|align=center|12
|align=center| 12
|align=center|{{uir|option=12|region=Botswana|nocat=true}}
|align=center| {{User in region|option=12|region=Botswana|nocat=true}}
|align=center|res, cit
|align=center| res, cit
|align=center|res, nres, ncit
|align=center| res, nres, ncit
|-
|-
|align=center|13
|align=center| 13
|align=center|{{uir|option=13|region=Brazil|nocat=true}}
|align=center| {{User in region|option=13|region=Brazil|nocat=true}}
|align=center|res, cit
|align=center| res, cit
|align=center|res, nres, ncit
|align=center| res, nres, ncit
|-
|-
|align=center|14
|align=center| 14
|align=center|{{uir|option=14|region=Burkina Faso|nocat=true}}
|align=center| {{User in region|option=14|region=Burkina Faso|nocat=true}}
|align=center|res, cit
|align=center| res, cit
|align=center|res, nres, ncit
|align=center| res, nres, ncit
|-
|-
|align=center|15
|align=center| 15
|align=center|{{uir|option=15|region=Burundi|nocat=true}}
|align=center| {{User in region|option=15|region=Burundi|nocat=true}}
|align=center|res, cit
|align=center| res, cit
|align=center|res, nres, ncit
|align=center| res, nres, ncit
|-
|-
|rowspan=2 align=center|16
|rowspan=2 align=center| 16
|align=center|{{uir|option=16|region=Canada|nocat=true}}
|align=center| {{User in region|option=16|region=Canada|nocat=true}}
|align=center|res, cit
|align=center| res, cit
|
|
|-
|-
|align=center|{{uir|option=16|region=British Columbia||nation=Canada|nocat=true}}
|align=center| {{User in region|option=16|region=British Columbia||nation=Canada|nocat=true}}
|
|
|align=center|res, nres, ncit
|align=center| res, nres, ncit
|-
|-
|rowspan=2 align=center|17
|rowspan=2 align=center| 17
|align=center|{{uir|option=17|region=Mexico|nocat=true}}
|align=center| {{User in region|option=17|region=Mexico|nocat=true}}
|align=center|res, cit
|align=center| res, cit
|
|
|-
|-
|align=center|{{uir|option=17|region=Puebla||nation=Mexico|nocat=true}}
|align=center| {{User in region|option=17|region=Puebla||nation=Mexico|nocat=true}}
|
|
|align=center|res, nres, ncit
|align=center| res, nres, ncit
|-
|-
|rowspan=2 align=center|18
|rowspan=2 align=center| 18
|align=center|{{uir|option=18|region=United States|the=the||title=the '''[[United States]]'''|the [[United States|'''United States of America''']]|nocat=true}}
|align=center| {{User in region|option=18|region=United States|the=the||title=the '''[[United States]]'''|the [[United States|'''United States of America''']]|nocat=true}}
|align=center|res, cit
|align=center| res, cit
|
|
|-
|-
|align=center|{{uir|option=18|region=Colorado|nation=United States|nthe=the|nocat=true}}
|align=center| {{User in region|option=18|region=Colorado|nation=United States|nthe=the|nocat=true}}
|
|
|align=center|res, nres, ncit
|align=center| res, nres, ncit
|-
|-
|align=center|19
|align=center| 19
|align=center|{{uir|option=19|region=Christmas Island|nocat=true}}
|align=center| {{User in region|option=19|region=Christmas Island|nocat=true}}
|align=center|res, cit
|align=center| res, cit
|align=center|res, nres, ncit
|align=center| res, nres, ncit
|-
|-
|align=center|20
|align=center| 20
|align=center|{{uir|option=20|region=Colombia|nocat=true}}
|align=center| {{User in region|option=20|region=Colombia|nocat=true}}
|align=center|cit
|align=center| cit
|align=center|ncit
|align=center| ncit
|-
|-
|align=center|21
|align=center| 21
|align=center|{{uir|option=21|region=Democratic Republic of the Congo|title=the '''[[Democratic Republic of the Congo]]'''|wrap=wrap|nocat=true}}
|align=center| {{User in region|option=21|region=Democratic Republic of the Congo|title=the '''[[Democratic Republic of the Congo]]'''|wrap=wrap|nocat=true}}
|align=center|cit
|align=center| cit
|align=center|ncit
|align=center| ncit
|-
|-
|align=center|22
|align=center| 22
|align=center|{{uir|option=22|region=Costa Rica|nocat=true}}
|align=center| {{User in region|option=22|region=Costa Rica|nocat=true}}
|align=center|cit
|align=center| cit
|align=center|ncit
|align=center| ncit
|-
|-
|align=center|23
|align=center| 23
|align=center|{{uir|option=23|region=Cuba|nocat=true}}
|align=center| {{User in region|option=23|region=Cuba|nocat=true}}
|align=center|cit
|align=center| cit
|align=center|ncit
|align=center| ncit
|-
|-
|align=center|24
|align=center| 24
|align=center|{{uir|option=24|region=Czech Republic|the=the|nocat=true}}
|align=center| {{User in region|option=24|region=Czech Republic|the=the|nocat=true}}
|align=center|cit
|align=center| cit
|align=center|ncit
|align=center| ncit
|-
|-
|align=center|31
|align=center| 31
|align=center|{{uir|option=31|region=France|nocat=true}}
|align=center| {{User in region|option=31|region=France|nocat=true}}
|align=center|res, cit, int
|align=center| res, cit, int
|align=center|res, int, nres, ncit
|align=center| res, int, nres, ncit
|-
|-
|align=center|32
|align=center| 32
|align=center|{{uir|option=32|region=Gambia|nocat=true}}
|align=center| {{User in region|option=32|region=Gambia|nocat=true}}
|align=center|res, cit, int
|align=center| res, cit, int
|align=center|res, int, nres, ncit
|align=center| res, int, nres, ncit
|-
|-
|align=center|33
|align=center| 33
|align=center|{{uir|option=33|region=Germany|nocat=true}}
|align=center| {{User in region|option=33|region=Germany|nocat=true}}
|align=center|res, int
|align=center| res, int
|align=center|res, int, nres
|align=center| res, int, nres
|-
|-
|align=center|34
|align=center| 34
|align=center|{{uir|option=34|region=Greece|nocat=true}}
|align=center| {{User in region|option=34|region=Greece|nocat=true}}
|align=center|cit, int
|align=center| cit, int
|align=center|int, ncit
|align=center| int, ncit
|-
|-
|align=center|35
|align=center| 35
|align=center|{{uir|option=35|region=Greenland|nocat=true}}
|align=center| {{User in region|option=35|region=Greenland|nocat=true}}
|colspan=2 align=center|int
|colspan=2 align=center| int
|-
|-
|align=center|36
|align=center| 36
|align=center|{{uir|option=36|region=Guatemala|nocat=true}}
|align=center| {{User in region|option=36|region=Guatemala|nocat=true}}
|colspan=2 align=center|int
|colspan=2 align=center| int
|-
|-
|align=center|37
|align=center| 37
|align=center|{{uir|option=37|region=Guinea|nocat=true}}
|align=center| {{User in region|option=37|region=Guinea|nocat=true}}
|colspan=2 align=center|int
|colspan=2 align=center| int
|-
|-
|align=center|38
|align=center| 38
|align=center|{{uir|option=38|region=Haiti|nocat=true}}
|align=center| {{User in region|option=38|region=Haiti|nocat=true}}
|colspan=2 align=center|int
|colspan=2 align=center| int
|-
|-
|rowspan=6 align=center|41
|rowspan=6 align=center| 41
|align=center|{{uir|option=41|region=India|nocat=true}}
|align=center| {{User in region|option=41|region=India|nocat=true}}
|rowspan=6 colspan=2 align=center|int, pro
|rowspan=6 colspan=2 align=center| int, pro
|-
|-
|align=center|{{uir|option=41|region=Israel|member=participant|nocat=true}}
|align=center| {{User in region|option=41|region=Israel|member=participant|nocat=true}}
|-
|-
|align=center|{{uir|option=41|region=Galápagos Islands|group=task force|member=participant|main=Ecuador|image=Flag of Ecuador.svg|nocat=true}}
|align=center| {{User in region|option=41|region=Galápagos Islands|group=task force|member=participant|main=Ecuador|image=Flag of Ecuador.svg|nocat=true}}
|-
|-
|align=center|{{uir|option=41|region=Guam|group=work group|main=Micronesia|nocat=true}}
|align=center| {{User in region|option=41|region=Guam|group=work group|main=Micronesia|nocat=true}}
|-
|-
|align=center|{{uir|option=41|region=French Polynesia|group=work group|member=participant|main=Polynesia|nocat=true}}
|align=center| {{User in region|option=41|region=French Polynesia|group=work group|member=coordinator|main=Polynesia|nocat=true}}
|-
|-
|align=center|{{uir|option=41|region=Jalisco|group=none|nocat=true}}
|align=center| {{User in region|option=41|region=Jalisco|group=none|nocat=true}}
|-
|-
|align=center|42
|align=center| 42
|align=center|{{uir|option=42|region=Kenya|nocat=true}}
|align=center| {{User in region|option=42|region=Kenya|wpm=Wikipedia:WikiProject Kenya#Participants|nocat=true}}
|colspan=2 align=center|int, pro
|colspan=2 align=center| int, pro
|-
|-
|align=center|51
|align=center| 43
|align=center|{{uir|option=51|region=Libya|nocat=true}}
|align=center| {{User in region|option=43|region=Latvia|nocat=true}}
|align=center|cit
|colspan=2 align=center| int, pro
|align=center|ncit
|-
|-
|align=center|52
|align=center| 51
|align=center|{{uir|option=52|region=Luxembourg|nocat=true}}
|align=center| {{User in region|option=51|region=Libya|nocat=true}}
|align=center|cit
|align=center| cit
|align=center|ncit
|align=center| ncit
|-
|-
|align=center|53
|align=center| 52
|align=center|{{uir|option=53|region=Madagascar|nocat=true}}
|align=center| {{User in region|option=52|region=Luxembourg|nocat=true}}
|align=center|cit
|align=center| cit
|align=center|ncit
|align=center| ncit
|-
|-
|align=center|54
|align=center| 53
|align=center|{{uir|option=54|region=Malaysia|demonym=Malaysian|nocat=true}}
|align=center| {{User in region|option=53|region=Madagascar|nocat=true}}
|align=center|cit
|align=center| cit
|align=center|ncit
|align=center| ncit
|-
|-
|rowspan=2 align=center|55
|align=center| 54
|align=center|{{uir|option=55|region=Marshall Islands|the=the|info-s=7|nocat=true}}
|align=center| {{User in region|option=54|region=Malaysia|demonym=Malaysian|nocat=true}}
|align=center|cit
|align=center| cit
|align=center|ncit
|align=center| ncit
|-
|-
|rowspan=2 align=center| 55
|align=center|{{uir|option=55|region=Marshall Islands|demonym=Marshallese|an= |nocat=true}}
|align=center| {{User in region|option=55|region=Marshall Islands|the=the|info-s=7|nocat=true}}
|align=center|cit
|align=center|ncit
|align=center| cit
|align=center| ncit
|-
|-
|align=center| {{User in region|option=55|region=Marshall Islands|demonym=Marshallese|an= |nocat=true}}
|rowspan=2 align=center|56
|align=center|{{uir|option=56|region=Mauritania|nocat=true}}
|align=center| cit
|align=center|cit
|align=center| ncit
|align=center|ncit
|-
|-
|rowspan=2 align=center| 56
|align=center|{{uir|option=56|region=Mauritania|demonym=Mauritanian|nocat=true}}
|align=center| {{User in region|option=56|region=Mauritania|nocat=true}}
|align=center|cit
|align=center|ncit
|align=center| cit
|align=center| ncit
|-
|-
|align=center| {{User in region|option=56|region=Mauritania|demonym=Mauritanian|nocat=true}}
|align=center|61
|align=center| cit
|align=center|{{uir|option=61|region=Mozambique|adj=Mozambican|nocat=true}}
|align=center|anc
|align=center| ncit
|align=center|nanc
|-
|-
|align=center|62
|align=center| 61
|align=center|{{uir|option=62|region=Nepal|adj=Nepali|info-w=2|nocat=true}}
|align=center| {{User in region|option=61|region=Mexico|adj=Mexican|nocat=true}}
|colspan=2 rowspan=30 align=center| ''<span style="color:cyan">none</span>''
|align=center|anc
|align=center|nanc
|-
|-
|align=center|63
|align=center| 62
|align=center|{{uir|option=63|region=Netherlands|the=the|adj=Dutch|nocat=true}}
|align=center| {{User in region|option=62|region=Moldova|adj=Moldovan|border-c=black|id-c=white|id-w=37|nocat=true}}
|align=center|anc
|align=center|nanc
|-
|-
|align=center|64
|align=center| 63
|align=center|{{uir|option=64|region=New Zealand|nocat=true}}
|align=center| {{User in region|option=63|region=Mongolia|adj=Mongolian|nocat=true}}
|align=center|anc
|align=center|nanc
|-
|-
|align=center|72
|align=center| 64
|align=center|{{uir|option=72|region=Puerto Rico|nocat=true}}
|align=center| {{User in region|option=64|region=Montenegro|nocat=true}}
|colspan=2 rowspan=20 align=center|''<span style="color:cyan">none</span>''
|-
|-
|align=center|73
|align=center| 65
|align=center|{{uir|option=73|region=Russia|nocat=true}}
|align=center| {{User in region|option=65|region=Morocco|nocat=true}}
|-
|-
|align=center|74
|align=center| 66
|align=center|{{uir|option=74|region=Saint Barthélemy||image=Flag of Saint Barthelemy (local).svg|nocat=true}}
|align=center| {{User in region|option=66|region=Nepal|id-c=white|id-w=0|nocat=true}}
|-
|-
|align=center|75
|align=center| 67
|align=center|{{uir|option=75|region=Saint Kitts and Nevis|nocat=true}}
|align=center| {{User in region|option=67|region=Nigeria|nocat=true}}
|-
|-
|align=center|76
|align=center| 68
|align=center|{{uir|option=76|region=Saint Martin||image=Flag of France.svg|nocat=true}}
|align=center| {{User in region|option=68|region=Portugal|nocat=true}}
|-
|-
|align=center|77
|align=center| 69
|align=center|{{uir|option=77|region=Samoa|nocat=true}}
|align=center| {{User in region|option=69|region=Puerto Rico|nocat=true}}
|-
|-
|align=center|78
|align=center| 72
|align=center|{{uir|option=78|region=San Marino|nocat=true}}
|align=center| {{User in region|option=72|region=Romania|nocat=true}}
|-
|-
|align=center|79
|align=center| 73
|align=center|{{uir|option=79|region=Saudi Arabia|nocat=true}}
|align=center| {{User in region|option=73|region=Russia|nocat=true}}
|-
|-
|align=center|80
|align=center| 74
|align=center|{{uir|option=80|region=Singapore|nocat=true}}
|align=center| {{User in region|option=74|region=Saint Barthélemy||image=Flag of Saint Barthelemy (local).svg|nocat=true}}
|-
|-
|align=center|81
|align=center| 75
|align=center|{{uir|option=81|region=Slovakia|nocat=true}}
|align=center| {{User in region|option=75|region=Saint Kitts and Nevis|nocat=true}}
|-
|-
|align=center|82
|align=center| 76
|align=center|{{uir|option=82|region=South Africa|nocat=true}}
|align=center| {{User in region|option=76|region=Saint Martin||image=Flag of France.svg|nocat=true}}
|-
|-
|align=center|83
|align=center| 77
|align=center|{{uir|option=83|region=Spain|nocat=true}}
|align=center| {{User in region|option=77|region=Samoa|nocat=true}}
|-
|-
|align=center|84
|align=center| 78
|align=center|{{uir|option=84|region=Sweden|nocat=true}}
|align=center| {{User in region|option=78|region=San Marino|nocat=true}}
|-
|-
|align=center|85
|align=center| 79
|align=center|{{uir|option=85|region=Switzerland|info-w=45|nocat=true}}
|align=center| {{User in region|option=79|region=Saudi Arabia|nocat=true}}
|-
|-
|align=center|86
|align=center| 80
|align=center|{{uir|option=86|region=Thailand|nocat=true}}
|align=center| {{User in region|option=80|region=Singapore|nocat=true}}
|-
|-
|align=center|91
|align=center| 81
|align=center|{{uir|option=91|region=Turkey|nocat=true}}
|align=center| {{User in region|option=81|region=Slovakia|nocat=true}}
|-
|-
|align=center|92
|align=center| 82
|align=center|{{uir|option=92|region=Tuvalu|nocat=true}}
|align=center| {{User in region|option=82|region=South Africa|nocat=true}}
|-
|-
|align=center|93
|align=center| 83
|align=center|{{uir|option=93|region=United Kingdom|the=the|nocat=true}}
|align=center| {{User in region|option=83|region=Spain|nocat=true}}
|-
|-
|align=center|94
|align=center| 84
|align=center|{{uir|option=94|region=United States|the=the|title=the [[United States|'''{{nowrap|United States of America}}''']]|nocat=true}}
|align=center| {{User in region|option=84|region=Sweden|nocat=true}}
|-
|-
|align=center|99
|align=center| 85
|align=center|{{uir|option=99|region=Zimbabwe|nocat=true}}
|align=center| {{User in region|option=85|region=Switzerland|id-w=45|nocat=true}}
|-
|align=center| 86
|align=center| {{User in region|option=86|region=Thailand|nocat=true}}
|-
|align=center| 90
|align=center| {{User in region|option=90|region=Tonga|nocat=true}}
|-
|align=center| 91
|align=center| {{User in region|option=91|region=Turkey|nocat=true}}
|-
|align=center| 92
|align=center| {{User in region|option=92|region=Tuvalu|nocat=true}}
|-
|align=center| 93
|align=center| {{User in region|option=93|region=United Kingdom|the=the|nocat=true}}
|-
|align=center| 94
|align=center| {{User in region|option=94|region=United States|the=the|title=the [[United States|'''{{nowrap|United States of America}}''']]|nocat=true}}
|-
|align=center| 99
|align=center| {{User in region|option=99|region=Zimbabwe|nocat=true}}
|}
|}
{{-}}
{{-}}
Line 413: Line 434:
*<code>info-s=</code> an alternate <code>info</code> font size in pixels (default=<code>8</code>)
*<code>info-s=</code> an alternate <code>info</code> font size in pixels (default=<code>8</code>)
*<code>wp-s=</code> an alternate <code>info</code> WikiProject link font size in pixels (default=<code>10</code>, used for options 41 and 42 only)
*<code>wp-s=</code> an alternate <code>info</code> WikiProject link font size in pixels (default=<code>10</code>, used for options 41 and 42 only)
*<code>d-s=</code> an alternate <code>demonym</code> regional link font size in pixels (default=<code>11</code>, used for options 55 and 56 only)
*<code>d-s=</code> an alternate <code>demonym</code> regional link font size in pixels (default=<code>10</code>, used for options 55 and 56 only)
See [[Template:Userbox]] for other default userbox settings.
See [[Template:Userbox]] for other default userbox settings.
{{-}}
{{clear}}


===Restriction===
===Restriction===
*This template should be invoked from the [[Wikipedia:User page|user page]]. This template will only declare user categories from the [[user namespace]].
*This template should be placed on [[Special:MyPage|your user page]]. This template will only declare user categories from the [[user namespace]].
{{-}}
{{clear}}


===Example===
===Example===
Placing the following [[Wiki markup|Wikitext]] on your [[Wikipedia:User page|user page]]:
Placing the following [[Wiki markup|Wikitext]] on your [[Wikipedia:User page|user page]]:
:'''<code><nowiki>{{uir</nowiki><br/><nowiki>|region=England</nowiki><br/><nowiki>|cres=Wikipedians in England</nowiki><br/><nowiki>|cnres=Wikipedians in the United Kingdom</nowiki><br/><nowiki>|color={{{color|#D5FFFA}}}</nowiki><br/><nowiki>}}</nowiki></code>'''
:'''<code><nowiki>{{User in region</nowiki><br><nowiki>|region=England</nowiki><br><nowiki>|cres=Wikipedians in England</nowiki><br><nowiki>|cnres=Wikipedians in the United Kingdom</nowiki><br><nowiki>|color={{{color|#D5FFFA}}}</nowiki><br><nowiki>}}</nowiki></code>'''
produces the following [[Wikipedia:Userboxes|userbox]]:
produces the following [[Wikipedia:Userboxes|userbox]]:
{{uir|region=England|cres=Wikipedians in England|ccit=English Wikipedians|cint=Wikipedians interested in England|cpro=WikiProject England|cnres=Wikipedians in the United Kingdom|cncit=British Wikipedians|cnint=Wikipedians interested in the United Kingdom|color={{{color|#D5FFFA}}}|nocat=true}}{{clear}}
{{User in region|region=England|cres=Wikipedians in England|ccit=English Wikipedians|cint=Wikipedians interested in England|cpro=WikiProject England|cnres=Wikipedians in the United Kingdom|cncit=British Wikipedians|cnint=Wikipedians interested in the United Kingdom|color={{{color|#D5FFFA}}}|nocat=true}}{{clear}}
and declares your user page a member of:
and declares your user page a member of:
*[[:Category:Wikipedians in England]]
*[[:Category:Wikipedians in England]]
*[[:Category:Wikipedians in the United Kingdom]]
*[[:Category:Wikipedians in the United Kingdom]]
[[Template:User in England]] invokes this template to produce the same effect.
[[Template:User in England]] invokes this template to produce the same effect.
{{-}}
{{clear}}


==See also==
==See also==
*For help with this userbox template, please post a comment on the [[Template_talk:{{ROOTPAGENAME}}|template talk page]] with a {{tl2|reply to}} one or more of the <span class="plainlinks">[https://en.wikipedia.org/w/index.php?title=Template:User_for_Ukraine&action=history previous editors].</span>
*This template invokes [[Template:Userbox]].
*This template is invoked by the [[:Category:Multiuse regional user templates|multiuse regional user templates]].
* This template invokes [[Template:Userbox]].
* This template is invoked by the [[:Category:Multiuse regional user templates|multiuse regional user templates]].
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox||
<includeonly>{{Sandbox other||
[[Category:Multiuse regional user templates| ]]
[[Category:Multiuse regional user templates| ]]
[[Category:Wikipedia metatemplates]]
[[Category:Wikipedia metatemplates]]

Revision as of 20:17, 4 February 2024

This multiuse regional user master template creates a userbox that identifies the association of a user with a land region and declares appropriate regional user categories when placed on the user page.

This template is most commonly invoked by one of the User in Region templates which supply the parameters for this template to function as a metatemplate.

Use

The basic syntax of this template is: {{User in region|option=|region=|adj=|demonym=|color=|cres=|ccit=|cint=|cpro=|nocat=}} where:

  • option= the option number (default=1, see the Options table below)
  • region= the required region name should be the same as the Wikipedia article title
  • the=the places a "the " before the region name (default=null)
  • full= the optional full form of the region name if different (default={{{region|}}})
  • fthe=the places a "the" before the full form of the region name (default=null)
  • simple= the simplified form of the region name if different (default={{{region|}}})
  • inflect= the inflected form of the region name if different (default={{{region|}}})
  • adj= the adjective form of the region name (default={{{inflect|{{{simple|{{{region|}}}}}}}}})
  • demonym= an optional regional demonym (only if preferred for options 55 or 56, e.g., "This user is a Dane" versus "This user is from Dänemark")
  • an=an if the optional regional demonym begins with a vowel sound (default=a)
  • title= the fully formatted region title to be used in the userbox (default={{#if:{{{the|}}}|the }}[[{{{region|}}}|<span style="{{#if:{{{wrap|}}}||white-space:nowrap;}}font-size:{{{scale|100%}}};font-weight:bold;">{{{inflect|{{{simple|{{{region|}}}}}}}}}</span>]])
  • image= the optional image root name (default=Flag of {{#if:{{{the|}}}|the }}{{{simple|{{{region|}}}}}}.svg}}}{{!}}{{{width|}}}x45px}})
  • color= an optional userbox background color (default=white)
  • link-c= an alternate link color for dark background colors (default=Wikipedia link colors)
  • scale= adjusts the font-size of the region name (default=100%)
  • activity= an optional verb phrase for option 1 (default=lives in)
  • wrap=wrap allows a multi-word region name to break between lines (default=null)
  • main= the root name of the responsible regional WikiProject (default={{{simple|{{{region|}}}}}})
  • sub= the root name of the regional subgroup, if any (default={{{simple|{{{region|}}}}}})
  • group= the type of regional project group:
    • group=WikiProject (default)
    • group=work group
    • group=task force
    • group=none
    • group=other
  • member= the type of regional project membership:
    • member=participant (default)
    • member=member
    • member=volunteer
    • member=coordinator
    • member=other
  • wpa= the optional formatted regional project alias (default=null, used for options 41 and 42 only)
  • wpm= the optional full name of the regional project membership log (default=null)
  • wpt= the optional root name of the regional project userbox template (default=null)
  • cres= the root name of the regional residence user category
  • ccit= the root name of the regional citizenship user category
  • cint= the root name of the regional interest user category
  • cpro= the root name of the regional project membership category
  • res=yes declares the user page a member of the regional residence user category
  • cit=yes declares the user page a member of the regional citizenship user category
  • anc=yes declares the user page a member of the regional ancestry user category
  • int=yes declares the user page a member of the regional interest user category
  • pro=yes declares the user page a member of the regional project membership category
  • nocat=true disables the declaration of user categories

The following eight parameters are used only if the region is a subdivision of a sovereign state:

  • nation= the required nation name as listed in Wikipedia only if the region is a subdivision of a sovereign state
  • nthe=the places a "the " before the nation name (default=null)
  • cnres= the root name of the national residence user category
  • cncit= the root name of the national citizenship user category
  • cnint= the root name of the national interest user category
  • nres=yes declares the user page a member of the national residence user category
  • ncit=yes declares the user page a member of the national citizenship user category
  • nint=yes declares the user page a member of the national interest user category

Options table

Option Userbox example Default user categories
Sovereign state Dependent state
0 none Option 0 allows user categories to be
declared without displaying a userbox
1
This user lives in Afghanistan.
res res, nres
2
This user resides in Algeria.
res res, nres
3
This user is a resident of Angola.
res res, nres
4
This user is a part-time resident of Argentina.
res res, nres
5
This user is a student in Aruba.
res res, nres
6
This user currently studies in Australia.
res res, nres
7
This user currently works in Bahrain.
res res, nres
8
This user currently lives in Belarus.
res res, nres
9
This user is proud to be a resident citizen of Belgium.
res, cit res, nres, ncit
10
This user is a proud resident citizen of Bhutan.
res, cit res, nres, ncit
11
This user is proud to be a resident native citizen of Bolivia.
res, cit res, nres, ncit
12
This user is a proud resident native citizen of Botswana.
res, cit res, nres, ncit
13
This user is a resident native citizen of Brazil.
res, cit res, nres, ncit
14
This user is a lifelong resident citizen of Burkina Faso.
res, cit res, nres, ncit
15
This user was born and lives in Burundi.
res, cit res, nres, ncit
16
This user is proud to be a naturalized resident citizen of Canada.
res, cit
This user is proud to be a naturalized citizen of Canada living in British Columbia.
res, nres, ncit
17
This user is a proud naturalized resident citizen of Mexico.
res, cit
This user is a proud naturalized citizen of Mexico living in Puebla.
res, nres, ncit
18
This user is a naturalized resident citizen of the United States.
res, cit
This user is a naturalized citizen of the United States living in Colorado.
res, nres, ncit
19
This user is a resident citizen of Christmas Island.
res, cit res, nres, ncit
20
This user is a citizen of Colombia.
cit ncit
21
This user is a nonresident citizen of the Democratic Republic of the Congo.
cit ncit
22
This user is a nonresident native citizen of Costa Rica.
cit ncit
23
This user is a proud native citizen of Cuba.
cit ncit
24
This user is a native citizen of the Czech Republic.
cit ncit
31
This user is a resident native citizen interested in France.
res, cit, int res, int, nres, ncit
32
This user is a resident citizen interested in Gambia.
res, cit, int res, int, nres, ncit
33
This user is a resident interested in Germany.
res, int res, int, nres
34
This user is a citizen interested in Greece.
cit, int int, ncit
35
This user is a native interested in Greenland.
int
36
This user is a descendant interested in Guatemala.
int
37
This user is a former resident interested in Guinea.
int
38
This user is interested in Haiti.
int
41
This user participates in
WikiProject India.
int, pro
This user participates in
WikiProject Israel.
This user participates in the
Galápagos Islands task force.
This user participates in the
Guam work group.
This user coordinates the
French Polynesia work group.
This user wishes to create
WikiProject Jalisco.
42 int, pro
43
This user is associated with Latvia.
int, pro
51
This user is a proud native of Libya.
cit ncit
52
This user is a native of Luxembourg.
cit ncit
53
This user is a nonresident native of Madagascar.
cit ncit
54
This user was born in Malaysia.
cit ncit
55
This user is proud to be from the Marshall Islands !
cit ncit
This user is proud to be  
Marshallese !
cit ncit
56
This user is from Mauritania.
cit ncit
This user is a
Mauritanian.
cit ncit
61
This user is of Mexican ancestry.
none
62
This user is of Moldovan descent.
63
This user is of Mongolian heritage.
64
An ancestor of this user was born in Montenegro.
65
This user loves the people of Morocco.
66
This user loves the culture of Nepal.
67
This user loves the art of Nigeria.
68
This user loves the music of Portugal.
69
This user loves the cuisine of Puerto Rico.
72
This user is a former resident of Romania.
73
This user has lived in Russia.
74
This user has visited Saint Barthélemy.
75
This user frequently visits Saint Kitts and Nevis.
76
This user wishes to visit Saint Martin.
77
This user has hiked in Samoa.
78
This user has hiked to the highest point in San Marino.
79
This user has visited the lowest point of Saudi Arabia.
80
This user has cycled in Singapore.
81
This user loves Slovakia.
82
This user longs for South Africa.
83
This user wishes to be in Spain.
84
This user plans to visit Sweden.
85
This user has climbed the highest summit of Switzerland.
86
This user has ridden the railways of Thailand.
90
This user has landed in, but has not explored, Tonga.
91
This user has family in Turkey.
92
This user has friends in Tuvalu.
93
This user has associates in the United Kingdom.
94
This user does business in the United States of America.
99
This user is associated with Zimbabwe.

Userbox override parameters

The following additional parameters may be used to override this template's default userbox settings:

  • float= an optional horizontal float of the userbox:
    • float=left (default)
    • float=right
    • float=none
  • bodyclass= an optional bodyclass
  • align= an optional horizontal alignment of the userbox text:
    • align=left
    • align=center (default)
    • align=right
    • align=justify
  • image= an optional userbox image (default=Flag of {{#if:{{{the|}}}|the }}{{{region|}}}.svg)
  • herald= an alternative transparent userbox image to be used in lieu of image
  • width= an optional maximum width of the userbox image in pixels (default=null, i.e., limited only by image height of 45 pixels)
  • border-c= an alternate userbox border color (default=black)
  • d-s= an alternate demonym emphasis font size in pixels (default=11, used for options 55 and 56 only)
  • id= an alternate text or image to the default flag image
  • id-a= an alternate horizontal alignment of the id (default=left)
    • id-a=left (default)
    • id-a=center
    • id-a=right
  • id-c= an alternate id background color (default=color if width is specified, otherwise border-c)
  • id-w= an alternate width of the id in pixels (default=0)
  • info= an alternate userbox text (see the Options table above for the defaults)
  • info-c= an alternate info background color (default=color)
  • info-class= an optional info-class
  • info-fc= an alternate info font color (default=black)
  • info-lh= an alternate info line height (default=1.3em)
  • info-p= an alternate info padding (default=0 4px 0 4px)
  • info-s= an alternate info font size in pixels (default=8)
  • wp-s= an alternate info WikiProject link font size in pixels (default=10, used for options 41 and 42 only)
  • d-s= an alternate demonym regional link font size in pixels (default=10, used for options 55 and 56 only)

See Template:Userbox for other default userbox settings.

Restriction

Example

Placing the following Wikitext on your user page:

{{User in region
|region=England
|cres=Wikipedians in England
|cnres=Wikipedians in the United Kingdom
|color={{{color|#D5FFFA}}}
}}

produces the following userbox:

This user lives in England.

and declares your user page a member of:

Template:User in England invokes this template to produce the same effect.

See also