Template:Userbox location/doc: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
Line 13: 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}}
|-
|-
| align="center" | {{Code|style=2|{{Param|type}}}}
| align="center" | {{Code|style=2|{{Param|type}}}}

Revision as of 12:53, 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.