Template:Userbox location/doc: Difference between revisions
Mailmanmicky (talk | contribs) mNo edit summary |
m (→Available Locations: correct) |
||
(53 intermediate revisions by 11 users not shown) | |||
Line 1: | Line 1: | ||
{{Doc/subpage}} | {{Doc/subpage}} | ||
Userbox used for specifying a | Userbox used for specifying a location, typically one where a user resides and/or hails from. | ||
== Copy and Paste == | == Copy and Paste == | ||
{{CodeBlock|<nowiki>{{Userbox | {{CodeBlock|<nowiki>{{Userbox location | ||
| type = | | type = | ||
}}</nowiki>}} | }}</nowiki>}} | ||
Line 14: | Line 13: | ||
! {{Dictionary/common|Example}} | ! {{Dictionary/common|Example}} | ||
! style="width:20%" | {{Dictionary/common|Preview}} | ! style="width:20%" | {{Dictionary/common|Preview}} | ||
|- | |||
| No parameters | |||
| Template will revert to the default valves specified within the {{code|<nowiki>{{#switch}}</nowiki>}} parser functions. | |||
| {{CodeBlock|margin=5px|<nowiki>{{Userbox location}}</nowiki>}} | |||
| {{Userbox location|nocat=1}} | |||
|- | |- | ||
| align="center" | {{Code|style=2|{{Param|type}}}} | | align="center" | {{Code|style=2|{{Param|type}}}} | ||
| String parameter for specifying the | | String parameter for specifying the location in which the userbox pertains to. | ||
| {{CodeBlock|margin=5px|<nowiki>| type = Australia</nowiki>}} | | {{CodeBlock|margin=5px|<nowiki>| type = Australia</nowiki>}} | ||
| {{Userbox | | {{Userbox location|type=Australia|nocat=1}} | ||
|} | |} | ||
== Available Locations == | |||
{{CodeBlock|src=Countries|<nowiki>{{Userbox location|type=au}} {{Userbox location|type=br}} {{Userbox location|type=cn}} {{Userbox location|type=de}} {{Userbox location|type=es}} {{Userbox location|type=fr}} {{Userbox location|type=gb}} {{Userbox location|type=hr}} {{Userbox location|type=ru}} {{Userbox location|type=su}} {{Userbox location|type=uk}} {{Userbox location|type=us}} {{Userbox location|type=sv}} {{Userbox location|type=vn}}</nowiki>}} | |||
{{Capsule|{{Userbox location|type=au|nocat=1}} {{Userbox location|type=ba|nocat=1}} {{Userbox location|type=br|nocat=1}} {{Userbox location|type=cn|nocat=1}} {{Userbox location|type=de|nocat=1}} {{Userbox location|type=es|nocat=1}} {{Userbox location|type=fr|nocat=1}} {{Userbox location|type=gb|nocat=1}} {{Userbox location|type=hr|nocat=1}} {{Userbox location|type=ru|nocat=1}} {{Userbox location|type=su|nocat=1}} {{Userbox location|type=sv|nocat=1}} {{Userbox location|type=uk|nocat=1}} {{Userbox location|type=us|nocat=1}} {{Userbox location|type=vn|nocat=1}}}} | |||
== Used Categories == | |||
[[:Category:Australian Users|Australian Users]], [[:Category:BiH Users|Bosnian Users]], [[:Category:Brazilian Users|Brazilian Users]], [[:Category:British Users|British Users]], [[:Category:Chinese Users|Chinese Users]], [[:Category:Croatian Users|Croatian Users]], [[:Category:German Users|German Users]], [[:Category:French Users|French Users]], [[:Category:Russian Users|Russian Users]], [[:Category:Spanish Users|Spanish Users]], [[:Category:Ukrainian Users|Ukrainian Users]], [[:Category:Swedish Users|Swedish Users]], [[:Category:US Users|US Users]], [[:Category:Vietnamese Users|Vietnamese Users]] | |||
<includeonly>[[Category:Templates]][[Category:Userbox Templates]]</includeonly> | <includeonly>[[Category:Templates]][[Category:Userbox Templates]]</includeonly> |
Latest revision as of 13:13, 13 June 2024

Don't forget to purge the contents of the base page upon creating or editing this subpage.
Userbox used for specifying a location, typically one where a user resides and/or hails from.
Copy and Paste
Parameters and Examples
Parameter | Description | Example | Preview |
---|---|---|---|
No parameters | Template will revert to the default valves specified within the {{#switch}} parser functions. | ![]() This user lives somewhere on Earth. | |
{{{type}}} | String parameter for specifying the location in which the userbox pertains to. | ![]() This user hails from Australia. |
Available Locations

This user hails from Australia.

This user hails from Bosnia.

This user hails from Brazil.

This user hails from China.

This user hails from Germany.

This user hails from Spain.

This user hails from France.

This user hails from the United Kingdom.

This user hails from Croatia.

This user hails from the Russian Federation.

This user hails from the Soviet Union.

This user hails from Sweden.

This user hails from Ukraine.

This user hails from the United States.

This user hails from Vietnam.
Used Categories
Australian Users, Bosnian Users, Brazilian Users, British Users, Chinese Users, Croatian Users, German Users, French Users, Russian Users, Spanish Users, Ukrainian Users, Swedish Users, US Users, Vietnamese Users