Template:Userbox location/doc: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
Line 26: Line 26:


== Available Locations ==
== Available Locations ==
{{CodeBlock|src=Countries|<nowiki>{{Userbox location|type=us}} {{Userbox location|type=au}} {{Userbox location|type=ru}}</nowiki>}}
{{CodeBlock|src=Countries|<nowiki>{{Userbox location|type=us}} {{Userbox location|type=au}} {{Userbox location|type=ru}} {{Userbox location|type=uk}}</nowiki>}}
{{Capsule|{{Userbox location|type=us|nocat=1}} {{Userbox location|type=au|nocat=1}} {{Userbox location|type=ru|nocat=1}}}}
{{Capsule|{{Userbox location|type=us|nocat=1}} {{Userbox location|type=au|nocat=1}} {{Userbox location|type=ru|nocat=1}} {{Userbox location|type=uk|nocat=1}}}}


<includeonly>[[Category:Templates]][[Category:Userbox Templates]]</includeonly>
<includeonly>[[Category:Templates]][[Category:Userbox Templates]]</includeonly>

Revision as of 05:22, 25 April 2023

Edit-copy.png
This is a documentation subpage for Template:Userbox location.
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

{{Userbox location | type = }}

Parameters and Examples

Parameter Description Example Preview
No parameters Template will revert to the default valves specified within the {{#switch}} parser functions.
{{Userbox location}}
Earth.gif

This user lives somewhere on Earth.

{{{type}}} String parameter for specifying the location in which the userbox pertains to.
| type = Australia
Flag-au.png

This user hails from Australia.

Available Locations

Countries
{{Userbox location|type=us}} {{Userbox location|type=au}} {{Userbox location|type=ru}} {{Userbox location|type=uk}}
English (en)

This user hails from the United States.

Flag-au.png

This user hails from Australia.

Русский (ru)

This user hails from the Russian Federation.

Українська (uk)

This user hails from Ukraine.