Template:Icon: Difference between revisions

Template page
(Created page with "<includeonly><!-- --><div style="display:inline-block; vertical-align:top; overflow-x: hidden; margin:.25em; width:{{{width|96px}}};"><!-- -->File:{{{1|}}}|link={{{imglink|...")
 
m (initial documentation)
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly><!--
<includeonly><!--
--><div style="display:inline-block; vertical-align:top; overflow-x: hidden; margin:.25em; width:{{{width|96px}}};"><!--
--><div style="display:inline-block; vertical-align:inherit; overflow-x: hidden; overflow-y: hidden; margin:.25em; width:{{{width|96px}}};"><!--


-->[[File:{{{1|}}}|link={{{imglink|}}}|{{{thumbwidth|96px}}}]]<!--
-->[[File:{{{1|}}}|link={{{imglink|}}}|center|{{{width|96px}}}]]<!--
--><center><small>{{{caption|}}}</small></center><!--
--><center><small>{{{caption|}}}</small></center><!--


--></div>
--></div>
</includeonly><noinclude>
</includeonly><noinclude>
== Usage ==
{{Documentation}}
<pre><nowiki>
{{Icon|BlazBlue Central Fiction Ragna the Bloodedge Icon.png
|imglink=Ragna the Bloodedge
|caption=[[Ragna the Bloodedge]]
}}
</nowiki></pre>
{{Icon|BlazBlue Central Fiction Ragna the Bloodedge Icon.png|imglink=Ragna the Bloodedge|caption=[[Ragna the Bloodedge]]}}
For use with [[Template:Icon Grid]]
[[Category:Templates]]
</noinclude>
</noinclude>

Revision as of 00:30, 20 February 2018

Documentation icon Template documentation[view] [edit] [history] [purge]

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
}}
BlazBlue Central Fiction Nu-13 Icon.png
This is a caption.

For use with Template:Icon Grid.