Template:Icon box

From crawfishcomic Wiki
Revision as of 21:09, 25 October 2024 by Unk-f000 (talk | contribs) (1 revision imported)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

This is a template for a box with an icon, largely inspired by Wikipedia's Template:Mbox.

Examples

Icon This is an example of the icon box.
I can also use HTML tags and MediaWiki syntax, like links.
{{Icon box
| box-icons = [[File:Crawfishwiki icon.png|28px|link=|Icon]]
| box-text = This is an example of the icon box.<br>I can also use HTML tags and MediaWiki syntax, like [[Main Page|links]].
| border-color = #88a
| border-width = 3px
| background = #f7f8ff
}}
Icon This is a box with side margins.
{{Icon box
| box-icons = [[File:Crawfishwiki icon.png|20px|link=|Icon]]
| box-text = This is a box with side margins.
| border-color = #ac6600
| border-width = 1px
| background = #f6efe5
| margin = yes
}}

Warning: Make sure to set your icon's size (like in the examples above).

This template was created by knuxify, who dedicates it to the public domain. A slightly different version can also be found on the postmarketOS wiki. Both wikis are licensed under the CC BY-SA 4.0.