Difference between revisions of "Template:AwardBox"

From Hack Forums Wiki
(Update style.)
Line 1: Line 1:
<includeonly>
<includeonly>
{{Infobox
{{Infobox
|  bodystyle  = overflow: auto; width: 20%; background: #333333; color: #d3d3d3; float: right; border: 1px solid #072948; border-collapse: collapse;
|  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      = {{PAGENAME}}
|  above      = {{PAGENAME}}
|  abovestyle = color: white; font-weight: bold; background-color: #072948; text-align: center; font-size: 17px;
|  abovestyle = background: #1f1f1f; font-weight: bold; font-size: 16px; text-align: center; color: white; padding: 0px 0px 3px 0px;
|  labelstyle = border: 1px solid #072948;
|  labelstyle = border: 2px solid #1f1f1f; padding-left: 5px;
|  datastyle  = border: 1px solid #072948;
|  datastyle  = border: 2px solid #1f1f1f; padding-left: 5px;
|  image      = [[File:{{PAGENAME}} (Award).png|center|link=]]
|  image      = [[File:{{PAGENAME}} (Award).png|center|link=]]
|  caption    = <i>{{{AwardDesc}}}</i><br>
|  caption    = <i>{{{AwardDesc}}}</i><br>

Revision as of 09:38, 21 March 2021


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, Discontinued.

Regular

Anything that can be given out normally, and is not explicitly defined as Limited in its description or by Omniscient.

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.

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