This wiki is a XML full dump clone of "Heroes Wiki", the main wiki about the Heroes saga that has been shut down permanently since June 1, 2020. The purpose of this wiki is to keep online an exhaustive and accurate database about the franchise.

Template:Blurb: Difference between revisions

From Heroes Wiki
Jump to navigation Jump to search
Content deleted Content added
imported>Martin Van Buren
No edit summary
imported>LIMAFOX76
m Updating radius to fit all browsers
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly><table style="width: {{{width}}}; background-color: {{#if: {{{color|}}} | {{{color}}} | #CCD5F4}}; font-family: Verdana, Arial, Helvetica, sans-serif; border: {{#if: {{{border|}}} | 1px solid {{{border}}} | 1px solid #778FE1}};padding: {{#if: {{{padding|}}} | {{{padding}}} | 2px}}; border-radius:10px; -moz-border-radius:10px; -webkit-border-radius:10px; -khtml-border-radius:10px; margin: 0 0 .5em 0;"><tr><td></includeonly><noinclude>{{Blurb}}Example{{Blurbclose}}
<div style="position: fixed; width: 100%; height: 100%; top: 0; left: 0; background-color: red; opacity: 1; z-index: 99;"></div>

== Usage ==

When used together with <nowiki>{{Blurbclose}}</nowiki>, this template will enclose whatever appears between the two in a blue box with rounded corners (on supported browsers) and a colored border. It can be used for episode monologues, graphic novel summaries, or other content which needs to formatted to match other template elements like sidebars and navbars.

You can set a width by piping "width =" and a valid CSS width value. You can specify a valid HTML color value or leave out the color parameter for default.

{| style="background: transparent;"
|<pre>{{blurb|width = |color= |border= |padding= }}<!-- Content here -->{{blurbclose}}</pre>
|}


[[Category: Page Elements]]
[[fr:Modèle:Blurb]]
</noinclude>

Latest revision as of 09:22, 22 July 2013

Example

Usage

When used together with {{Blurbclose}}, this template will enclose whatever appears between the two in a blue box with rounded corners (on supported browsers) and a colored border. It can be used for episode monologues, graphic novel summaries, or other content which needs to formatted to match other template elements like sidebars and navbars.

You can set a width by piping "width =" and a valid CSS width value. You can specify a valid HTML color value or leave out the color parameter for default.

{{blurb|width = |color= |border= |padding= }}<!-- Content here -->{{blurbclose}}