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
m (add the ability to use classes to style the icon grid)
m (added text-align parameter)
 
Line 1: Line 1:
<includeonly><div class="{{{class|}}}" style="max-width:{{{maxwidth|900px}}}; width:{{{width|}}}; text-align: center; vertical-align:{{{vertical|top}}}; overflow-wrap: break-word;">{{{1}}}</div></includeonly><!--
<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><!--


--><noinclude>
--><noinclude>
{{Documentation}}
{{Documentation}}
</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