Template:Crack: Difference between revisions

From The Urban Dead Wiki
Jump to navigationJump to search
mNo edit summary
 
No edit summary
 
Line 1: Line 1:
{{UserTemplate|
{{flagbox|#817E4B|Crack-pipe.jpg|It seemed like a good Idea…|{{{1}}} has given {{{2}}} a crackpipe {{{3}}}}}<noinclude>{{FlagboxDoc3|1|Your username|2|the receiving user's username|3|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:User Templates|{{PAGENAME}}]]</noinclude>
bordercolor=#565|
image=Crack-pipe.jpg|
headerbackground=#817E4B|
headercolor=white|
headerfontsize=90%|
headertext='''It seemed like a good Idea…'''|
maintext={{{1}}} has given {{{2}}} a crackpipe {{{3}}}}}<noinclude>
==Example==
Adding {{CodeInline|<nowiki>{{crack|Xoid|himself|template.}}</nowiki>}} to a page would produce:
<p>{{crack|Xoid|himself|template.}}</p>
[[Category:Flagboxes|{{PAGENAME}}]]
[[Category:User Templates|{{PAGENAME}}]]</noinclude>

Latest revision as of 19:07, 6 June 2011

Crack-pipe.jpg It seemed like a good Idea…
{{{1}}} has given {{{2}}} a crackpipe {{{3}}}

Usage

Variables

This flagbox takes three variables:

  • "1" where you should enter Your username.
  • "2" where you should enter the receiving user's username.
  • "3" 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:

{{Crack|[[User:Example User|Example User]]|himself|all his hard work.}}

this would produce

Crack-pipe.jpg It seemed like a good Idea…
Example User has given himself a crackpipe all his hard work.