Template:Anaconda: Difference between revisions

From The Urban Dead Wiki
Jump to navigationJump to search
No edit summary
mNo edit summary
Line 1: Line 1:
{|style="border:solid 2px #c00;width:{{{3|250px}}};text-align:center"
{|style="border:solid 2px #c00;width:{{{3|250}}}px;text-align:center"
|rowspan=2|[[Image:Anaconda.png|60px]]
|rowspan=2|[[Image:Anaconda.png|60px]]
|style="background:#c00;color:white;font-size:small;line-height:1.5;width:100%"|'''Anaconda'''
|style="background:#c00;color:white;font-size:small;line-height:1.5;width:100%"|'''Anaconda'''
Line 32: Line 32:


===Size Variable===
===Size Variable===
This {{{box|userbox}}} takes one variable to optionally set its own width, otherwise defaulting to "'''250px'''". You can change it by typing ''3=NUMBERpx'':
This {{{box|userbox}}} takes one variable to optionally set its own width, otherwise defaulting to "'''250'''". You can change it by typing ''3=Number''. The number unity is pixel. :


{{CodeInline|<nowiki>{{</nowiki>'''{{PAGENAME}}<nowiki>|</nowiki>1<nowiki>=</nowiki>Dave<nowiki>|</nowiki>3<nowiki>=</nowiki>285px'''<nowiki>}}</nowiki>}}
{{CodeInline|<nowiki>{{</nowiki>'''{{PAGENAME}}<nowiki>|</nowiki>1<nowiki>=</nowiki>Dave<nowiki>|</nowiki>3<nowiki>=</nowiki>285'''<nowiki>}}</nowiki>}}


which produces
which produces
{{ {{PAGENAME}}|1=Dave|3=285px}}
{{ {{PAGENAME}}|1=Dave|3=285}}


===Text Variable===
===Text Variable===

Revision as of 19:26, 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". You can change it by typing 1=Wished name:

{{Anaconda|1=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". You can change it by typing 2=wished role:

{{Anaconda|1=Dave|2=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 "250". You can change it by typing 3=Number. The number unity is pixel. :

{{Anaconda|1=Dave|3=285}}

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 the final dot. You can change it by typing 4=wished text:

{{Anaconda|2=a soldier|4=and licks windows}}

which produces

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