Difference between revisions of "Template:P Header Box"
Jump to navigation
Jump to search
(One intermediate revision by the same user not shown) | |||
Line 18: | Line 18: | ||
<includeonly> | <includeonly> | ||
{|style="width: 100%;padding:4px;border:1px solid #000;" | {|style="width: 100%;padding:4px;border:1px solid #000;" | ||
|<h3 style="padding:0px;margin:0px;{{#if: {{{color|}}}|color:{{{color}}};}}{{#if: {{{size|}}}|size:{{{size}}};}}">{{#if: {{{ico|}}}|[[Image:{{{ico}}}|32px]]}} {{{1}}}</h3> | |<h3 style="padding:0px;margin:0px;{{#if: {{{background-color|}}}|background-color:{{{background-color}}};}}{{#if: {{{color|}}}|color:{{{color}}};}}{{#if: {{{size|}}}|font-size:{{{size}}};}}">{{#if: {{{ico|}}}|[[Image:{{{ico}}}|32px]]}} {{{1}}}</h3> | ||
|} | |} | ||
</includeonly> | </includeonly> |
Latest revision as of 17:13, 9 January 2016
Note: This page is a template. It contains no Paparazzi related information but should be used as part of other articles. For more information, read Help:Templates.
Please do not experiment with this template, it could mess up all pages using this template.
This template adds the 1px black border around an item. This is used as a stylistic unit used throughout the Paparazzi wiki. Optionally you can provide the ico
parameter that adds a small icon in the front of the item.
This template accepts the following named parameters:
ico
icon picture name including suffixcolor
text color inside the boxsize
text size inside the box
Here is an example without an icon:
Hello |
Hello |