Difference between revisions of "Template:AwardBox"

From Hack Forums Wiki
m (1 revision)
Line 1: Line 1:
<includeonly>
{{Infobox
{{Infobox
|  bodystyle = overflow: auto; width: 20%; background: #333333; color: #d3d3d3; float: right;
|  bodystyle = overflow: auto; width: 20%; background: #333333; color: #d3d3d3; float: right;
Line 11: Line 12:
|  label5    = {{#ifeq:{{#expr: {{Table row counter|page={{{PAGENAME}}}}}}}||{{Empty}}|Total Recipients:}}                |  data5 = {{#ifeq:{{#expr: {{Table row counter|page={{{PAGENAME}}}}}}}||{{Empty}}|{{#expr: {{Table row counter|page={{{PAGENAME}}}}} - 1}}}}
|  label5    = {{#ifeq:{{#expr: {{Table row counter|page={{{PAGENAME}}}}}}}||{{Empty}}|Total Recipients:}}                |  data5 = {{#ifeq:{{#expr: {{Table row counter|page={{{PAGENAME}}}}}}}||{{Empty}}|{{#expr: {{Table row counter|page={{{PAGENAME}}}}} - 1}}}}
|  label6    = Award ID:                                                                                                  |  data6 = [http://www.hackforums.net/myawards.php?awid={{{AwardID}}} <span style="color: white">{{{AwardID}}}</span>]
|  label6    = Award ID:                                                                                                  |  data6 = [http://www.hackforums.net/myawards.php?awid={{{AwardID}}} <span style="color: white">{{{AwardID}}}</span>]
<includeonly>[[Category:Awards]]
[[Category:Awards]]
{{#switch:{{{AwardType|}}}|Regular = [[Category:Regular Awards]]|Paid = [[Category:Paid Awards]]|Limited = [[Category:Limited Awards]]|Discontinued = [[Category:Discontinued Awards]]|}}</includeonly>
{{#switch:{{{AwardType|}}}|Regular = [[Category:Regular Awards]]|Paid = [[Category:Paid Awards]]|Limited = [[Category:Limited Awards]]|Discontinued = [[Category:Discontinued Awards]]|}}
{{AwardNavbox}}
</includeonly>
}}
}}
{{#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.}}

Revision as of 20:06, 9 July 2015

}} There are no known details about this award at this time.

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 = 
}}

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.
}}

== Recipients ==
{| class="wikitable sortable"
! Recipient !! Link !! Reason !! Date
|-
| [[Member:UID|USERNAME]] || [http://www.hackforums.net/myawards.php?uid=UID UID] || EXACT REASON. || MM-DD-YYYY, HH:MM PM
|-
| [[Member:UID|USERNAME]] || [http://www.hackforums.net/myawards.php?uid=UID UID] || EXACT REASON. || MM-DD-YYYY, HH:MM PM
|-
| [[Member:UID|USERNAME]] || [http://www.hackforums.net/myawards.php?uid=UID UID] || EXACT REASON. || MM-DD-YYYY, HH:MM PM
|}