Difference between revisions of "Template:AwardBox"
(add goal type) |
|||
(3 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
<includeonly> | <includeonly> | ||
{{Infobox | {{Infobox | ||
| bodystyle = overflow: auto; width: 20%; background: | | bodystyle = overflow: auto; width: 20%; background: transparent; color: #d2d2d2; float: right; border-collapse: collapse; border-style: hidden; border-radius: 5px; box-shadow: 0 0 0 4px #1f1f1f; margin: 5px; | ||
| above | | above = {{PAGENAME}} | ||
| abovestyle = | | abovestyle = background: #1f1f1f; font-weight: bold; font-size: 16px; text-align: center; color: white; padding: 0px 0px 3px 0px; | ||
| labelstyle = border: | | labelstyle = border: 2px solid #1f1f1f; padding-left: 5px; | ||
| datastyle = border: | | datastyle = border: 2px solid #1f1f1f; padding-left: 5px; | ||
| image | | image = [[File:{{PAGENAME}} (Award).png|center|link=]] | ||
| caption | | caption = <i>{{{AwardDesc}}}</i><br> | ||
| label1 | | label1 = Type: | data1 = {{{AwardType}}} | ||
| label2 | | label2 = Award ID: | data2 = [http://www.hackforums.net/myawards.php?awid={{{AwardID}}} <span style="color: white;">{{{AwardID}}}</span>] | ||
}} | }} | ||
Line 20: | Line 20: | ||
{{AwardNavbox}} | {{AwardNavbox}} | ||
[[Category:Awards]] | [[Category:Awards]] | ||
{{#switch:{{{AwardType|}}}|Regular = [[Category:Regular Awards]]|Paid = [[Category:Paid Awards]]|Limited = [[Category:Limited Awards]]|Discontinued = [[Category:Discontinued Awards]]|}} | {{#switch:{{{AwardType|}}}|Regular = [[Category:Regular Awards]]|Paid = [[Category:Paid Awards]]|Limited = [[Category:Limited Awards]]|Goal = [[Category:Goal Awards]]|Discontinued = [[Category:Discontinued Awards]]|}} | ||
</includeonly> | </includeonly> | ||
<noinclude> | <noinclude> | ||
Line 29: | Line 29: | ||
===AwardType=== | ===AwardType=== | ||
Valid arguments are Regular, Paid, Limited, Discontinued. | Valid arguments are Regular, Paid, Limited, Goal, Discontinued. | ||
====Regular==== | ====Regular==== | ||
Anything that can be given out normally, and is not explicitly defined as Limited in its description or by Omniscient. | Anything that can be given out normally, and is not explicitly defined as Limited in its description or by Omniscient. | ||
Line 38: | Line 38: | ||
====Limited==== | ====Limited==== | ||
Anything explicitly defined as being in limited quantity. The only two that fall into this category are the [[Qwazz Star]] and [[Gavel of Dredd]]. | Anything explicitly defined as being in limited quantity. The only two that fall into this category are the [[Qwazz Star]] and [[Gavel of Dredd]]. | ||
====Goal==== | |||
Anything that is an award goal. | |||
====Discontinued==== | ====Discontinued==== | ||
Line 82: | Line 85: | ||
{{AwardBox | {{AwardBox | ||
| AwardDesc = Full description of the award, as it appears on awards.php | | AwardDesc = Full description of the award, as it appears on awards.php | ||
| AwardType = | | AwardType = Paid, Regular, Limited, Discontinued. | ||
| AwardID = The exact Award ID #. | | AwardID = The exact Award ID #. | ||
| AwardDetails = If details for the award are public (donator awards), list them here. Else, detail why the award is usually given out. | | AwardDetails = If details for the award are public (donator awards), list them here. Else, detail why the award is usually given out. |
Latest revision as of 14:36, 31 January 2022
This template is used on Award pages (any article with the Award: namespace), and is used to describe the specific details of said award.
Documentation
AwardDesc
The official description of the award as it appears on the Awards page.
AwardType
Valid arguments are Regular, Paid, Limited, Goal, Discontinued.
Regular
Anything that can be given out normally, and is not explicitly defined as Limited in its description or by Omniscient.
Paid
Anything that you can purchase with money; all awards on this page are Paid Awards.
Limited
Anything explicitly defined as being in limited quantity. The only two that fall into this category are the Qwazz Star and Gavel of Dredd.
Goal
Anything that is an award goal.
Discontinued
Anything that is no longer being distributed towards members. Awards that fall into this category often say that they're no longer being given out in their description.
AwardID
ID number of the award from the Awards Page.
AwardDetails
Go into more details on what the award is about, if it has a history or if there's anything special about it. Be creative.
AwardRecip
Wiki Table of the Award Recipients. Blank template is below.
<!--DO NOT CHANGE ANYTHING BELOW ME --> {{{!}} class="wikitable" {{!}}- ! Recipient Name !! Reason !! Date Given {{!}}- <!--DO NOT CHANGE ANYTHING ABOVE ME --> {{!}} Name Here {{!}}{{!}} Reason Here {{!}}{{!}} Date Here {{!}}- {{!}} Name Here {{!}}{{!}} Reason Here {{!}}{{!}} Date Here {{!}}- {{!}} Name Here {{!}}{{!}} Reason Here {{!}}{{!}} Date Here {{!}}- {{!}} Name Here {{!}}{{!}} Reason Here {{!}}{{!}} Date Here {{!}}- {{!}}} }}
A blank version of the template can be found below.
{{AwardBox | AwardDesc = | AwardType = | AwardID = | AwardDetails = | AwardRecip = }}
Example usage is below.
{{AwardBox | AwardDesc = Full description of the award, as it appears on awards.php | AwardType = Paid, Regular, Limited, Discontinued. | AwardID = The exact Award ID #. | AwardDetails = If details for the award are public (donator awards), list them here. Else, detail why the award is usually given out. | AwardRecip = Table of Award Recipients. When making the table, the pipe character must be escaped! Use {{!}} to do it. }}