Template talk:Icon

From Official Factorio Wiki
Revision as of 15:09, 7 June 2017 by Technical 13 (talk | contribs) (RE /ru question)
Jump to navigation Jump to search

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)

Opens the proper page and the hint is Russian. Technical 13 (talk) 15:09, 7 June 2017 (UTC)

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:

Mining productivity (research).png

Thanks, Technical 13 (talk) 15:07, 7 June 2017 (UTC)