Template:Icontech: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
mNo edit summary
m (adjusted color)
Line 1: Line 1:
<div class="icontech" style="display:inline-block; margin:5px; position:relative; padding:3px; width:32px; height:32px; background-color:#32cd32; border:1px solid #ccc;">{{#ifexist: File:{{{1}}}.png | [[File:{{{1}}}.png{{!}}32px{{!}}link={{{3}}}]] | [[File:Placeholder icon.png{{!}}link=]] <includeonly><div style="display:none;">[[File:{{{1}}}.png{{!}}32px]]</div></includeonly>}}<div style="position:absolute; bottom:0; right:3px; color:#fff; font-size:larger;">{{{2|}}}</div></div><noinclude>
<div class="icontech" style="display:inline-block; margin:5px; position:relative; padding:3px; width:32px; height:32px; background-color:#00CC00; border:1px solid #ccc;">{{#ifexist: File:{{{1}}}.png | [[File:{{{1}}}.png{{!}}32px{{!}}link={{{3}}}]] | [[File:Placeholder icon.png{{!}}link=]] <includeonly><div style="display:none;">[[File:{{{1}}}.png{{!}}32px]]</div></includeonly>}}<div style="position:absolute; bottom:0; right:3px; color:#fff; font-size:larger;">{{{2|}}}</div></div><noinclude>


==Usage==
==Usage==

Revision as of 13:46, 6 October 2014

Placeholder icon.png

Usage

{{icontech|armor-making|2|Armor crafting 2}}

Produces: