Difference between revisions of "Template:AwardsList"

From Hack Forums Wiki
(Extend to 50 awards)
Line 18: Line 18:
{{#ifeq: {{{text|}}}|False|
{{#ifeq: {{{text|}}}|False|
<span style="line-height: 50%;">
<span style="line-height: 50%;">
{{#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}}}}
{{#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}}}}{{#if:{{{AwardName31|}}}|[[File:{{{AwardName31}}} (Award).png|link={{{AwardName31}}}]]|{{Empty}}}}{{#if:{{{AwardName32|}}}|[[File:{{{AwardName32}}} (Award).png|link={{{AwardName32}}}]]|{{Empty}}}}{{#if:{{{AwardName33|}}}|[[File:{{{AwardName33}}} (Award).png|link={{{AwardName33}}}]]|{{Empty}}}}{{#if:{{{AwardName34|}}}|[[File:{{{AwardName34}}} (Award).png|link={{{AwardName34}}}]]|{{Empty}}}}{{#if:{{{AwardName35|}}}|[[File:{{{AwardName35}}} (Award).png|link={{{AwardName35}}}]]|{{Empty}}}}{{#if:{{{AwardName36|}}}|[[File:{{{AwardName36}}} (Award).png|link={{{AwardName36}}}]]|{{Empty}}}}{{#if:{{{AwardName37|}}}|[[File:{{{AwardName37}}} (Award).png|link={{{AwardName37}}}]]|{{Empty}}}}{{#if:{{{AwardName38|}}}|[[File:{{{AwardName38}}} (Award).png|link={{{AwardName38}}}]]|{{Empty}}}}{{#if:{{{AwardName39|}}}|[[File:{{{AwardName39}}} (Award).png|link={{{AwardName39}}}]]|{{Empty}}}}{{#if:{{{AwardName40|}}}|[[File:{{{AwardName40}}} (Award).png|link={{{AwardName40}}}]]|{{Empty}}}}{{#if:{{{AwardName41|}}}|[[File:{{{AwardName41}}} (Award).png|link={{{AwardName41}}}]]|{{Empty}}}}{{#if:{{{AwardName42|}}}|[[File:{{{AwardName42}}} (Award).png|link={{{AwardName42}}}]]|{{Empty}}}}{{#if:{{{AwardName43|}}}|[[File:{{{AwardName43}}} (Award).png|link={{{AwardName43}}}]]|{{Empty}}}}{{#if:{{{AwardName44|}}}|[[File:{{{AwardName44}}} (Award).png|link={{{AwardName44}}}]]|{{Empty}}}}{{#if:{{{AwardName45|}}}|[[File:{{{AwardName45}}} (Award).png|link={{{AwardName45}}}]]|{{Empty}}}}{{#if:{{{AwardName46|}}}|[[File:{{{AwardName46}}} (Award).png|link={{{AwardName46}}}]]|{{Empty}}}}{{#if:{{{AwardName47|}}}|[[File:{{{AwardName47}}} (Award).png|link={{{AwardName47}}}]]|{{Empty}}}}{{#if:{{{AwardName48|}}}|[[File:{{{AwardName48}}} (Award).png|link={{{AwardName48}}}]]|{{Empty}}}}{{#if:{{{AwardName49|}}}|[[File:{{{AwardName49}}} (Award).png|link={{{AwardName49}}}]]|{{Empty}}}}{{#if:{{{AwardName50|}}}|[[File:{{{AwardName50}}} (Award).png|link={{{AwardName50}}}]]|{{Empty}}}}
</span>
</span>
|}}
|}}
Line 53: Line 53:
{{#if: {{{AwardName29|}}}| {{o}} [[{{{AwardName29}}}|{{{AwardName29}}}]]|{{Empty}}}}
{{#if: {{{AwardName29|}}}| {{o}} [[{{{AwardName29}}}|{{{AwardName29}}}]]|{{Empty}}}}
{{#if: {{{AwardName30|}}}| {{o}} [[{{{AwardName30}}}|{{{AwardName30}}}]]|{{Empty}}}}
{{#if: {{{AwardName30|}}}| {{o}} [[{{{AwardName30}}}|{{{AwardName30}}}]]|{{Empty}}}}
{{#if: {{{AwardName31|}}}| {{o}} [[{{{AwardName31}}}|{{{AwardName31}}}]]|{{Empty}}}}
{{#if: {{{AwardName32|}}}| {{o}} [[{{{AwardName32}}}|{{{AwardName32}}}]]|{{Empty}}}}
{{#if: {{{AwardName33|}}}| {{o}} [[{{{AwardName33}}}|{{{AwardName33}}}]]|{{Empty}}}}
{{#if: {{{AwardName34|}}}| {{o}} [[{{{AwardName34}}}|{{{AwardName34}}}]]|{{Empty}}}}
{{#if: {{{AwardName35|}}}| {{o}} [[{{{AwardName35}}}|{{{AwardName35}}}]]|{{Empty}}}}
{{#if: {{{AwardName36|}}}| {{o}} [[{{{AwardName36}}}|{{{AwardName36}}}]]|{{Empty}}}}
{{#if: {{{AwardName37|}}}| {{o}} [[{{{AwardName37}}}|{{{AwardName37}}}]]|{{Empty}}}}
{{#if: {{{AwardName38|}}}| {{o}} [[{{{AwardName38}}}|{{{AwardName38}}}]]|{{Empty}}}}
{{#if: {{{AwardName39|}}}| {{o}} [[{{{AwardName39}}}|{{{AwardName39}}}]]|{{Empty}}}}
{{#if: {{{AwardName40|}}}| {{o}} [[{{{AwardName40}}}|{{{AwardName40}}}]]|{{Empty}}}}
{{#if: {{{AwardName41|}}}| {{o}} [[{{{AwardName41}}}|{{{AwardName41}}}]]|{{Empty}}}}
{{#if: {{{AwardName42|}}}| {{o}} [[{{{AwardName42}}}|{{{AwardName42}}}]]|{{Empty}}}}
{{#if: {{{AwardName43|}}}| {{o}} [[{{{AwardName43}}}|{{{AwardName43}}}]]|{{Empty}}}}
{{#if: {{{AwardName44|}}}| {{o}} [[{{{AwardName44}}}|{{{AwardName44}}}]]|{{Empty}}}}
{{#if: {{{AwardName45|}}}| {{o}} [[{{{AwardName45}}}|{{{AwardName45}}}]]|{{Empty}}}}
{{#if: {{{AwardName46|}}}| {{o}} [[{{{AwardName46}}}|{{{AwardName46}}}]]|{{Empty}}}}
{{#if: {{{AwardName47|}}}| {{o}} [[{{{AwardName47}}}|{{{AwardName47}}}]]|{{Empty}}}}
{{#if: {{{AwardName48|}}}| {{o}} [[{{{AwardName48}}}|{{{AwardName48}}}]]|{{Empty}}}}
{{#if: {{{AwardName49|}}}| {{o}} [[{{{AwardName49}}}|{{{AwardName49}}}]]|{{Empty}}}}
{{#if: {{{AwardName50|}}}| {{o}} [[{{{AwardName50}}}|{{{AwardName50}}}]]|{{Empty}}}}
|}}
|}}
{{#if: {{{AwardName1|}}}|[[Category:{{{AwardName1}}} Recipients]]|{{Empty}}}}
{{#if: {{{AwardName1|}}}|[[Category:{{{AwardName1}}} Recipients]]|{{Empty}}}}
Line 84: Line 104:
{{#if: {{{AwardName29|}}}|[[Category:{{{AwardName29}}} Recipients]]|{{Empty}}}}
{{#if: {{{AwardName29|}}}|[[Category:{{{AwardName29}}} Recipients]]|{{Empty}}}}
{{#if: {{{AwardName30|}}}|[[Category:{{{AwardName30}}} Recipients]]|{{Empty}}}}
{{#if: {{{AwardName30|}}}|[[Category:{{{AwardName30}}} Recipients]]|{{Empty}}}}
{{#if: {{{AwardName31|}}}|[[Category:{{{AwardName31}}} Recipients]]|{{Empty}}}}
{{#if: {{{AwardName32|}}}|[[Category:{{{AwardName32}}} Recipients]]|{{Empty}}}}
{{#if: {{{AwardName33|}}}|[[Category:{{{AwardName33}}} Recipients]]|{{Empty}}}}
{{#if: {{{AwardName34|}}}|[[Category:{{{AwardName34}}} Recipients]]|{{Empty}}}}
{{#if: {{{AwardName35|}}}|[[Category:{{{AwardName35}}} Recipients]]|{{Empty}}}}
{{#if: {{{AwardName36|}}}|[[Category:{{{AwardName36}}} Recipients]]|{{Empty}}}}
{{#if: {{{AwardName37|}}}|[[Category:{{{AwardName37}}} Recipients]]|{{Empty}}}}
{{#if: {{{AwardName38|}}}|[[Category:{{{AwardName38}}} Recipients]]|{{Empty}}}}
{{#if: {{{AwardName39|}}}|[[Category:{{{AwardName39}}} Recipients]]|{{Empty}}}}
{{#if: {{{AwardName40|}}}|[[Category:{{{AwardName40}}} Recipients]]|{{Empty}}}}
{{#if: {{{AwardName41|}}}|[[Category:{{{AwardName41}}} Recipients]]|{{Empty}}}}
{{#if: {{{AwardName42|}}}|[[Category:{{{AwardName42}}} Recipients]]|{{Empty}}}}
{{#if: {{{AwardName43|}}}|[[Category:{{{AwardName43}}} Recipients]]|{{Empty}}}}
{{#if: {{{AwardName44|}}}|[[Category:{{{AwardName44}}} Recipients]]|{{Empty}}}}
{{#if: {{{AwardName45|}}}|[[Category:{{{AwardName45}}} Recipients]]|{{Empty}}}}
{{#if: {{{AwardName46|}}}|[[Category:{{{AwardName46}}} Recipients]]|{{Empty}}}}
{{#if: {{{AwardName47|}}}|[[Category:{{{AwardName47}}} Recipients]]|{{Empty}}}}
{{#if: {{{AwardName48|}}}|[[Category:{{{AwardName48}}} Recipients]]|{{Empty}}}}
{{#if: {{{AwardName49|}}}|[[Category:{{{AwardName49}}} Recipients]]|{{Empty}}}}
{{#if: {{{AwardName50|}}}|[[Category:{{{AwardName50}}} Recipients]]|{{Empty}}}}
</includeonly>
</includeonly>

Revision as of 03:57, 27 March 2021

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