Template:Cookie: 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=Cookie.jpg|headerbackground=#817E4B|headercolor=black|headerfontsize=85%|headertext='''A FREE COOKIE'''|maintext={{{1}}} has given {{{2}}} a cookie for {{{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}}
bordercolor=#565|
[[Category:Food Templates|{{PAGENAME}}]]</noinclude>
image=Cookie.jpg|
headerbackground=#817E4B|
headercolor=black|
headerfontsize=90%|
headertext='''A FREE COOKIE'''|
maintext={{{1}}} has given {{{2}}} a cookie 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>

Revision as of 13:40, 10 October 2009

Cookie.jpg A FREE COOKIE
{{{1}}} has given {{{2}}} 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