Template talk:Icon
Revision as of 15:07, 7 June 2017 by Technical 13 (talk | contribs) (→Text display options: New section)
How to force it works?
It does not open Iron plate/ru after click on the image but it opens image.
It opens proper page but hint is not Russian. --Rchromatic (talk) 09:29, 27 June 2014 (CEST)
Text display options
Please modify the existing code above the <noinclude>…</noinclude>
section to:
<div class="factorio-icon" style="background-color:#{{{color|929292}}};">{{#ifexist: File:{{ConvertName|{{{1}}}}}.png | [[File:{{ConvertName|{{{1}}}}}.png{{!}}32px{{!}}link={{#if: {{{3|}}} |{{{3}}}|{{{1}}}{{If language suffix}}}}]] | [[File:Placeholder icon.png{{!}}link=]] <includeonly><div style="display:none;">[[File:{{{1}}}.png{{!}}32px]]</div></includeonly>}}<div class="{{{icon-text-class|factorio-icon-text}}}">{{{2|}}}</div></div>
To allow other text such as level ranges to be entered into the template. eg:
Thanks, Technical 13 (talk) 15:07, 7 June 2017 (UTC)