Template:OBX boilerplate params: Difference between revisions

From OLPC
Jump to navigation Jump to search
m (fixing doc)
m (cat cosmetics)
Line 34: Line 34:
{{-}}
{{-}}
{{WikipediaTemplate|name=User:UBX/Boilerplate}}
{{WikipediaTemplate|name=User:UBX/Boilerplate}}
[[Category:OBX templates]]
[[Category:OBX templates|{{PAGENAME}}]]
<!-- Originally (in wikipedia) based on Template:Userbox sample and Template:Userbox sample compact -->
<!-- Originally (in wikipedia) based on Template:Userbox sample and Template:Userbox sample compact -->
</noinclude>
</noinclude>

Revision as of 04:20, 6 July 2007

id info


Usage

This template (together with its twin Template:OBX boilerplate html) are helper templates to be used by other templates that are specific to a particular concern (see Template talk:OBX boilerplate html).

{{Template:OBX boilerplate params}}

The following parameters, shown with their current (default) values, can be changed.
{{OBX boilerplate params
 | border-color    = #6cbe42
 | border-width    = 1            <!-- the border width in px -->
 | logo-background = #6cbe42
 | logo-size       = 14           <!-- the font size in pt -->
 | logo-color      = black        <!-- the font color -->
 | info-background = #8ad962
 | info-size       = 8            <!-- the font size in pt -->
 | info-color      = black        <!-- the font color -->
 | logo            = id           <!-- whatever wiki text is appropriate (including images) -->
 | info            = info         <!-- whatever wiki text is appropriate (images not recommended) -->
 | float           = left         <!-- if the box should float on the { left | right } -->
 }}
or

Original: {{OBX boilerplate params | border-color = #ffb466 | border-width = 1 | logo-background = #ffb466 | logo-size = 14 | logo-color = black | info-background = #ffe496 | info-size = 8 | info-color = black | logo = id | info = info | float = left }}


This template was extracted, copied, adapted or otherwise inspired by an existing one in the Wikipedia, which is licensed under the GNU Free Documentation License.