Difference between revisions of "Template:AwardsList"

From Hack Forums Wiki
(Remove break tags)
 
(4 intermediate revisions by one other user not shown)
Line 8: Line 8:
}}
}}
</pre>
</pre>
This template is no longer used. Awards are now displayed using foreach functions in the [[Template:MemberBox|MemberBox template]].
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.<br>
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.<br>
When using this template, specify the full name of the award (no File, file extension, or (Award) is necessary).  
When using this template, specify the full name of the award (no File, file extension, or (Award) is necessary).  
Line 18: Line 20:
{{#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}}}]]|{{Empty}}}}{{#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}}}]]|{{Empty}}}}{{#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}}}]]|{{Empty}}}}{{#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}}}]]|{{Empty}}}}{{#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}}}}
{{#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}}}]]|{{Empty}}}}{{#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}}}]]|{{Empty}}}}{{#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}}}]]|{{Empty}}}}{{#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}}}]]|{{Empty}}}}{{#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}}}}{{#if:{{{AwardName51|}}}|[[File:{{{AwardName51}}} (Award).png|link={{{AwardName51}}}]]|{{Empty}}}}{{#if:{{{AwardName52|}}}|[[File:{{{AwardName52}}} (Award).png|link={{{AwardName52}}}]]|{{Empty}}}}{{#if:{{{AwardName53|}}}|[[File:{{{AwardName53}}} (Award).png|link={{{AwardName54}}}]]|{{Empty}}}}{{#if:{{{AwardName55|}}}|[[File:{{{AwardName55}}} (Award).png|link={{{AwardName55}}}]]|{{Empty}}}}{{#if:{{{AwardName56|}}}|[[File:{{{AwardName56}}} (Award).png|link={{{AwardName56}}}]]|{{Empty}}}}{{#if:{{{AwardName57|}}}|[[File:{{{AwardName57}}} (Award).png|link={{{AwardName57}}}]]|{{Empty}}}}{{#if:{{{AwardName58|}}}|[[File:{{{AwardName58}}} (Award).png|link={{{AwardName58}}}]]|{{Empty}}}}{{#if:{{{AwardName59|}}}|[[File:{{{AwardName59}}} (Award).png|link={{{AwardName59}}}]]|{{Empty}}}}{{#if:{{{AwardName60|}}}|[[File:{{{AwardName60}}} (Award).png|link={{{AwardName60}}}]]|{{Empty}}}}
</span>
</span>
|}}
|}}
Line 73: Line 75:
{{#if: {{{AwardName49|}}}| {{o}} [[{{{AwardName49}}}|{{{AwardName49}}}]]|{{Empty}}}}
{{#if: {{{AwardName49|}}}| {{o}} [[{{{AwardName49}}}|{{{AwardName49}}}]]|{{Empty}}}}
{{#if: {{{AwardName50|}}}| {{o}} [[{{{AwardName50}}}|{{{AwardName50}}}]]|{{Empty}}}}
{{#if: {{{AwardName50|}}}| {{o}} [[{{{AwardName50}}}|{{{AwardName50}}}]]|{{Empty}}}}
{{#if: {{{AwardName51|}}}| {{o}} [[{{{AwardName51}}}|{{{AwardName51}}}]]|{{Empty}}}}
{{#if: {{{AwardName52|}}}| {{o}} [[{{{AwardName52}}}|{{{AwardName52}}}]]|{{Empty}}}}
{{#if: {{{AwardName53|}}}| {{o}} [[{{{AwardName53}}}|{{{AwardName53}}}]]|{{Empty}}}}
{{#if: {{{AwardName54|}}}| {{o}} [[{{{AwardName54}}}|{{{AwardName54}}}]]|{{Empty}}}}
{{#if: {{{AwardName55|}}}| {{o}} [[{{{AwardName55}}}|{{{AwardName55}}}]]|{{Empty}}}}
{{#if: {{{AwardName56|}}}| {{o}} [[{{{AwardName56}}}|{{{AwardName56}}}]]|{{Empty}}}}
{{#if: {{{AwardName57|}}}| {{o}} [[{{{AwardName57}}}|{{{AwardName57}}}]]|{{Empty}}}}
{{#if: {{{AwardName58|}}}| {{o}} [[{{{AwardName58}}}|{{{AwardName58}}}]]|{{Empty}}}}
{{#if: {{{AwardName59|}}}| {{o}} [[{{{AwardName59}}}|{{{AwardName59}}}]]|{{Empty}}}}
{{#if: {{{AwardName60|}}}| {{o}} [[{{{AwardName60}}}|{{{AwardName60}}}]]|{{Empty}}}}
|}}
|}}
{{#if: {{{AwardName1|}}}|[[Category:{{{AwardName1}}} Recipients]]|{{Empty}}}}
{{#if: {{{AwardName1|}}}|[[Category:{{{AwardName1}}} Recipients]]|{{Empty}}}}
Line 124: Line 136:
{{#if: {{{AwardName49|}}}|[[Category:{{{AwardName49}}} Recipients]]|{{Empty}}}}
{{#if: {{{AwardName49|}}}|[[Category:{{{AwardName49}}} Recipients]]|{{Empty}}}}
{{#if: {{{AwardName50|}}}|[[Category:{{{AwardName50}}} Recipients]]|{{Empty}}}}
{{#if: {{{AwardName50|}}}|[[Category:{{{AwardName50}}} Recipients]]|{{Empty}}}}
{{#if: {{{AwardName51|}}}|[[Category:{{{AwardName51}}} Recipients]]|{{Empty}}}}
{{#if: {{{AwardName52|}}}|[[Category:{{{AwardName52}}} Recipients]]|{{Empty}}}}
{{#if: {{{AwardName53|}}}|[[Category:{{{AwardName53}}} Recipients]]|{{Empty}}}}
{{#if: {{{AwardName54|}}}|[[Category:{{{AwardName54}}} Recipients]]|{{Empty}}}}
{{#if: {{{AwardName55|}}}|[[Category:{{{AwardName55}}} Recipients]]|{{Empty}}}}
{{#if: {{{AwardName56|}}}|[[Category:{{{AwardName56}}} Recipients]]|{{Empty}}}}
{{#if: {{{AwardName57|}}}|[[Category:{{{AwardName57}}} Recipients]]|{{Empty}}}}
{{#if: {{{AwardName58|}}}|[[Category:{{{AwardName58}}} Recipients]]|{{Empty}}}}
{{#if: {{{AwardName59|}}}|[[Category:{{{AwardName59}}} Recipients]]|{{Empty}}}}
{{#if: {{{AwardName60|}}}|[[Category:{{{AwardName60}}} Recipients]]|{{Empty}}}}
</includeonly>
</includeonly>

Latest revision as of 16:22, 8 June 2021

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

This template is no longer used. Awards are now displayed using foreach functions in the MemberBox template.

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 50 awards. More can be added if necessary.
This template should only be used on the MemberBox template.