Template:Awards/doc: Difference between revisions
mNo edit summary |
mNo edit summary |
||
| (3 intermediate revisions by the same user not shown) | |||
| Line 6: | Line 6: | ||
===Usage=== | ===Usage=== | ||
{{t|Awards|player|message | {{t|Awards|player|nominator|message=}} | ||
For example: | For example: | ||
{{T|Awards/Wikian|player='''Osilliator'''|message=Outstanding Wiki Dedication}} would output: | {{T|Awards/Wikian|player='''Osilliator'''|nom='''Banri'''|message=Outstanding Wiki Dedication}} would output: | ||
{{Awards/Wikian|player='''Osilliator'''|message=Outstanding Wiki Dedication}} | {{Awards/Wikian|player='''Osilliator'''|nom='''Banri'''|message=Outstanding Wiki Dedication}} | ||
===Creating an Award=== | |||
#To create an award, create a page with <code>Template:Awards/AWARDNAME</code>. | |||
#Take the following code snippet and paste it on the new page. | |||
#Change the '''AWARDNAME''' to the Award name and save the page. | |||
#Create a documentation page for it. See the source code for the [[Template:Awards/Wikian/doc|Wikian award documentation]] page to get the layout. | |||
#If you do not have an Image for the Award, skip this step. Add your image by going to [[Template:Award image|Awards Image Template]] and adding your file to both the template and its documentation page. | |||
#Update the main template documentation with the new award parameter by going to [[Template:Awards/doc|Awards Documentation]] page and adding it to the list. | |||
#Done! | |||
<pre> | |||
{| class="messagebox" style="padding:5px; width: 60%; -moz-border-radius-topright:40px; -webkit-border-top-right-radius: 40px; border-top-right-radius:40px; -moz-border-radius-bottomright:40px; -webkit-border-bottom-right-radius:40px; border-bottom-right-radius:40px; -moz-border-radius-bottomleft:20px; -webkit-border-bottom-left-radius:20px; border-bottom-left-radius: 20px;" | |||
| style="width: 30%;" |{{Award image|AWARDNAME}} | |||
| style="vertical-align: top;" | '''<span style="font-size:150%;">AWARDNAME</span>'''<br />''<span style="font-size:85%;">Awarded to {{{player}}}</span>''<br />''<span style="font-size:85%;">Awarded by {{{nom}}}</span>''<br /><br /><big>{{{message}}}</big> | |||
|}<noinclude>{{/doc}}</noinclude> | |||
</pre> | |||