Difference between revisions of "Template:Cookie/doc"
imported>Tijfo098 m |
imported>JJMC89 bot III m (Merging Category:Human Food WikiLove templates to Category:Food WikiLove templates per Wikipedia:Categories for discussion/Log/2020 May 18#Category:Human Food WikiLove templates) |
||
| (12 intermediate revisions by 9 users not shown) | |||
| Line 1: | Line 1: | ||
| + | <!-- Categories and interwikis go at the bottom of this page. --> | ||
{{Documentation subpage}} | {{Documentation subpage}} | ||
| − | + | {{subst only}} | |
=== Usage === | === Usage === | ||
| − | {{ | + | To use this template, add <code><nowiki>{{subst:cookie}}</nowiki></code> |
| + | to the talk page of the user you wish to award it to. | ||
| + | |||
| + | This template automatically adds your name by using the [[Help:Magic word|magic word]] "REVISIONUSER" and will replace <nowiki>{{</nowiki>subst:REVISIONUSER}} shown in this template. | ||
| + | |||
| + | To add an additional message, use the <code>|message=</code> parameter as shown below.<br /> | ||
| + | <code><nowiki>{{subst:Cookie|message=''This is an additional message that you can add if you'd like.''}}</nowiki></code> | ||
| + | |||
| + | <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]] | ||
| + | |||
| + | <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 === | ||
| − | + | {{WikiLove see also}} | |
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | <includeonly> | + | <includeonly>{{Sandbox other|| |
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS --> | <!-- CATEGORIES AND INTERWIKIS HERE, THANKS --> | ||
| − | [[Category:WikiLove templates| | + | [[Category:Food WikiLove templates|{{PAGENAME}}]] |
| − | |||
| − | |||
[[hy:Կաղապար:Թխվածք]] | [[hy:Կաղապար:Թխվածք]] | ||
[[ru:Шаблон:Cookie]] | [[ru:Шаблон:Cookie]] | ||
[[ka:თარგი:ნამცხვარი]] | [[ka:თარგი:ნამცხვარი]] | ||
| − | + | }}</includeonly> | |
| − | </includeonly> | ||
Latest revision as of 03:18, 4 June 2020
| This is a documentation subpage for Template:Cookie. It contains usage information, categories and other content that is not part of the original template page. |
| 40x40px | This template should always be substituted (i.e., use {{subst:Cookie}}). |
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.''}}
{{subst:REVISIONUSER}} has given you a cookie! Cookies promote 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 {{subst:Cookie}} to someone's talk page with a friendly message, or eat this cookie on the giver's talk page with {{subst:munch}}!
See also
