Difference between revisions of "Template:Cookie/doc"

From blackwiki
Jump to navigation Jump to search
imported>Jerem43
(Change category)
imported>JJMC89 bot III
 
(5 intermediate revisions by 4 users not shown)
Line 1: Line 1:
 
<!-- Categories and interwikis go at the bottom of this page. -->
 
<!-- Categories and interwikis go at the bottom of this page. -->
 
{{Documentation subpage}}
 
{{Documentation subpage}}
 +
{{subst only}}
  
{{substituted}}
 
{{subst only}}
 
 
=== Usage ===
 
=== Usage ===
 
To use this template, add <code><nowiki>{{subst:cookie}}</nowiki></code>
 
To use this template, add <code><nowiki>{{subst:cookie}}</nowiki></code>
Line 13: Line 12:
 
<code><nowiki>{{subst:Cookie|message=''This is an additional message that you can add if you'd like.''}}</nowiki></code>  
 
<code><nowiki>{{subst:Cookie|message=''This is an additional message that you can add if you'd like.''}}</nowiki></code>  
  
<!-- Please DO NOT subst on this /doc page as it will interfere with the example shown. Thanks. -->
+
<div style="border-style:solid; border-color:blue; background-color:AliceBlue; border-width:1px; text-align:left; padding:8px;" class="plainlinks">[[File:Choco chip cookie.png|100px|left]]
{{Cookie|message=''This is an additional message that you can add if you'd like.''}}
+
 
 +
<nowiki>{{subst:REVISIONUSER}}</nowiki> has given you a [[cookie]]! Cookies promote [[Wikipedia:WikiLove|WikiLove]] and hopefully this one has made your day better. You can spread the WikiLove by giving someone else a cookie, whether it be someone you have had disagreements with in the past or a good friend.  
 +
 
 +
''This is an additional message that you can add if you'd like.''
 +
 
 +
To spread the goodness of cookies, you can add {{tls|Cookie}} to someone's talk page with a friendly message, or eat this cookie on the giver's talk page with {{tls|munch}}!
 +
 +
{{clear}}
 +
</div>
  
 
=== See also ===
 
=== See also ===
{{Food Wikilove templates}}
+
{{WikiLove see also}}
  
<includeonly>
+
<includeonly>{{Sandbox other||
 
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
 
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
 
[[Category:Food WikiLove templates|{{PAGENAME}}]]
 
[[Category:Food WikiLove templates|{{PAGENAME}}]]
Line 26: Line 33:
 
[[ru:Шаблон:Cookie]]
 
[[ru:Шаблон:Cookie]]
 
[[ka:თარგი:ნამცხვარი]]
 
[[ka:თარგი:ნამცხვარი]]
</includeonly>
+
}}</includeonly>

Latest revision as of 03:18, 4 June 2020

Usage

To use this template, add {{subst:cookie}} to the talk page of the user you wish to award it to.

This template automatically adds your name by using the magic word "REVISIONUSER" and will replace {{subst:REVISIONUSER}} shown in this template.

To add an additional message, use the |message= parameter as shown below.
{{subst:Cookie|message=''This is an additional message that you can add if you'd like.''}}

See also

Template:WikiLove see also