Template:Contrib

From LostRing

(Difference between revisions)
Jump to: navigation, search
Revision as of 15:08, 7 May 2008 (edit)
Weezel (Talk | contribs)
m
← Previous diff
Current revision (16:30, 7 May 2008) (edit) (undo)
Weezel (Talk | contribs)
m (It was a stupid typo mistake, but only 3 are in the wild, so let's fix them before the OCD overwhelms everyone...)
 
(24 intermediate revisions not shown.)
Line 1: Line 1:
<noinclude> <noinclude>
Amateur idea stolen from Wikipedia which allows contributors to be thanked for doing something special for the Wiki. I thought we needed a little bit of that. Plus, I needed an excuse to learn how to make a template. Amateur idea stolen from Wikipedia which allows contributors to be thanked for doing something special for the Wiki. I thought we needed a little bit of that. Plus, I needed an excuse to learn how to make a template.
 +(Also, let's not get award-happy here :) it's a nice addition, but it really is secondary, of course)
Parameters:<br\> Parameters:<br\>
Line 8: Line 9:
'''givenby''' = Your username<br/> '''givenby''' = Your username<br/>
'''givenbydisplay''' = How you want your name displayed<br/> '''givenbydisplay''' = How you want your name displayed<br/>
 +'''givenby2''' = Your username (for the second person)<br/>
 +'''givenby2display''' = How you want your name displayed (for the second person)<br/>
'''message''' = Any additional message or text you wish to leave<br/> '''message''' = Any additional message or text you wish to leave<br/>
-</noinclude>+</noinclude><div {{{style|style="background-color:#f9f0C9; border:1px solid #888850; float:left; padding:2px 10px; width:auto; display:block;position:relative;"}}}>
- +<table style="background:transparent;"><tr><td>
-<div {{{style|style="background-color:#f9f0C9; border:1px solid #888850; clear:left; float:left; padding:2px; width:350px;"}}}>+{{#if:{{{image|}}}|[[Image:{{{image}}}]]|[[Image:Contrib.png]]}}</td><td>
-{{#if:{{{image|}}}|[[Image:{{{image}}}|left]]|[[Image:Contrib.png|left]]}}+<div style="white-space:nowrap;"><b>{{{title|Thank You For Your Hard Work}}}</b></div>
-<b>{{{title|Thank You For Your Hard Work}}}</b><br\> +<small>{{{awardmonth|{{CURRENTMONTHNAME}} {{CURRENTYEAR}}}}}<br\>
-<small>+{{#if:{{{givenby|}}}|Awarded By: [[User:{{{givenby}}}|{{{givenbydisplay|{{{givenby}}}}}}]]{{#if:{{{givenby2|}}}|, [[User:{{{givenby2}}}|{{{givenby2display|{{{givenby2}}}}}}]]}}<br />|<br />}}</small></td></tr></table>
-{{{awardmonth|{{CURRENTMONTHNAME}} {{CURRENTYEAR}}}}}<br\> +<div style="width:300px;"><small>{{#if:{{{message|}}}|{{{message}}}|}}</small></div>
-{{#if:{{{givenby|}}}|Awarded By: [[Users:{{{givenby}}}|{{{givebydisplay|{{{givenby}}}}}}]]<br />|<br />}}+
-<br/>+
-{{#if:{{{message|}}}|{{{message}}}<br/>|}}+
-</small>+
</div> </div>

Current revision

Amateur idea stolen from Wikipedia which allows contributors to be thanked for doing something special for the Wiki. I thought we needed a little bit of that. Plus, I needed an excuse to learn how to make a template. (Also, let's not get award-happy here :) it's a nice addition, but it really is secondary, of course)

Parameters:
style = How you want to style your box. Maybe as I expand on this idea, I can come up with some standard styles for different kids of contributions.
image = What image to use for the award
awardmonth = What month/year are you given this award for. Defaults to current month/year
givenby = Your username
givenbydisplay = How you want your name displayed
givenby2 = Your username (for the second person)
givenby2display = How you want your name displayed (for the second person)
message = Any additional message or text you wish to leave

Image:Contrib.png
Thank You For Your Hard Work

April 2024


Personal tools
[Support Wikibruce]
Wikibruce