Difference between revisions of "Template:Thanks"

From MHWiki
(Code fixes (wasn't substituting signature automatically - d'oh!))
(Better fix (that will actually work properly))
 
Line 3: Line 3:
  
 
<div style="padding:10px; margin-left:25px; margin-bottom:25px; width: 500px; border: 3px solid orange; border-left: 25px solid orange;">'''A quick note of thanks for your contributions to the MHWiki. Your work is appreciated by MouseHunters everywhere!'''
 
<div style="padding:10px; margin-left:25px; margin-bottom:25px; width: 500px; border: 3px solid orange; border-left: 25px solid orange;">'''A quick note of thanks for your contributions to the MHWiki. Your work is appreciated by MouseHunters everywhere!'''
:--{{{1}}}, 14 Feb 2009
+
:--{{{1}}}
 
</div>
 
</div>
 
<noinclude>
 
<noinclude>
 
== Usage ==
 
== Usage ==
Simply paste '''<nowiki>{{subst:thanks|yourusername}}</nowiki>''' onto the Talk page of a user you'd like to thank for his/her contributions to the MouseHunt Wiki. '''Replace "yourusername" with your own username.'''
+
Simply paste '''<nowiki>{{subst:thanks|~~~~}}</nowiki>''' onto the Talk page of a user you'd like to thank for his/her contributions to the MouseHunt Wiki. Your signature and the "Thank You!" section heading are inserted automatically.
 
 
The "Thank You!" section heading is inserted automatically.
 
 
 
  
 
'''Please note the syntax for using this template.'''  It must be substituted (using <nowiki>{{subst:thanks|yourusername}}</nowiki> )  rather than transcluded (using only <nowiki>{{thanks|yourusername}}</nowiki> ). Substitution actually inserts the code into the page rather than adding it in "on the fly" when the page is loaded. This is to avoid offending users if vandalism should occur to this template that isn't reverted before the user sees his/her Talk page.
 
'''Please note the syntax for using this template.'''  It must be substituted (using <nowiki>{{subst:thanks|yourusername}}</nowiki> )  rather than transcluded (using only <nowiki>{{thanks|yourusername}}</nowiki> ). Substitution actually inserts the code into the page rather than adding it in "on the fly" when the page is loaded. This is to avoid offending users if vandalism should occur to this template that isn't reverted before the user sees his/her Talk page.
 
</noinclude>
 
</noinclude>

Latest revision as of 16:42, 14 February 2009

Sample

Thank You!

A quick note of thanks for your contributions to the MHWiki. Your work is appreciated by MouseHunters everywhere!
--{{{1}}}

Usage

Simply paste {{subst:thanks|~~~~}} onto the Talk page of a user you'd like to thank for his/her contributions to the MouseHunt Wiki. Your signature and the "Thank You!" section heading are inserted automatically.

Please note the syntax for using this template. It must be substituted (using {{subst:thanks|yourusername}} ) rather than transcluded (using only {{thanks|yourusername}} ). Substitution actually inserts the code into the page rather than adding it in "on the fly" when the page is loaded. This is to avoid offending users if vandalism should occur to this template that isn't reverted before the user sees his/her Talk page.