Difference between revisions of "Template:Achievements/row"

From comp.tf
Jump to navigation Jump to search
Line 1: Line 1:
 
<includeonly><!--
 
<includeonly><!--
--> {{#if:{{{3}}}|{{LeagueIconSmall|{{lc:{{{3}}}}}|link={{{4}}}|name={{{5}}}}}<!-- if its part of a series, use its icon
+
--> {{#ifexist:Template:LeagueIconSmall/{{lc:{{{3}}}}}|{{LeagueIconSmall|{{lc:{{{3}}}}}|link={{{4}}}|name={{{5}}}}}<!-- if its part of a series, use its icon
 
-->|{{#if:{{{6}}}|[[Image:{{{6}}}‎|20px|link={{{4}}}|{{{name|{{{5}}}}}}]]<!-- else if the |icon= parameter exists, use it
 
-->|{{#if:{{{6}}}|[[Image:{{{6}}}‎|20px|link={{{4}}}|{{{name|{{{5}}}}}}]]<!-- else if the |icon= parameter exists, use it
-->|}}}}<!-- else don't show anything
+
-->|[[Image:Generic Icon.png‎|20px|link={{{4}}}|{{{name|{{{5}}}}}}]]}}}}<!-- else use a generic icon
 
--></includeonly><noinclude>{{documentation}}[[Category:Templates]]</noinclude>
 
--></includeonly><noinclude>{{documentation}}[[Category:Templates]]</noinclude>

Revision as of 02:18, 25 February 2017