Template:Userstate

From Scioly.org
Jump to: navigation, search
? Userstate competes or competed in a state.


Template:Userstate - Documentation

The Userstate template is a template used to generate a userbox that shows a user's state and region. The only mandatory parameter is state - all the rest are optional.

Parameters

Information

state - the abbreviation of the desired state (use NCA for Northern California and SCA for Southern California)
region - the region competed in, if applicable
name - the name of the user that competes in this state, overrides the page name
past - set to 1 if the user no longer competes in this state, set to 0 if the user still competes in this state

Colors

state-color1 - the background color of the state abbreviation, seen to the left
state-color2 - the color of the state abbreviation, seen to the left

Examples

For more examples of userboxes that use this template, see Category:User Templates.

Code Result
{{Userstate
|state=MO}}
MO Userstate competes or competed in Missouri.
{{Userstate
|state=AZ
|region=Southeast
|name=Woodrow Wilson
|past=0}}
AZ Woodrow Wilson competes in Southeast Arizona.
{{Userstate
|state=NCA
|region=the San Diego region of
|past=1}}
NCA Userstate competed in the San Diego region of California (North).
{{Userstate
|state=DE
|name=James K. Polk
|past=1
|state-color1=#94e0b5
|state-color2=#0f9171}}
DE James K. Polk competed in Delaware.