سانچہ:Uir
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 complete syntax of this template is:
{{uir|option=|region=|simple=|inflect=|the=|title=|adj=|demonym=|an=|main=|sub=|group=|member=|wpa=|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 Wikipediasimple=the simplified form of the region name if different (default={{{region|}}})inflect=the inflected form of the region name if different (default={{{region|}}})the=theplaces a "the " before the region name (default=null)wrap=wrapallows a multi-word region name to break between lines (default=null)scale=adjusts the font-size of the region name (default=100%)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>]])activity=is an optional verb phrase for option 1 (default=lives in)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 ڈنمارک" versus "This user is from ڈنمارک")an=anif 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 groupgroup=task forcegroup=nonegroup=other
member=the type of regional project membership:member=member(default)member=participantmember=volunteermember=other
wpa=the optional formatted regional project alias (default=null, used for options 41 and 42 only)cres=the root name of the regional residence user categoryccit=the root name of the regional citizenship user categorycanc=the root name of the regional ancestry user categorycint=the root name of the regional interest user categorycpro=the root name of the regional project membership categoryres=yesdeclares the user page a member of the regional residence user categorycit=yesdeclares the user page a member of the regional citizenship user categoryanc=yesdeclares the user page a member of the regional ancestry user categoryint=yesdeclares the user page a member of the regional interest user categorypro=yesdeclares the user page a member of the regional project membership categorynocat=truedisables the declaration of user categories
The following eight parameters are used only if the region is a subdivision of a خود مختار ریاست:
nation=the required nation name as listed in Wikipedia only if the region is a subdivision of a sovereign statenthe=theplaces a "the " before the nation name (default=null)cnres=the root name of the national residence user categorycncit=the root name of the national citizenship user categorycnanc=the root name of the national ancestry user categorycnint=the root name of the national interest user categorynres=yesdeclares the user page a member of the national residence user categoryncit=yesdeclares the user page a member of the national citizenship user categorynanc=yesdeclares the user page a member of the national ancestry user categorynint=yesdeclares the user page a member of the national interest user category
اختیارات جدول
[ترمیم]| اختیار | خانہ صارف مثال | طے شدہ صارف زمرہ جات | |||
|---|---|---|---|---|---|
| خود مختار ریاست | منحصر علاقہ | ||||
| 0 | none | Option 0 allows user categories to be declared without displaying a userbox | |||
| 1 |
|
res | res, nres | ||
| 2 |
|
res | res, nres | ||
| 3 |
|
res | res, nres | ||
| 4 |
|
res | res, nres | ||
| 5 |
|
res | res, nres | ||
| 6 |
|
res | res, nres | ||
| 7 |
|
res | res, nres | ||
| 8 |
|
res | res, nres | ||
| 9 |
|
res, cit | res, nres, ncit | ||
| 10 |
|
res, cit | res, nres, ncit | ||
| 11 |
|
res, cit | res, nres, ncit | ||
| 12 |
|
res, cit | res, nres, ncit | ||
| 13 |
|
res, cit | res, nres, ncit | ||
| 14 |
|
res, cit | res, nres, ncit | ||
| 15 |
|
res, cit | res, nres, ncit | ||
| 16 |
|
res, cit | |||
|
res, nres, ncit | ||||
| 17 |
|
res, cit | |||
| res, nres, ncit | |||||
| 18 |
|
res, cit | |||
|
res, nres, ncit | ||||
| 19 |
|
res, cit | res, nres, ncit | ||
| 20 |
|
cit | ncit | ||
| 21 |
|
cit | ncit | ||
| 22 |
|
cit | ncit | ||
| 23 |
|
cit | ncit | ||
| 24 |
|
cit | ncit | ||
| 31 |
|
res, cit, int | res, int, nres, ncit | ||
| 32 |
|
res, cit, int | res, int, nres, ncit | ||
| 33 |
|
res, int | res, int, nres | ||
| 34 |
|
cit, int | int, ncit | ||
| 35 |
|
int | |||
| 36 |
|
int | |||
| 37 |
|
int | |||
| 38 |
|
int | |||
| 41 |
|
int, pro | |||
| |||||
| |||||
| |||||
| |||||
| |||||
| 42 |
|
int, pro | |||
| 51 |
|
cit | ncit | ||
| 52 |
|
cit | ncit | ||
| 53 |
|
cit | ncit | ||
| 54 |
|
cit | ncit | ||
| 55 |
|
cit | ncit | ||
|
cit | ncit | |||
| 56 |
|
cit | ncit | ||
|
cit | ncit | |||
| 61 |
|
anc | nanc | ||
| 62 |
|
anc | nanc | ||
| 63 |
|
anc | nanc | ||
| 64 |
|
anc | nanc | ||
| 72 |
|
none | |||
| 73 |
| ||||
| 74 |
| ||||
| 75 |
| ||||
| 76 |
| ||||
| 77 |
| ||||
| 78 |
| ||||
| 79 |
| ||||
| 80 |
| ||||
| 81 |
| ||||
| 82 |
| ||||
| 83 |
| ||||
| 84 |
| ||||
| 85 |
| ||||
| 86 |
| ||||
| 91 |
| ||||
| 92 |
| ||||
| 93 |
| ||||
| 94 |
| ||||
| 99 |
| ||||
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=rightfloat=none
bodyclass=an optionalbodyclassalign=an optional horizontal alignment of the userbox text:align=leftalign=center(default)align=rightalign=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)d-s=an alternatedemonymemphasis font size in pixels (default=11, used for options 55 and 56 only)id=an alternate text or image to the default flag imageid-a=an alternate horizontal alignment of theid(default=left)id-a=left(default)id-a=centerid-a=right
id-c=an alternateidbackground color (default=colorifwidthis specified, otherwiseborder-c)id-w=an alternate width of theidin pixels (default=0)info=an alternate userbox text (see the Options table above for the defaults)info-c=an alternateinfobackground color (default=color)info-class=an optionalinfo-classinfo-fc=an alternateinfofont color (default=black)info-lh=an alternateinfoline height (default=1.3em)info-p=an alternateinfopadding (default=0 4px 0 4px)info-s=an alternateinfofont size in pixels (default=8)wp-c=an alternateinfoWikiProject link color (default=standard link color, used for options 41 and 42 only)wp-s=an alternateinfoWikiProject link font size in pixels (default=10, used for options 41 and 42 only)
See Template:Userbox for other default userbox settings.
Restriction
[ترمیم]- This template should be invoked from the user page. This template will only declare user categories from the user namespace.
Example
[ترمیم]Placing the following ویکی on your user page:
{{uir
|region=England
|cres=Wikipedians in England
|cnres=Wikipedians in the United Kingdom
|color={{{color|#D5FFFA}}}
}}
produces the following userbox:
| یہ صارف England میں رہتا ہے۔ |
and declares your user page a member of:
Template:User in England invokes this template to produce the same effect.
See also
[ترمیم]- This template invokes Template:Userbox.
- This template is invoked by the multiuse regional user templates.
| اوپر دی گئی دستاویز صفحہ سانچہ:Uir/دستاویز سے شامل کی گئی ہے۔ (ترمیم | تاریخچہ) صارفین سانچہ کے تختہ مشق (تخلیق | آئینہ) اور ثابتات (تخلیق) میں تجربات کرسکتے ہیں۔ براہ کرم /دستاویز کے ذیلی صفحہ پر زمرہ جات شامل فرمائیں۔ اس سانچہ کے ذیلی صفحات۔ |