Difference between revisions of "Template:AwardBox"

From Hack Forums Wiki
Line 4: Line 4:
|  above    = {{PAGENAME}}
|  above    = {{PAGENAME}}
|  abovestyle =color: white; font-weight: bold; background-color: #072948; text-align: center; font-size: 17px;
|  abovestyle =color: white; font-weight: bold; background-color: #072948; text-align: center; font-size: 17px;
|  header1  =
|  label1    =
|  label1    =
image    = [[File:{{PAGENAME}} (Award).png|center]]
data1    =[[File:{{PAGENAME}} (Award).png|center]]
imagestyle = border: none !important;
data1style = border: none !important;
data1    = <i>{{{AwardDesc}}}</i><br><br>
label2    =                  |  data2 = <i>{{{AwardDesc}}}</i><br>
label2   = Type:       |   data2 = {{{AwardType}}}
label3   = Type:         | data3 = {{{AwardType}}}
<!--|  label3    = {{#ifeq:{{#expr: {{Table row counter|page={{PAGENAME}}}}}}||{{Empty}}|Total Recipients:}}                |  data3 = {{#ifeq:{{#expr: {{Table row counter|page={{PAGENAME}}}}}}||{{Empty}}|{{#expr: {{Table row counter|page={{{PAGENAME}}}}} - 1}}}}-->
|  label4    = Award ID:  | data4 = [http://www.hackforums.net/myawards.php?awid={{{AwardID}}} {{White|{{{AwardID}}}}}]
|  label4    = Award ID:  |   data4 = [http://www.hackforums.net/myawards.php?awid={{{AwardID}}} <span style="color: white">{{{AwardID}}}</span>]
}}
}}



Revision as of 17:47, 12 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
| AwardDesc    = 
| AwardType    = 
| AwardID      = 
| AwardDetails = 
| AwardRecip   = 
}}

Example usage is below.

{{AwardBox
| AwardDesc    = Full description of the award, as it appears on awards.php
| 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.  
}}