Template:OBX boilerplate params: Difference between revisions
Jump to navigation
Jump to search
m (cat cosmetics) |
(slimming the box - more info-like line) |
||
Line 1: | Line 1: | ||
<div style="float:{{{float|left}}}; border:{{{border-width|1}}}px solid {{{border-color|{{{1|#6cbe42}}}}}}; margin:1px;"> |
<div style="float:{{{float|left}}}; border:{{{border-width|1}}}px solid {{{border-color|{{{1|#6cbe42}}}}}}; margin:1px;"> |
||
{| cellspacing="0" style="width:238px; background:{{{info-background|{{{2|#8ad962}}}}}};" |
{| cellspacing="0" style="width:238px; background:{{{info-background|{{{2|#8ad962}}}}}};" |
||
| style="width:45px; height: |
| style="width:45px; height:20px; background:{{{logo-background|{{{1|#6cbe42}}}}}}; text-align:center; font-size:{{{logo-size|{{{5|14}}}}}}pt; color:{{{logo-color|black}}};" | '''{{{logo|{{{3|id}}}}}}''' |
||
| style="font-size:{{{info-size|8}}}pt; padding:4pt; line-height:1.25em; color:{{{info-color|black}}};" | {{{info|{{{4|info}}}}}} |
| style="font-size:{{{info-size|8}}}pt; padding:4pt; line-height:1.25em; color:{{{info-color|black}}};" | {{{info|{{{4|info}}}}}} |
||
|}</div><noinclude> |
|}</div><noinclude> |
Latest revision as of 04:57, 12 September 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.