Template:Iconbox is a variation of Template:Box. It generates text frames with an icon in the upper left corner.
Usage
It accepts one mandatory string parameter and three optional parameter.
- is the text to be included in the box.
- controls the icon displayed. It defaults to
warning, but can be any one of the options in Icon. Use just the unique part of the name, i.e.disambiguationnoticon-disambiguation.svg.
margin(defaults to10%) adjusts the margin CSS of the box. It can accept either percentage or pixel values; percentages are recommended.color(defaults toblue) can accept any of the marked options indicated in Mediawiki:Common.css.
Return
{{Iconbox|{{Lorem Ipsum}}}} returns:
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Duis quis metus nunc. Fusce est libero, interdum vel iaculis et, blandit quis odio. Integer ac magna nunc. In quis libero purus. Praesent mattis eget justo in efficitur. Aenean tempor congue dictum. Mauris hendrerit nunc a auctor dictum. Maecenas auctor eu urna blandit lobortis. Aenean maximus ante vel pretium congue. Sed et turpis vel ipsum condimentum laoreet sit amet vel nisi. Nulla non vulputate arcu, sit amet pellentesque elit. Pellentesque ac tortor viverra, finibus est ac, varius urna. Donec sagittis, elit sit amet sagittis tempor, nibh arcu blandit magna, ut aliquam metus lacus non ligula. Vivamus et ligula quis magna luctus imperdiet.
.
