Template:Icon box: Difference between revisions
Created page with "<noinclude> This is a template for a box with an icon, largely inspired by Wikipedia's [https://en.wikipedia.org/wiki/Template:Mbox Template:Mbox]. == Examples == {{Icon box | box-icons = 28px|link=|Icon | box-text = This is an example of the icon box.<br>I can also use HTML tags and MediaWiki syntax, like links. | border-color = #88a | border-width = 3px | background = #f7f8ff }} <pre> {{Icon box | box-icons = File:Crawfi..." |
m 1 revision imported |
(No difference)
|
Latest revision as of 21:09, 25 October 2024
This is a template for a box with an icon, largely inspired by Wikipedia's Template:Mbox.
Examples
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 }}
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.