Template:Anaconda: Difference between revisions
Thoroaeborus (talk | contribs) No edit summary |
Thoroaeborus (talk | contribs) No edit summary |
||
Line 16: | Line 16: | ||
===Name Variable=== | ===Name Variable=== | ||
This {{{box|userbox}}} takes one variable to optionally set the name of the user, otherwise defaulting to "'''This user'''": | This {{{box|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'': | ||
{{CodeInline|<nowiki>{{</nowiki>'''{{PAGENAME}}<nowiki>|</nowiki>1<nowiki>=</nowiki>Dave'''<nowiki>}}</nowiki>}} | {{CodeInline|<nowiki>{{</nowiki>'''{{PAGENAME}}<nowiki>|</nowiki>1<nowiki>=</nowiki>Dave'''<nowiki>}}</nowiki>}} | ||
which produces | which produces | ||
{{ {{PAGENAME}}|Dave}} | {{ {{PAGENAME}}|1=Dave}} | ||
===Role Variable=== | ===Role Variable=== | ||
This {{{box|userbox}}} takes one variable to optionally set the role of the user, otherwise defaulting to "'''a member'''": | This {{{box|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'': | ||
{{CodeInline|<nowiki>{{</nowiki>'''{{PAGENAME}}<nowiki>|</nowiki>1<nowiki>=</nowiki>Dave<nowiki>|</nowiki>2<nowiki>=</nowiki>a soldier'''<nowiki>}}</nowiki>}} | {{CodeInline|<nowiki>{{</nowiki>'''{{PAGENAME}}<nowiki>|</nowiki>1<nowiki>=</nowiki>Dave<nowiki>|</nowiki>2<nowiki>=</nowiki>a soldier'''<nowiki>}}</nowiki>}} | ||
which produces | which produces | ||
{{ {{PAGENAME}}|Dave|a soldier}} | {{ {{PAGENAME}}|1=Dave|2=a soldier}} | ||
===Size Variable=== | ===Size Variable=== | ||
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'''". You can change it by typing ''3=NUMBERpx'': | ||
{{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>285px'''<nowiki>}}</nowiki>}} | ||
which produces | which produces | ||
{{ {{PAGENAME}}|Dave|3=285px}} | {{ {{PAGENAME}}|1=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 the final dot. You can change it by typing ''4=wished text'': | ||
{{CodeInline|<nowiki>{{</nowiki>'''{{PAGENAME}}<nowiki>|</nowiki>2<nowiki>=</nowiki>a soldier<nowiki>|</nowiki>4<nowiki>=</nowiki>and licks windows'''<nowiki>}}</nowiki>}} | {{CodeInline|<nowiki>{{</nowiki>'''{{PAGENAME}}<nowiki>|</nowiki>2<nowiki>=</nowiki>a soldier<nowiki>|</nowiki>4<nowiki>=</nowiki>and licks windows'''<nowiki>}}</nowiki>}} |
Revision as of 19:25, 17 August 2011
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 | |
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 | |
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 | |
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". You can change it by typing 3=NUMBERpx:
{{Anaconda|1=Dave|3=285px}}
which produces
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 | |
This user is a soldier of Team Anaconda and licks windows. |