Template:Icon: Difference between revisions
Jump to navigation
Jump to search
Monchoman45 (talk | contribs) (including the requested file but hiding it will make it show up in maintenance reports) |
Monchoman45 (talk | contribs) (this will be for small icons, and then Template:Big icon will be for 64x64) |
||
Line 1: | Line 1: | ||
<div class="icon" style="display:inline-block; margin:5px; position:relative | <div class="icon" style="display:inline-block; margin:5px; position:relative; width:35px; height:35px; background-color:#999; border:1px solid #ccc;">{{#ifexist: File:{{{1}}}.png | [[File:{{{1}}}.png{{!}}link={{{1}}}]] | [[File:Placeholder icon.png{{!}}link=]] <includeonly><div style="display:none;">[[File:{{{1}}}.png]]</div></includeonly>}}<div style="position:absolute; bottom:0; right:3px; color:#fff; font-size:larger;">{{{2|}}}</div></div><noinclude> | ||
==Usage== | ==Usage== | ||
<pre> | <pre> | ||
{{icon| | {{icon|Time|25}} | ||
</pre> | </pre> | ||
Produces: | Produces: | ||
{{icon| | {{icon|Time|25}} | ||
</noinclude> | </noinclude> |