Template:OBX boilerplate params: Difference between revisions

From OLPC
Jump to navigation Jump to search
m (Template:XO box2 moved to Template:OBX boilerplate params: settling for the OBX prefix (Olpc BoXes)))
m (fixing doc)
Line 8: Line 8:
==Usage==
==Usage==


This template (together with its twin [[Template:XO box]]) are ''helper'' templates to be '''used''' by other templates that are specific to a particular concern (see [[Template talk:XO box]]).
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]]).


<nowiki>{{Template:XO box2}}</nowiki>
<nowiki>{{Template:OBX boilerplate params}}</nowiki>


;The following parameters, shown with their current (default) values, can be changed.
;The following parameters, shown with their current (default) values, can be changed.
<pre>
<pre>
{{OBX boilerplate params
{{XO box2
| border-color = #6cbe42
| border-color = #6cbe42
| border-width = 1 &lt;!-- the border width in px --&gt;
| border-width = 1 &lt;!-- the border width in px --&gt;
Line 31: Line 31:


'''Original:'''
'''Original:'''
{{XO box2 &#124; border-color = #ffb466 &#124; border-width = 1 &#124; logo-background = #ffb466 &#124; logo-size = 14 &#124; logo-color = black &#124; info-background = #ffe496 &#124; info-size = 8 &#124; info-color = black &#124; logo = id &#124; info = info &#124; float = left }}
{{OBX boilerplate params &#124; border-color = #ffb466 &#124; border-width = 1 &#124; logo-background = #ffb466 &#124; logo-size = 14 &#124; logo-color = black &#124; info-background = #ffe496 &#124; info-size = 8 &#124; info-color = black &#124; logo = id &#124; info = info &#124; float = left }}
{{-}}
{{-}}
{{WikipediaTemplate|name=User:UBX/Boilerplate}}
{{WikipediaTemplate|name=User:UBX/Boilerplate}}
[[Category:XO templates]]
[[Category:OBX templates]]
<!-- 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 17:09, 5 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.