If you are looking for Information about PSU Clementine, Go check their Wiki
Difference between revisions of "Template:Userboxtop"
From The re-PSUPedia
m |
|||
(7 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | {| name="userboxes" id="userboxes" style=" | + | <includeonly>{|name="userboxes" id="userboxes" style="margin-left: 1em; margin-bottom: 0.5em; width: 248px; border: {{{bordercolor|#99B3FF}}} solid 1px; background-color: {{{backgroundcolor|#FFFFFF}}}; color: {{{textcolor|#000000}}}; float: {{{2|{{{align|right}}}}}}; {{{extra-css|}}}" |
+ | |<div style="text-align: center; font-size: 120%; font-weight: bold;">{{{toptext|userboxes}}}</div></includeonly> | ||
+ | |||
+ | <noinclude> | ||
+ | ==Usage== | ||
+ | <pre><nowiki>{{userboxtop | ||
+ | | align = | ||
+ | | backgroundcolor = | ||
+ | | bordercolor = | ||
+ | | extra-css = | ||
+ | | textcolor = | ||
+ | | toptext = | ||
+ | }} | ||
+ | |||
+ | [userboxes] | ||
+ | |||
+ | {{userboxbottom}}</nowiki></pre> | ||
+ | |||
+ | All of the parameters are '''optional'''. | ||
+ | |||
+ | ===Customizing=== | ||
+ | Detailed explanations of the parameters are below. | ||
+ | |||
+ | {| class="wikitable" | ||
+ | |- | ||
+ | ! Parameter | ||
+ | ! Valid values | ||
+ | |- | ||
+ | | <code>align</code> | ||
+ | | <code>left</code>, <code>center</code>, or <code>right</code> (default) | ||
+ | |- | ||
+ | | <code>backgroundcolor</code> | ||
+ | | Any web color (name or <tt>#XXXXXX</tt> hex format). Defaults to <tt>#FFFFFF</tt>. | ||
+ | |- | ||
+ | | <code>bordercolor</code> | ||
+ | | Any Web colors (name or <tt>#XXXXXX</tt> hex format). Defaults to <tt>#99B3FF</tt>. | ||
+ | |- | ||
+ | | <code>extra-css</code> | ||
+ | | Allows you to provide additional Cascading Style Sheets style information. | ||
+ | |- | ||
+ | | <code>textcolor</code> | ||
+ | | Any Web colors (name or <tt>#XXXXXX</tt> hex format). Defaults to <tt>#000000</tt>. | ||
|- | |- | ||
+ | | <code>toptext</code> | ||
+ | | Overrides the standard text and link. Can include wiki-markup. | ||
+ | |} | ||
+ | |||
+ | == Example == | ||
+ | This code | ||
+ | <pre><nowiki>{{userboxtop | ||
+ | | align = center | ||
+ | | backgroundcolor = green | ||
+ | | bordercolor = yellow | ||
+ | | textcolor = white | ||
+ | | toptext = example}} | ||
+ | {{User:K'lon/userbox/DCPSO}} | ||
+ | {{User:K'lon/userbox/DCLover}} | ||
+ | {{userboxbottom}} | ||
+ | </nowiki></pre> | ||
+ | |||
+ | would show this | ||
+ | |||
− | | | + | {{userboxtop |
+ | | align = center | ||
+ | | backgroundcolor = green | ||
+ | | bordercolor = yellow | ||
+ | | textcolor = white | ||
+ | | toptext = example}} | ||
+ | {{User:K'lon/userbox/DCPSO}} | ||
+ | {{User:K'lon/userbox/DCLover}} | ||
+ | {{userboxbottom}} | ||
+ | </noinclude> |
Latest revision as of 13:00, 23 December 2006
Usage
{{userboxtop | align = | backgroundcolor = | bordercolor = | extra-css = | textcolor = | toptext = }} [userboxes] {{userboxbottom}}
All of the parameters are optional.
Customizing
Detailed explanations of the parameters are below.
Parameter | Valid values |
---|---|
align
|
left , center , or right (default)
|
backgroundcolor
|
Any web color (name or #XXXXXX hex format). Defaults to #FFFFFF. |
bordercolor
|
Any Web colors (name or #XXXXXX hex format). Defaults to #99B3FF. |
extra-css
|
Allows you to provide additional Cascading Style Sheets style information. |
textcolor
|
Any Web colors (name or #XXXXXX hex format). Defaults to #000000. |
toptext
|
Overrides the standard text and link. Can include wiki-markup. |
Example
This code
{{userboxtop | align = center | backgroundcolor = green | bordercolor = yellow | textcolor = white | toptext = example}} {{User:K'lon/userbox/DCPSO}} {{User:K'lon/userbox/DCLover}} {{userboxbottom}}
would show this
example
|