Template:DrunkLevelBig: Difference between revisions

From The Urban Dead Wiki
Jump to navigationJump to search
No edit summary
No edit summary
 
(One intermediate revision by the same user not shown)
Line 4: Line 4:
|-
|-
| {{{1|{{{User|This user}}}}}} is currently {{{2|{{{Level|drunk}}}}}}
| {{{1|{{{User|This user}}}}}} is currently {{{2|{{{Level|drunk}}}}}}
|}<noinclude>
|}<noinclude>{{SuperboxDoc}}[[Category:Food Templates|{{PAGENAME}}]]</noinclude>
==Usage==
===Variables===
This flagbox takes two variables:
*"1" where you should enter your username.
*"2" where you should enter your level of sobriety (or lack thereof).
 
For example, if you were to enter "'''Michael McIntyre'''" and "'''"gazeboed"'''" using this code:
 
{{CodeInline|<nowiki>{{</nowiki>'''{{PAGENAME}}<nowiki>|</nowiki>{{Switch|1|case: 1=|default=1&#61;}}Michael McIntyre<nowiki>|</nowiki>{{Switch|2|case: 2=|default=2&#61;}}"gazeboed"'''<nowiki>}}</nowiki>}}
 
this would produce
{{ {{PAGENAME}}|1={{{7|Michael McIntyre}}}|2={{{8|"gazeboed"}}} }}
 
__NOEDITSECTION__ __NOTOC__[[Category:Flagboxes|{{PAGENAME}}]][[Category:Food Templates|{{PAGENAME}}]]</noinclude>

Latest revision as of 17:02, 16 February 2010

Martini.jpg Sobriety
This user is currently drunk

Usage

Standard

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

{{DrunkLevelBig}}

which produces

Martini.jpg Sobriety
This user is currently drunk

Name Variable

This superbox takes one variable to optionally set the name of the user/group, otherwise defaulting to "This user", "This group or "This user or group" as appropriate:

{{DrunkLevelBig|Dave}}

which produces

Martini.jpg Sobriety
Dave is currently drunk