Template:Icon/doc: Difference between revisions

Template page
(initial documentation)
 
m (add new "img" parameter)
 
(2 intermediate revisions by the same user not shown)
Line 2: Line 2:
<pre><nowiki>
<pre><nowiki>
{{Icon|BlazBlue Central Fiction Ragna the Bloodedge Icon.png
{{Icon|BlazBlue Central Fiction Ragna the Bloodedge Icon.png
|img=(named alt of {{{1|}}}) for Cargo queries
|imglink=Ragna the Bloodedge
|imglink=Ragna the Bloodedge
|header=goes above the icon
|caption=[[Ragna the Bloodedge]]
|caption=[[Ragna the Bloodedge]]
|width=default is 96px
|class=CSS classes to style the div wrapper
|style=CSS style to style the div wrapper
}}
}}
</nowiki></pre>
</nowiki></pre>
{{Icon|BlazBlue Central Fiction Ragna the Bloodedge Icon.png|imglink=Ragna the Bloodedge|caption=[[Ragna the Bloodedge]]}}<!--
{{Icon|BlazBlue Central Fiction Ragna the Bloodedge Icon.png|imglink=Ragna the Bloodedge|caption=[[Ragna the Bloodedge]]}}
-->{{Icon|BlazBlue Central Fiction Naoto Kurogane Chibi.png|imglink=Naoto Kurogane|caption=[[Naoto Kurogane|Dec 1]]}}<!--
{{Icon|BlazBlue Central Fiction Naoto Kurogane Chibi.png|imglink=Naoto Kurogane|caption=[[Naoto Kurogane|Dec 1]]}}
-->{{Icon|BlazBlue Central Fiction Platinum the Trinity Chibi.png|imglink=Platinum the Trinity|caption=[[Platinum the Trinity|Dec 13]]}}<!--
{{Icon|BlazBlue Central Fiction Platinum the Trinity Chibi.png|imglink=Platinum the Trinity|caption=[[Platinum the Trinity|Dec 13]]}}
-->{{Icon|BlazBlue Central Fiction Noel Vermillion Chibi(A).png|imglink=Noel Vermillion|caption=[[Noel Vermillion|Dec 25]]}}<!--
{{Icon|BlazBlue Central Fiction Noel Vermillion Chibi(A).png|imglink=Noel Vermillion|caption=[[Noel Vermillion|Dec 25]]}}
-->{{Icon|BlazBlue Central Fiction Nu-13 Chibi.png|imglink=Nu-13|caption=[[Nu-13|Dec 31]]}}
{{Icon|BlazBlue Central Fiction Nu-13 Chibi.png|imglink=Nu-13|caption=[[Nu-13|Dec 31]]}}
For use with [[Template:Icon Grid]]. Doesn't work as well with icons of differing heights.
{{Icon|BlazBlue Central Fiction Nu-13 Icon.png|imglink=Nu-13|caption=[[Nu-13|Dec 31]]|header=<big><b>1</b></big>}}
{{Icon|BlazBlue Central Fiction Nu-13 Icon.png|imglink=Nu-13|caption=This is a caption.|header=This is a header.}}
For use with [[Template:Icon Grid]].
<includeonly>[[Category:Templates]]</includeonly>
<includeonly>[[Category:Templates]]</includeonly>

Latest revision as of 02:47, 29 January 2021

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

For use with Template:Icon Grid.