Difference between revisions of "Template:P Header Box"

From PaparazziUAV
Jump to navigation Jump to search
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: {{{color|}}}|color:{{{color}}};}}{{#if: {{{size|}}}|font-size:{{{size}}};}}">{{#if: {{{ico|}}}|[[Image:{{{ico}}}|32px]]}} {{{1}}}</h3>
|}
|}
</includeonly>
</includeonly>

Revision as of 17:51, 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 suffix
  • color text color inside the box
  • size text size inside the box

Here is an example without an icon:


Hello



Gear.png Hello