Template:Muffin: Difference between revisions

From The Urban Dead Wiki
Jump to navigationJump to search
No edit summary
 
No edit summary
 
Line 1: Line 1:
{{UserTemplate|
{{UserTemplate|bordercolor=#565|image=Muffin_50.png|headerbackground=#817E4B|headercolor=black|headerfontsize=90%|headertext='''A FREE Muffin'''|maintext={{{1}}} has given {{{2}}} a Muffin for {{{reason}}}}}<noinclude>{{FlagboxDoc3|1|your username|2|the receiving user's username|reason|the reason|<nowiki>[[User:Example User|Example User]]</nowiki>|himself|eating.|[[User:Example User|Example User]]|himself|eating.}}
bordercolor=#565|
[[Category:Food Templates|{{PAGENAME}}]]</noinclude>
image=Muffin_50.png|
headerbackground=#817E4B|
headercolor=black|
headerfontsize=90%|
headertext='''A FREE Muffin'''|
maintext={{{1}}} has given {{{2}}} a Muffin for {{{reason}}}<noinclude>
[[Category:Food Templates]]
[[Category:Flagboxes|{{PAGENAME}}]]</noinclude>}}<noinclude>
 
 
To use just insert:  
<pre>{{Cookie|1=Who's giving|2=Who's getting|reason=why}}</pre>
Of course, you have to decide what "1", "2" and "reason" are.
</noinclude>

Latest revision as of 01:29, 28 August 2009

Muffin 50.png A FREE Muffin
{{{1}}} has given {{{2}}} a Muffin for {{{reason}}}

Usage

Variables

This flagbox takes three variables:

  • "1" where you should enter your username.
  • "2" where you should enter the receiving user's username.
  • "reason" where you should enter the reason.

For example, if you were to enter "[[User:Example User|Example User]]", "himself" and "eating." using this code:

{{Muffin|[[User:Example User|Example User]]|himself|reason=eating.}}

this would produce

Muffin 50.png A FREE Muffin
Example User has given himself a Muffin for eating.