Template:Cookie: Difference between revisions

From The Urban Dead Wiki
Jump to navigationJump to search
m (Cleanup brackets)
No edit summary
 
Line 1: Line 1:
{{UserTemplate|bordercolor=#565|image=Cookie.jpg|headerbackground=#817E4B|headercolor=black|headerfontsize=85%|headertext='''A FREE COOKIE'''|maintext={{{1|{{{giver}}}}}} has given {{{2|{{{recipient}}}}}} a cookie for {{{3|{{{reason}}}}}} }}<noinclude>{{FlagboxDoc3|1|your username|2|the receiving user's username|reason|the reason|<nowiki>[[User:Example User|Example User]]</nowiki>|himself|all his hard work|[[User:Example User|Example User]]|himself|all his hard work}}
{{UserTemplate|bordercolor=#565|image=Cookie.jpg|headerbackground=#DEB887|headercolor=black|headerfontsize=85%|headertext='''A FREE COOKIE'''|maintext={{{1|{{{giver}}}}}} has given {{{2|{{{recipient}}}}}} a cookie for {{{3|{{{reason}}}}}} }}<noinclude>{{FlagboxDoc3|1|your username|2|the receiving user's username|reason|the reason|<nowiki>[[User:Example User|Example User]]</nowiki>|himself|all his hard work|[[User:Example User|Example User]]|himself|all his hard work}}
[[Category:Food Templates|{{PAGENAME}}]]</noinclude>
[[Category:Food Templates|{{PAGENAME}}]]</noinclude>

Latest revision as of 13:21, 31 January 2012

Cookie.jpg A FREE COOKIE
{{{giver}}} has given {{{recipient}}} a cookie 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 "all his hard work" using this code:

{{Cookie|[[User:Example User|Example User]]|himself|reason=all his hard work}}

this would produce

Cookie.jpg A FREE COOKIE
Example User has given himself a cookie for all his hard work