Template:Awards/doc: Difference between revisions

From [N8]
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
 
(One intermediate revision by the same user not shown)
Line 6: Line 6:


===Usage===
===Usage===
{{t|Awards|player|nominator|message<nowiki>=</nowiki>message <nowiki>~~~~</nowiki>}}
{{t|Awards|player|nominator|message=}}


For example:
For example:
Line 17: Line 17:
#Take the following code snippet and paste it on the new page.
#Take the following code snippet and paste it on the new page.
#Change the '''AWARDNAME''' to the Award name and save the page.  
#Change the '''AWARDNAME''' to the Award name and save the page.  
#Create a documentation page for it, you  can preview other award template documentation pages to see what to put.
#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.
#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.
#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.

Latest revision as of 08:23, 1 June 2020

This is a documentation subpage for Template:Awards.
It contains usage information, categories, and other content that is not part of the original template page.

The following are the codes for the various Wiki Awards:

  • Wikian - Given to Wiki Users for major dedication towards editing

Usage

{{Awards|player|message=|nominator}}

For example: {{Awards/Wikian|player=Osilliator|message=Outstanding Wiki Dedication|nom=Banri}} would output:

Template:Awards/Wikian

Creating an Award

  1. To create an award, create a page with Template:Awards/AWARDNAME.
  2. Take the following code snippet and paste it on the new page.
  3. Change the AWARDNAME to the Award name and save the page.
  4. Create a documentation page for it. See the source code for the Wikian award documentation page to get the layout.
  5. If you do not have an Image for the Award, skip this step. Add your image by going to Awards Image Template and adding your file to both the template and its documentation page.
  6. Update the main template documentation with the new award parameter by going to Awards Documentation page and adding it to the list.
  7. Done!
{| 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>