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:Newblurb: Difference between revisions
Jump to navigation
Jump to search
Content deleted Content added
imported>Hardvice UPDATE |
imported>Hardvice +align, update usage |
||
| Line 5: | Line 5: | ||
<div width="100%" style="margin: 0px 1px 0px 1px; background-color: {{{color|#CCD5F4}}}; height: 1px; overflow: hidden;"></div> |
<div width="100%" style="margin: 0px 1px 0px 1px; background-color: {{{color|#CCD5F4}}}; height: 1px; overflow: hidden;"></div> |
||
</div> |
</div> |
||
<div style="display: block; background-color: {{{color|#CCD5F4}}};" align="center" width="{{{width|100%}}}"></includeonly><noinclude>{{newblurb}}Example{{newblurbclose}} |
<div style="display: block; background-color: {{{color|#CCD5F4}}};" align="{{{align|center}}}" width="{{{width|100%}}}"></includeonly><noinclude>{{newblurb}}Example{{newblurbclose}} |
||
== Usage == |
== Usage == |
||
When used together with <nowiki>{{newblurbclose}}</nowiki>, this template will enclose whatever appears between the two in a blue box with rounded corners. 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. |
When used together with <nowiki>{{newblurbclose}}</nowiki>, this template will enclose whatever appears between the two in a blue box with rounded corners. 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. |
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. You can override text alignment by adding <code>align=left</code> or <code>align=right</code> |
||
{| style="background: transparent;" |
{| style="background: transparent;" |
||
|<pre>{{newblurb|width = |color= | |
|<pre>{{newblurb|width = |color= |align= }}<!-- Content here -->{{newblurbclose}}</pre> |
||
|} |
|} |
||
[[Category: Page Elements]] |
[[Category: Page Elements]] |
||
Revision as of 07:09, 14 November 2007
Example
Usage
When used together with {{newblurbclose}}, this template will enclose whatever appears between the two in a blue box with rounded corners. 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. You can override text alignment by adding align=left or align=right
{{newblurb|width = |color= |align= }}<!-- Content here -->{{newblurbclose}}
|