Difference between revisions of "Template:AwardsList"

From Hack Forums Wiki
Line 18: Line 18:
{{#ifeq: {{{text|}}}|False|
{{#ifeq: {{{text|}}}|False|
<span style="line-height: 50%;">
<span style="line-height: 50%;">
{{#if:{{{AwardName1|}}}|[[File:{{{AwardName1}}} (Award).png|link={{{AwardName1}}}]]|{{Empty}}}}{{#if:{{{AwardName2|}}}|[[File:{{{AwardName2}}} (Award).png|link={{{AwardName2}}}]]|{{Empty}}}}{{#if:{{{AwardName3|}}}|[[File:{{{AwardName3}}} (Award).png|link={{{AwardName3}}}]]|{{Empty}}}}{{#if:{{{AwardName4|}}}|[[File:{{{AwardName4}}} (Award).png|link={{{AwardName4}}}]]|{{Empty}}}}{{#if:{{{AwardName5|}}}|[[File:{{{AwardName5}}} (Award).png|link={{{AwardName5}}}]]|{{Empty}}}}{{#if:{{{AwardName6|}}}|[[File:{{{AwardName6}}} (Award).png|link={{{AwardName6}}}]]<br>|}}{{#if:{{{AwardName7|}}}|[[File:{{{AwardName7}}} (Award).png|link={{{AwardName7}}}]]|{{Empty}}}}{{#if:{{{AwardName8|}}}|[[File:{{{AwardName8}}} (Award).png|link={{{AwardName8}}}]]|{{Empty}}}}{{#if:{{{AwardName9|}}}|[[File:{{{AwardName9}}} (Award).png|link={{{AwardName9}}}]]|{{Empty}}}}{{#if:{{{AwardName10|}}}|[[File:{{{AwardName10}}} (Award).png|link={{{AwardName10}}}]]|{{Empty}}}}{{#if:{{{AwardName11|}}}|[[File:{{{AwardName11}}} (Award).png|link={{{AwardName11}}}]]|{{Empty}}}}{{#if:{{{AwardName12|}}}|[[File:{{{AwardName12}}} (Award).png|link={{{AwardName12}}}]]<br>|}}{{#if:{{{AwardName13|}}}|[[File:{{{AwardName13}}} (Award).png|link={{{AwardName13}}}]]|{{Empty}}}}{{#if:{{{AwardName14|}}}|[[File:{{{AwardName14}}} (Award).png|link={{{AwardName14}}}]]|{{Empty}}}}{{#if:{{{AwardName15|}}}|[[File:{{{AwardName15}}} (Award).png|link={{{AwardName15}}}]]|{{Empty}}}}{{#if:{{{AwardName16|}}}|[[File:{{{AwardName16}}} (Award).png|link={{{AwardName16}}}]]|{{Empty}}}}{{#if:{{{AwardName17|}}}|[[File:{{{AwardName17}}} (Award).png|link={{{AwardName17}}}]]|{{Empty}}}}{{#if:{{{AwardName18|}}}|[[File:{{{AwardName18}}} (Award).png|link={{{AwardName18}}}]]<br>|}}{{#if:{{{AwardName19|}}}|[[File:{{{AwardName19}}} (Award).png|link={{{AwardName19}}}]]|{{Empty}}}}{{#if:{{{AwardName20|}}}|[[File:{{{AwardName20}}} (Award).png|link={{{AwardName20}}}]]|{{Empty}}}}{{#if:{{{AwardName21|}}}|[[File:{{{AwardName21}}} (Award).png|link={{{AwardName21}}}]]|{{Empty}}}}{{#if:{{{AwardName22|}}}|[[File:{{{AwardName22}}} (Award).png|link={{{AwardName22}}}]]|{{Empty}}}}{{#if:{{{AwardName23|}}}|[[File:{{{AwardName23}}} (Award).png|link={{{AwardName23}}}]]|{{Empty}}}}{{#if:{{{AwardName24|}}}|[[File:{{{AwardName24}}} (Award).png|link={{{AwardName24}}}]]<br>|}}{{#if:{{{AwardName25|}}}|[[File:{{{AwardName25}}} (Award).png|link={{{AwardName25}}}]]|{{Empty}}}}{{#if:{{{AwardName26|}}}|[[File:{{{AwardName26}}} (Award).png|link={{{AwardName26}}}]]|{{Empty}}}}{{#if:{{{AwardName27|}}}|[[File:{{{AwardName27}}} (Award).png|link={{{AwardName27}}}]]|{{Empty}}}}{{#if:{{{AwardName28|}}}|[[File:{{{AwardName28}}} (Award).png|link={{{AwardName28}}}]]|{{Empty}}}}{{#if:{{{AwardName29|}}}|[[File:{{{AwardName29}}} (Award).png|link={{{AwardName29}}}]]|{{Empty}}}}{{#if:{{{AwardName30|}}}|[[File:{{{AwardName30}}} (Award).png|link={{{AwardName30}}}]]|{{Empty}}}}
{{#if: {{{AwardName1|}}}|{{Empty}}|{{Empty}}}}{{#if:{{{AwardName1|}}}|[[File:{{{AwardName1}}} (Award).png|link={{{AwardName1}}}]]|{{Empty}}}}{{#if:{{{AwardName2|}}}|[[File:{{{AwardName2}}} (Award).png|link={{{AwardName2}}}]]|{{Empty}}}}{{#if:{{{AwardName3|}}}|[[File:{{{AwardName3}}} (Award).png|link={{{AwardName3}}}]]|{{Empty}}}}{{#if:{{{AwardName4|}}}|[[File:{{{AwardName4}}} (Award).png|link={{{AwardName4}}}]]|{{Empty}}}}{{#if:{{{AwardName5|}}}|[[File:{{{AwardName5}}} (Award).png|link={{{AwardName5}}}]]|{{Empty}}}}{{#if:{{{AwardName6|}}}|[[File:{{{AwardName6}}} (Award).png|link={{{AwardName6}}}]]<br>|}}{{#if:{{{AwardName7|}}}|[[File:{{{AwardName7}}} (Award).png|link={{{AwardName7}}}]]|{{Empty}}}}{{#if:{{{AwardName8|}}}|[[File:{{{AwardName8}}} (Award).png|link={{{AwardName8}}}]]|{{Empty}}}}{{#if:{{{AwardName9|}}}|[[File:{{{AwardName9}}} (Award).png|link={{{AwardName9}}}]]|{{Empty}}}}{{#if:{{{AwardName10|}}}|[[File:{{{AwardName10}}} (Award).png|link={{{AwardName10}}}]]|{{Empty}}}}{{#if:{{{AwardName11|}}}|[[File:{{{AwardName11}}} (Award).png|link={{{AwardName11}}}]]|{{Empty}}}}{{#if:{{{AwardName12|}}}|[[File:{{{AwardName12}}} (Award).png|link={{{AwardName12}}}]]<br>|}}{{#if:{{{AwardName13|}}}|[[File:{{{AwardName13}}} (Award).png|link={{{AwardName13}}}]]|{{Empty}}}}{{#if:{{{AwardName14|}}}|[[File:{{{AwardName14}}} (Award).png|link={{{AwardName14}}}]]|{{Empty}}}}{{#if:{{{AwardName15|}}}|[[File:{{{AwardName15}}} (Award).png|link={{{AwardName15}}}]]|{{Empty}}}}{{#if:{{{AwardName16|}}}|[[File:{{{AwardName16}}} (Award).png|link={{{AwardName16}}}]]|{{Empty}}}}{{#if:{{{AwardName17|}}}|[[File:{{{AwardName17}}} (Award).png|link={{{AwardName17}}}]]|{{Empty}}}}{{#if:{{{AwardName18|}}}|[[File:{{{AwardName18}}} (Award).png|link={{{AwardName18}}}]]<br>|}}{{#if:{{{AwardName19|}}}|[[File:{{{AwardName19}}} (Award).png|link={{{AwardName19}}}]]|{{Empty}}}}{{#if:{{{AwardName20|}}}|[[File:{{{AwardName20}}} (Award).png|link={{{AwardName20}}}]]|{{Empty}}}}{{#if:{{{AwardName21|}}}|[[File:{{{AwardName21}}} (Award).png|link={{{AwardName21}}}]]|{{Empty}}}}{{#if:{{{AwardName22|}}}|[[File:{{{AwardName22}}} (Award).png|link={{{AwardName22}}}]]|{{Empty}}}}{{#if:{{{AwardName23|}}}|[[File:{{{AwardName23}}} (Award).png|link={{{AwardName23}}}]]|{{Empty}}}}{{#if:{{{AwardName24|}}}|[[File:{{{AwardName24}}} (Award).png|link={{{AwardName24}}}]]<br>|}}{{#if:{{{AwardName25|}}}|[[File:{{{AwardName25}}} (Award).png|link={{{AwardName25}}}]]|{{Empty}}}}{{#if:{{{AwardName26|}}}|[[File:{{{AwardName26}}} (Award).png|link={{{AwardName26}}}]]|{{Empty}}}}{{#if:{{{AwardName27|}}}|[[File:{{{AwardName27}}} (Award).png|link={{{AwardName27}}}]]|{{Empty}}}}{{#if:{{{AwardName28|}}}|[[File:{{{AwardName28}}} (Award).png|link={{{AwardName28}}}]]|{{Empty}}}}{{#if:{{{AwardName29|}}}|[[File:{{{AwardName29}}} (Award).png|link={{{AwardName29}}}]]|{{Empty}}}}{{#if:{{{AwardName30|}}}|[[File:{{{AwardName30}}} (Award).png|link={{{AwardName30}}}]]|{{Empty}}}}
</span>
</span>
|}}
|}}

Revision as of 11:15, 16 July 2015

{{AwardsList
| AwardName1= 
| AwardName2= 
| AwardName3= 
| AwardName4= 
}}

This template is designed to show the current awards for a user and sort them into categories based on their awards. This automates the process of showing which users have what awards, and allows users more control if they gain new awards.
When using this template, specify the full name of the award (no File, file extension, or (Award) is necessary). The template can include a maximum of 30 awards. More can be added if necessary.
This template should only be used on the MemberBox template.