Template:Anaconda: Difference between revisions

From The Urban Dead Wiki
Jump to navigationJump to search
No edit summary
No edit summary
Line 34: Line 34:
This {{{box|userbox}}} takes one variable to optionally set its own width, otherwise defaulting to "'''250px'''":
This {{{box|userbox}}} takes one variable to optionally set its own width, otherwise defaulting to "'''250px'''":


{{CodeInline|<nowiki>{{</nowiki>'''{{PAGENAME}}<nowiki>|</nowiki>Dave<nowiki>|</nowiki>a soldier<nowiki>|</nowiki>285px'''<nowiki>}}</nowiki>}}
{{CodeInline|<nowiki>{{</nowiki>'''{{PAGENAME}}<nowiki>|</nowiki>Dave<nowiki>|</nowiki>285px'''<nowiki>}}</nowiki>}}


which produces
which produces
{{ {{PAGENAME}}|Dave|a soldier|285px}}
{{ {{PAGENAME}}|Dave|3=285px}}


===Text Variable===
===Text Variable===
This {{{box|userbox}}} takes one variable to optionally set the ending text, otherwise defaulting to "'''and kicks zed butt'''". The final dot will be inserted automatically, do not type it:
This {{{box|userbox}}} takes one variable to optionally set the ending text, otherwise defaulting to "'''and kicks zed butt'''". The final dot will be inserted automatically, '''do not''' type it:


{{CodeInline|<nowiki>{{</nowiki>'''{{PAGENAME}}<nowiki>|</nowiki>Dave<nowiki>|</nowiki>a soldier<nowiki>|</nowiki>250px<nowiki>|</nowiki>and licks windows'''<nowiki>}}</nowiki>}}
{{CodeInline|<nowiki>{{</nowiki>'''{{PAGENAME}}<nowiki>|</nowiki>a soldier<nowiki>|</nowiki>and licks windows'''<nowiki>}}</nowiki>}}


which produces
which produces
{{ {{PAGENAME}}|Dave|a soldier|250px|and licks windows}}
{{ {{PAGENAME}}|2=a soldier|4=and licks windows}}
__NOEDITSECTION__ __NOTOC__[[Category:Character related|{{PAGENAME}}]][[Category:Group_Templates|{{PAGENAME}}]][[Category:The_Fortress|{{PAGENAME}}]][[Category:The_Fortress/Anaconda|{{PAGENAME}}]]</noinclude>
__NOEDITSECTION__ __NOTOC__[[Category:Character related|{{PAGENAME}}]][[Category:Group_Templates|{{PAGENAME}}]][[Category:The_Fortress|{{PAGENAME}}]][[Category:The_Fortress/Anaconda|{{PAGENAME}}]]</noinclude>

Revision as of 19:09, 17 August 2011

Anaconda.png Anaconda
This user is a member of
Team Anaconda and kicks zed butt.

Usage

Standard

To include this userbox on your page, simply copy and paste the following code onto your page:

{{Anaconda}}

which produces

Anaconda.png Anaconda
This user is a member of
Team Anaconda and kicks zed butt.

Name Variable

This userbox takes one variable to optionally set the name of the user, otherwise defaulting to "This user":

{{Anaconda|Dave}}

which produces

Anaconda.png Anaconda
Dave is a member of
Team Anaconda and kicks zed butt.

Role Variable

This userbox takes one variable to optionally set the role of the user, otherwise defaulting to "a member":

{{Anaconda|Dave|a soldier}}

which produces

Anaconda.png Anaconda
Dave is a soldier of
Team Anaconda and kicks zed butt.

Size Variable

This userbox takes one variable to optionally set its own width, otherwise defaulting to "250px":

{{Anaconda|Dave|285px}}

which produces

Anaconda.png Anaconda
Dave is a member of
Team Anaconda and kicks zed butt.

Text Variable

This userbox takes one variable to optionally set the ending text, otherwise defaulting to "and kicks zed butt". The final dot will be inserted automatically, do not type it:

{{Anaconda|a soldier|and licks windows}}

which produces

Anaconda.png Anaconda
This user is a soldier of
Team Anaconda and licks windows.