Anonymous
×
Create a new article
Write your page title here:
We currently have 205 articles on Shadowrun Seattle Shutdown. Type your article name above or click on one of the titles below and start writing!



Shadowrun Seattle Shutdown
Icon-documentation.svg

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 parameters.

  • 1 is the text to be included in the box.
  • 2 controls the icon displayed. It defaults to warning, but can be any one of the options in Icons. Use just the unique part of the name, i.e. disambiguation not icon-disambiguation.svg.
  • margin (defaults to 10%) adjusts the margin CSS of the box. It can accept either percentage or pixel values; percentages are recommended.
  • color (default: blue) controls the color of the background. The valid options are:
red
green
blue
yellow
purple
cyan
gray
white

Return

{{Iconbox|{{Lorem Ipsum|3}}}} returns:
Icon-warning.svg

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.

{{Iconbox|{{Lorem Ipsum|3}}|error|color=red}} returns:
Icon-error.svg

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.

{{Iconbox|{{Lorem Ipsum|1}}|margin=30%}} returns:
Icon-warning.svg

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Duis quis metus nunc. Fusce est libero, interdum vel iaculis et, blandit quis odio.

The documentation above was transcluded from Template:Iconbox/Documentation.