More actions
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
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. |