More actions
m (add option to specify vertical alignment of the icons in the grid) |
m (added text-align parameter) |
||
(2 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:{{{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}} | |||
{{ | |||
}} | |||
</noinclude> | </noinclude> |
Latest revision as of 19:59, 20 February 2021
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
The above documentation is transcluded from Template:Icon Grid/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |