More actions
m (QC) |
m (add "class" parameter for CSS classes, clean up the output if a filename is not provided) |
||
Line 1: | Line 1: | ||
<includeonly><!-- | <includeonly><!-- | ||
--><div style="display:inline-block; vertical-align:inherit; overflow-x: hidden; overflow-y: hidden; margin:.25em; width:{{{width|96px}}};"><!-- | --><div class="{{{class|}}}" style="display:inline-block; vertical-align:inherit; overflow-x: hidden; overflow-y: hidden; margin:.25em; width:{{{width|96px}}};"><!-- | ||
-->[[File:{{{1|}}}|link={{{imglink|File:{{{1}}}}}}|center|{{{width|96px}}}]]<!-- | -->{{#if:{{{1|}}}|[[File:{{{1|}}}|link={{{imglink|File:{{{1}}}}}}|center|{{{width|96px}}}]]}}<!-- | ||
--><center><small>{{{caption|}}}</small></center><!-- | --><center><small>{{{caption|}}}</small></center><!-- | ||
Revision as of 07:54, 20 March 2018
Usage
{{Icon|BlazBlue Central Fiction Ragna the Bloodedge Icon.png |img=(named alt of {{{1|}}}) for Cargo queries |imglink=Ragna the Bloodedge |header=goes above the icon |caption=[[Ragna the Bloodedge]] |width=default is 96px |class=CSS classes to style the div wrapper |style=CSS style to style the div wrapper }}
For use with Template:Icon Grid.
The above documentation is transcluded from Template:Icon/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |