Template:Icon Grid: Difference between revisions

Template page
m (clean up extra whitespace)
m (add option to specify vertical alignment of the icons in the grid)
Line 1: Line 1:
<includeonly><div style="max-width:{{{maxwidth|900px}}}; width:{{{width|}}}; text-align: center; vertical-align:top; overflow-wrap: break-word;">{{{1}}}</div></includeonly><!--
<includeonly><div style="max-width:{{{maxwidth|900px}}}; width:{{{width|}}}; text-align: center; vertical-align:{{{vertical|top}}}; overflow-wrap: break-word;">{{{1}}}</div></includeonly><!--


--><noinclude>
--><noinclude>
Line 8: Line 8:
|maxwidth= (900px by default)
|maxwidth= (900px by default)
|width= (inherit by default)
|width= (inherit by default)
|vertical=top, middle or bottom (top by default)
}}
}}
</nowiki></pre>
</nowiki></pre>

Revision as of 00:09, 20 February 2018

Usage

{{Icon Grid|
list of icons
|maxwidth= (900px by default)
|width= (inherit by default)
|vertical=top, middle or bottom (top by default)
}}

For use with Template:Icon