Difference between revisions of "Template:Userboxtop"

From PSU Cyril Wiki
Jump to: navigation, search
(Added explanation for userboxtop)
m
 
(3 intermediate revisions by the same user not shown)
Line 2: Line 2:
 
|<div style="text-align: center; font-size: 120%; font-weight: bold;">{{{toptext|userboxes}}}</div></includeonly>
 
|<div style="text-align: center; font-size: 120%; font-weight: bold;">{{{toptext|userboxes}}}</div></includeonly>
  
 
+
<noinclude>
 
==Usage==
 
==Usage==
 
<pre><nowiki>{{userboxtop
 
<pre><nowiki>{{userboxtop
Line 54: Line 54:
 
| textcolor = white
 
| textcolor = white
 
| toptext = example}}
 
| toptext = example}}
 
 
{{User:K'lon/userbox/DCPSO}}
 
{{User:K'lon/userbox/DCPSO}}
 
+
{{User:K'lon/userbox/DCLover}}
{{User:K'lon/userbox/DCPSO}}
 
 
 
 
{{userboxbottom}}
 
{{userboxbottom}}
 
</nowiki></pre>
 
</nowiki></pre>
Line 71: Line 68:
 
| textcolor = white
 
| textcolor = white
 
| toptext = example}}
 
| toptext = example}}
 
{{User:K'lon/userbox/DCPSO}}
 
 
 
{{User:K'lon/userbox/DCPSO}}
 
{{User:K'lon/userbox/DCPSO}}
 
+
{{User:K'lon/userbox/DCLover}}
 
{{userboxbottom}}
 
{{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


User:K'lon/userbox/DCPSO User:K'lon/userbox/DCLover