Template:Userbox location/doc: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 22: Line 22:
| String parameter for specifying the location in which the userbox pertains to.
| 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 location|type=Australia}}
| {{Userbox location|type=Australia|nocat=1}}
|}
|}


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

Revision as of 14:21, 24 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 for various purposes (e.g.: specifying your birthplace, current location of residence, e.t.c.)

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.