Template:Icon: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
<div class="icon" style="display:inline-block; margin:5px; position:relative; padding:3px; width:32px; height:32px; background-color:#{{{color|999}}}; border:1px solid #ccc;">{{ | <div class="icon" style="display:inline-block; margin:5px; position:relative; padding:3px; width:32px; height:32px; background-color:#{{{color|999}}}; border:1px solid #ccc;">{{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 style="position:absolute; bottom:0; right:3px; color:#fff; font-size:larger;">{{{2|}}}</div></div><noinclude> | ||
==Usage== | ==Usage== |