Template:Icon: Difference between revisions
Jump to navigation
Jump to search
Monchoman45 (talk | contribs) mNo edit summary |
Monchoman45 (talk | contribs) (apparently the placeholder is weird) |
||
Line 1: | Line 1: | ||
<div class="icon" style="display:inline-block; margin:5px; position:relative; width: | <div class="icon" style="display:inline-block; margin:5px; position:relative; padding:2px; width:32px; height:32px; background-color:#999; border:1px solid #ccc;">{{#ifexist: File:{{{1}}} icon.png | [[File:{{{1}}} icon.png{{!}}link={{{1}}}]] | [[File:Placeholder icon.png{{!}}link=]] <includeonly><div style="display:none;">[[File:{{{1}}} icon.png]]</div></includeonly>}}<div style="position:absolute; bottom:0; right:3px; color:#fff;">{{{2|}}}</div></div><noinclude> | ||
==Usage== | ==Usage== |