Difference between revisions of "Template:AwardBox"
From Hack Forums Wiki
Line 15: | Line 15: | ||
{{#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]]|Discontinued = [[Category:Discontinued Awards]]|}} | ||
}} | }} | ||
==Details== | |||
{{#if: {{{AwardDetails|}}}|{{{AwardDetails}}}|There are no known details about this award at this time.}} | {{#if: {{{AwardDetails|}}}|{{{AwardDetails}}}|There are no known details about this award at this time.}} | ||
==Recipients== | |||
{{#if: {{{AwardRecip|}}}|{{{AwardRecip}}}|There are no known recipients of this award at this time.}} | {{#if: {{{AwardRecip|}}}|{{{AwardRecip}}}|There are no known recipients of this award at this time.}} | ||
Line 32: | Line 35: | ||
| AwardID = | | AwardID = | ||
| AwardDetails = | | AwardDetails = | ||
| AwardRecip = | |||
}} | }} | ||
</pre> | </pre> | ||
Line 45: | Line 49: | ||
| 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. | ||
| AwardRecip = Table of Award Recipients. When making the table, the pipe character must be escaped! Use {{!}} to do it. | |||
}} | }} | ||
</pre> | </pre> |
Revision as of 11:45, 10 July 2015
This template is used on Award pages (any article with the Award: namespace), and is used to describe the specific details of said award.
{{AwardBox | AwardName = | AwardPic = | AwardDesc = | AwardStatus = | AwardFounded = | AwardType = | AwardID = | AwardDetails = | AwardRecip = }}
Example usage is below.
{{AwardBox | AwardName = Full name of the award, as it appears on awards.php | AwardPic = Image of the award (no File: is necessary, but include (Award)) | AwardDesc = Full description of the award, as it appears on awards.php | AwardStatus = If the Award is being given out, list as "Active". If it's been discontinued, list as "Closed" | AwardFounded = The MM-DD-YYYY that the award was released. If unknown, use the date of the first recipient. | AwardType = Purchased, Earned, Limited, or 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. }}