Difference between revisions of "Template:Teamlabel-top"
Jump to navigation
Jump to search
sc4e>Warrior (Added template, for Team labels on People pages (from User:Warrior, Template:Test)) |
sc4e>Warrior (added details) |
||
Line 1: | Line 1: | ||
+ | <noinclude> | ||
+ | Use this template at the top of the Teamlabel boxes on People: pages. | ||
+ | |||
+ | ==Syntax== | ||
+ | <pre>{{teamlabel-top | ||
+ | | backgroundcolor = | ||
+ | | bordercolor = | ||
+ | | extra-css = | ||
+ | | textcolor = | ||
+ | | toptext = | ||
+ | }} | ||
+ | |||
+ | [userboxes] | ||
+ | |||
+ | {{userbox-bottom}} | ||
+ | </pre> | ||
+ | ===Customizing=== | ||
+ | Detailed explanations of the parameters are below. | ||
+ | |||
+ | {| border="1" cellspacing="0" cellpadding="5" | ||
+ | |- | ||
+ | ! Parameter | ||
+ | ! Valid values | ||
+ | |- | ||
+ | | <code>backgroundcolor</code> | ||
+ | | Any [[Wikipedia:Web colors|web color]] (name or <tt>#XXXXXX</tt> hex format). Defaults to <tt>#FFFFFF</tt>. | ||
+ | |- | ||
+ | | <code>bordercolor</code> | ||
+ | | Any [[Wikipedia:Web colors|web color]] (name or <tt>#XXXXXX</tt> hex format). Defaults to <tt>#99B3FF</tt>. | ||
+ | |- | ||
+ | | <code>extra-css</code> | ||
+ | | Allows you to provide additional [[Wikipedia:Cascading Style Sheets|CSS]] style information. | ||
+ | |- | ||
+ | | <code>textcolor</code> | ||
+ | | Any [[Wikipedia:Web colors|web color]] (name or <tt>#XXXXXX</tt> hex format). Defaults to <tt>#000000</tt>. | ||
+ | |- | ||
+ | | <code>toptext</code> | ||
+ | | Overrides the standard Team Label text and link. Can include wiki-markup. Defaults to "Team Labels" | ||
+ | |} | ||
+ | ==Example== | ||
+ | {{teamlabel-top}} | ||
+ | </noinclude> | ||
<includeonly>{|align="right" class="userboxes" style="margin-left: 1em;; margin-bottom: 0.5em; border: {{{bordercolor|#99B3FF}}} solid 1px; background-color: {{{backgroundcolor|#FFFFFF}}}; color: {{{textcolor|#000000}}}; {{{extra-css|}}}" | <includeonly>{|align="right" class="userboxes" style="margin-left: 1em;; margin-bottom: 0.5em; border: {{{bordercolor|#99B3FF}}} solid 1px; background-color: {{{backgroundcolor|#FFFFFF}}}; color: {{{textcolor|#000000}}}; {{{extra-css|}}}" | ||
− | |<div style="text-align: center; font-size: 120%; font-weight: bold;">{{{ | + | |<div style="text-align: center; font-size: 120%; font-weight: bold;">{{{toptext|Team Labels}}}</div> |
</includeonly> | </includeonly> |
Revision as of 00:06, 11 October 2008
Use this template at the top of the Teamlabel boxes on People: pages.
Syntax
{{teamlabel-top | backgroundcolor = | bordercolor = | extra-css = | textcolor = | toptext = }} [userboxes] {{userbox-bottom}}
Customizing
Detailed explanations of the parameters are below.
Parameter | Valid values |
---|---|
backgroundcolor
|
Any web color (name or #XXXXXX hex format). Defaults to #FFFFFF. |
bordercolor
|
Any web color (name or #XXXXXX hex format). Defaults to #99B3FF. |
extra-css
|
Allows you to provide additional CSS style information. |
textcolor
|
Any web color (name or #XXXXXX hex format). Defaults to #000000. |
toptext
|
Overrides the standard Team Label text and link. Can include wiki-markup. Defaults to "Team Labels" |
Example
Team Labels
|