The following documentation is located at Template:uir/doc. [edit]
Note: Please move the documentation subpage to Template:uir/documentation.

This regional userbox template will display a userbox describing your association with a region and will declare up to seven user regional categories when placed on your 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. The complete syntax is:

{{uir|option=|region=|simple=|inflect=|the=|title=|adj=|demonym=|an=|main=|sub=|group=|member=|cres=|ccit=|cint=|cpro|res=|cit=|int=|pro=|nocat=|nation=|nthe=|nwp=|cnres=|cncit=|cnint=|nres=|ncit=|nint=|align=|color=|image=|width=|border-c=|id=|id-a=|id-c=|id-w=|info=|info-c=|info-fc=|info-lh=|info-s=|wp-s=}}

where:

  • option= the option number (default=1, see the Options table below)
  • region= the required region name as listed in Wikipedia
  • simple= the simplified form of the region name if different (default={{{region|}}})
  • inflect= the inflected form of the region name if different (default={{{region|}}})
  • the=the places a "the " before the region name (default=null)
  • wrap=wrap allows a multi-word region name to break between lines (default=null)
  • title= the fully formatted region title to be used in the userbox (default={{#if:{{{the|}}}|the }}[[{{{region|}}}|'''{{#if:{{{wrap|}}}||<span style="white-space:nowrap">}}{{{inflect|{{{simple|{{{region|}}}}}}}}}{{#if:{{{wrap|}}}||</span>}}''']])
  • 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 Denmark")
  • an=an if the optional regional demonym begins with a vowel sound (default=a)
  • 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=member (default)
    • member=participant
    • member=volunteer
    • member=other
  • 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
  • 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
option userbox example default user categories
sovereign state dependent state
0   Option 0 allows user categories to be declared
without displaying a userbox
1 మూస:userbox res res, nres
2 మూస:userbox res res, nres
3 మూస:userbox res res, nres
4 మూస:userbox res res, nres
5 మూస:userbox res res, nres
6 మూస:userbox res res, nres
7 మూస:userbox res res, nres
8 మూస:userbox res res, nres
11 మూస:userbox res, cit res, nres, ncit
12 మూస:userbox res, cit res, nres, ncit
13 మూస:userbox res, cit res, nres, ncit
14 మూస:userbox res, cit res, nres, ncit
15 మూస:userbox res, cit res, nres, ncit
16 మూస:userbox res, cit
మూస:userbox res, nres, ncit
17 మూస:userbox res, cit
మూస:userbox res, nres, ncit
18 మూస:userbox res, cit
మూస:userbox res, nres, ncit
19 మూస:userbox res, cit res, nres, ncit
20 మూస:userbox cit ncit
21 మూస:userbox cit ncit
22 మూస:userbox cit ncit
23 మూస:userbox cit ncit
24 మూస:userbox cit ncit
31 మూస:userbox res, cit, int res, int, nres, ncit
32 మూస:userbox res, cit, int res, int, nres, ncit
33 మూస:userbox res, int res, int, nres
34 మూస:userbox cit, int int, ncit
35 మూస:userbox int
36 మూస:userbox int
37 మూస:userbox int
38 మూస:userbox int
41 మూస:userbox int, pro
మూస:userbox
మూస:userbox
మూస:userbox
మూస:userbox
మూస:userbox
మూస:userbox
51 మూస:userbox none
52 మూస:userbox none
53 మూస:userbox none
54 మూస:userbox none
55 మూస:userbox none
మూస:userbox
56 మూస:userbox none
మూస:userbox
61 మూస:userbox none
62 మూస:userbox none
63 మూస:userbox none
64 మూస:userbox none
72 మూస:userbox none
73 మూస:userbox none
74 మూస:userbox none
75 మూస:userbox none
81 మూస:userbox none
82 మూస:userbox none
83 మూస:userbox none
91 మూస:userbox none
92 మూస:userbox none
93 మూస:userbox none
94 మూస:userbox none
99 మూస:userbox none
RIX This option is used exclusively by Template:RIX
ROL This option is used exclusively by Template:ROL
RWP This option is used exclusively by Template:RWP

Userbox override parameters

<small>మార్చు</small>

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
  • align= an optional horizontal alignment of the userbox text:
    • align=left
    • align=center (default)
    • align=right
    • align=justify
  • color= an optional userbox background color (default=white)
  • image= an optional userbox image (default=Flag of {{#if:{{{the|}}}|the }}{{{region|}}}.svg)
  • 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)
  • 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=1)
  • info= an alternate userbox text (see the Options table above for the defaults)
  • info-c= an alternate info background color (default=color)
  • info-fc= an alternate info font color (default=black)
  • info-lh= an alternate info line height (default={{#expr:1.05+{{{wp-s|10}}}/40}}em for option 41, otherwise 1.25em)
  • info-s= an alternate info font size in pixels (default=8)
  • wp-s= an alternate info emphasis font size in pixels (default=10, used for option 41 only)

See Template:Userbox for other default userbox settings.

  • This template should be invoked from your user page. This template will declare user categories from the user namespace only.

Placing the following Wikitext on your user page:

{{uir
|region=England
|cres=Wikipedians in England
|cnres=Wikipedians in the United Kingdom
|color={{{color|#d5fffa}}}
}}

produces the following userbox:

మూస:userbox

and declares your user page a member of:

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

"https://te.wiktionary.org/w/index.php?title=మూస:uir&oldid=277318" నుండి వెలికితీశారు