Template:Milk: 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=Milk.gif|headerbackground=#817E4B|headercolor=black|headerfontsize=90%|headertext='''A Free Glass of Milk'''|maintext={{{1}}} has given {{{2}}} a glass of milk for {{{reason}}}.}}<noinclude>{{FlagboxDoc3|1|your username|2|the receiving user's username|reason|the reason|<nowiki>[[User:Example User|Example User]]</nowiki>|himself|the calcium content|[[User:Example User|Example User]]|himself|the calcium content}}[[Category:Food Templates|{{PAGENAME}}]]</noinclude>
bordercolor=#565|
image=Milk.gif|
headerbackground=#817E4B|
headercolor=black|
headerfontsize=90%|
headertext='''A Free Glass of Milk'''|
maintext={{{1}}} has given {{{2}}} a glass of milk for {{{reason}}}.}}<noinclude>
[[Category:Food Templates]]
[[Category:Flagboxes|{{PAGENAME}}]]</noinclude>
<noinclude>
==Usage==
To include this template on your user and/or group page, add the following line to it: <pre>{{Milk}}</pre> </noinclude>

Latest revision as of 01:14, 28 August 2009

Milk.gif A Free Glass of Milk
{{{1}}} has given {{{2}}} a glass of milk 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 "the calcium content" using this code:

{{Milk|[[User:Example User|Example User]]|himself|reason=the calcium content}}

this would produce

Milk.gif A Free Glass of Milk
Example User has given himself a glass of milk for the calcium content.