Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Icon Grid: Difference between revisions

Template page
(initial template)
 
m (added text-align parameter)
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly><div style="max-width:{{{maxwidth|900px}}}; width:{{{width|}}}; text-align: center; vertical-align:top; overflow-wrap: break-word;">
<includeonly><div class="{{{class|}}}" style="max-width:{{{maxwidth|900px}}}; width:{{{width|}}}; text-align: {{{text-align|center}}}; vertical-align:{{{vertical|top}}}; overflow-wrap: break-word;">{{{1}}}</div></includeonly><!--
{{{1}}}
 
</div>
--><noinclude>
</includeonly><noinclude>
{{Documentation}}
== Usage ==
<pre><nowiki>
{{Icon Grid|
list of icons
|maxwidth= (900px by default)
|width= (inherit by default)
}}
</nowiki></pre>
{{Icon Grid|
{{Icon|BlazBlue Central Fiction Ragna the Bloodedge Icon.png|imglink=Ragna the Bloodedge|caption=[[Ragna the Bloodedge]]}}
}}
For use with [[Template:Icon]]
[[Category:Templates]]
</noinclude>
</noinclude>

Latest revision as of 19:59, 20 February 2021

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

Usage

{{Icon Grid|
list of icons
|maxwidth= (900px by default)
|width= (inherit by default)
|vertical=top, middle or bottom (top by default)
|text-align=left, right, center (center by default)
|class=custom classes to apply (e.g. "inline character-grid bb p4u rwby uni")
}}

For use with Template:Icon