Template talk:Icon: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
(RE /ru question)
Line 10: Line 10:
It opens proper page but hint is not Russian.  
It opens proper page but hint is not Russian.  
--[[User:Rchromatic|Rchromatic]] ([[User talk:Rchromatic|talk]]) 09:29, 27 June 2014 (CEST)
--[[User:Rchromatic|Rchromatic]] ([[User talk:Rchromatic|talk]]) 09:29, 27 June 2014 (CEST)
{{Icon|iron-plate|2|Iron plate/ru{{!}}Железная пластина}}
Opens the proper page and the hint is Russian. [[User:Technical 13|Technical 13]] ([[User talk:Technical 13|talk]]) 15:09, 7 June 2017 (UTC)


== Text display options ==
== Text display options ==

Revision as of 15:09, 7 June 2017

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)