Template:Uir/doc

From Porn Base Central, the free encyclopedia of gay porn
Jump to navigation Jump to search

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 PBC
  • 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 PBCProject (default={{{simple|{{{region|}}}}}})
  • sub= the root name of the regional subgroup, if any (default={{{simple|{{{region|}}}}}})
  • group= the type of regional project group:
    • group=PBCProject (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 PBC 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[edit source]

option userbox example default user categories
sovereign state dependent state
0   Option 0 allows user categories to be declared
without displaying a userbox
1
Flag of Afghanistan.pngThis user lives in Afghanistan
res res, nres
2
Flag of Algeria.pngThis user resides in Algeria
res res, nres
3
Flag of Argentina.pngThis user is a resident of Argentina
res res, nres
4
Flag of Australia.pngThis user is a part-time resident of Australia
res res, nres
5
Flag of Bangladesh.pngThis user is a student in Bangladesh
res res, nres
6
Flag of Brazil.pngThis user currently studies in Brazil
res res, nres
7
Flag of Myanmar.pngThis user currently works in Myanmar
res res, nres
8
Flag of Canada.pngThis user currently lives in Canada
res res, nres
11
Flag of China.pngThis user is proud to be a resident native citizen of China
res, cit res, nres, ncit
12
Flag of Colombia.pngThis user is a proud resident native citizen of Colombia
res, cit res, nres, ncit
13
Flag of the Democratic Republic of the Congo.pngThis user is a resident native citizen of the Democratic Republic of the Congo
res, cit res, nres, ncit
14
Flag of Côte d'Ivoire.pngThis user is a lifelong resident citizen of Côte d'Ivoire
res, cit res, nres, ncit
15
Flag of Egypt.pngThis user was born and lives in Egypt
res, cit res, nres, ncit
16
Flag of Ethiopia.pngThis user is proud to be a naturalized resident citizen of Ethiopia
res, cit
Flag of Florida.pngThis user is proud to be a naturalized citizen of the United States living in Florida
res, nres, ncit
17
Flag of Germany.pngThis user is a proud naturalized resident citizen of Germany
res, cit
Flag of Guanajuato.pngThis user is a proud naturalized citizen of Mexico living in Guanajuato
res, nres, ncit
18
Flag of Ghana.pngThis user is a naturalized resident citizen of Ghana
res, cit
Flag of Scotland.pngThis user is a naturalized citizen of the United Kingdom living in Scotland
res, nres, ncit
19
Flag of India.pngThis user is a resident citizen of India
res, cit res, nres, ncit
20
Flag of Indiana.pngThis user is a citizen of Indiana
cit ncit
21
Flag of Indonesia.pngThis user is a nonresident citizen of Indonesia
cit ncit
22
Flag of Iran.pngThis user is a nonresident native citizen of Iran
cit ncit
23
Flag of Malaysia.pngThis user is a proud native citizen of Malaysia
cit ncit
24
Flag of Mexico.pngThis user is a native citizen of Mexico
cit ncit
31
Flag of Pakistan.pngThis user is a resident native citizen interested in Pakistan
res, cit, int res, int, nres, ncit
32
Flag of Peru.pngThis user is a resident citizen interested in Peru
res, cit, int res, int, nres, ncit
33
Flag of the Philippines.pngThis user is a resident interested in the Philippines
res, int res, int, nres
34
Flag of Poland.pngThis user is a citizen interested in Poland
cit, int int, ncit
35
Flag of Romania.pngThis user is a native interested in Romania
int
36
Flag of Saudi Arabia.pngThis user is a descendant interested in Saudi Arabia
int
37
Flag of South Africa.pngThis user is a former resident interested in South Africa
int
38
Flag of Sudan.pngThis user is interested in Sudan
int
41
Flag of Russia.pngThis user is a member of
PBCProject Russia
int, pro
Flag of Spain.pngThis user participates in
PBCProject Spain
Flag of Ecuador.pngThis user is a member of the
Galápagos Islands task force
Flag of California.pngThis user participates in the
Southern California task force
Flag of Guam.pngThis user is a member of the
Guam work group
Flag of French Polynesia.pngThis user participates in the
French Polynesia work group
Flag of Jalisco.pngThis user wishes to form
PBCProject Jalisco
51
Flag of Iraq.pngThis user is a proud native of Iraq
none
52
Flag of Italy.pngThis user is a native of Italy
none
53
Flag of Japan.pngThis user is a nonresident native of Japan
none
54
Flag of Kenya.pngThis user was born in Kenya
none
55
Flag of North Korea.pngThis user is proud to be from North Korea
none
Flag of South Korea.pngThis user is proud to be a South Korean
56
Flag of Madagascar.pngThis user is from Madagascar
none
Flag of Malaysia.pngThis user is a Malaysian
61
Flag of Mexico.pngThis user is of Mexican ancestry
none
62
Flag of Morocco.pngThis user is of Moroccan descent
none
63
Flag of Mozambique.pngThis user is of Mozambican heritage
none
64
Flag of Nigeria.pngAn ancestor of this user was born in Nigeria
none
72
Flag of Taiwan.pngThis user is a former resident of Taiwan
none
73
Flag of Tanzania.pngThis user has lived in Tanzania
none
74
Flag of Thailand.pngThis user has visited Thailand
none
75
Flag of Turkey.pngThis user frequently visits Turkey
none
81
Flag of Uganda.pngThis user loves Uganda
none
82
Flag of Ukraine.pngThis user longs for Ukraine
none
83
Flag of the United Kingdom.pngThis user wishes to be in the United Kingdom
none
91
Flag of the United States.pngThis user has family in the United States of America
none
92
Flag of Uzbekistan.pngThis user has friends in Uzbekistan
none
93
Flag of Venezuela.pngThis user has associates in Venezuela
none
94
Flag of Vietnam.pngThis user does business in Vietnam
none
99
Flag of Yemen.pngThis user is associated with Yemen
none

Userbox override parameters[edit source]

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|}}}.png)
  • 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-class= an optional info-class
  • 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.

Restrictions[edit source]

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

Example[edit source]

Placing the following Wikitext on your user page:

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

produces the following userbox:

Flag of England.pngThis 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[edit source]