Difference between revisions of "Template:KPMain"
From SpiralKnights
m |
m |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
{| cellpadding="0" cellspacing="0" align="{{{align|left}}}" style="width: {{{width|250px}}}; border: 5px solid {{{clrOuterBord|#000000}}}; background: {{{clrOuterBack|#EBC94D}}}; margin: {{{margin|0px}}}; border-radius: 14px; -moz-border-radius: 14px; -webkit-border-radius: 14px; -khtml-border-radius: 14px; -icab-border-radius: 14px; -o-border-radius: 14px;" | {| cellpadding="0" cellspacing="0" align="{{{align|left}}}" style="width: {{{width|250px}}}; border: 5px solid {{{clrOuterBord|#000000}}}; background: {{{clrOuterBack|#EBC94D}}}; margin: {{{margin|0px}}}; border-radius: 14px; -moz-border-radius: 14px; -webkit-border-radius: 14px; -khtml-border-radius: 14px; -icab-border-radius: 14px; -o-border-radius: 14px;" | ||
|- | |- | ||
− | | <table cellpadding="0" cellspacing="10" width="100%" style="background: none;"><tr><td align="center"><big><big><big>'''''{{{name|NAME}}}'''''</big></big></big>{{#if: {{{title|}}} | <br><small>''{{{title}}}''</small>}}</td></tr></table> | + | | <table cellpadding="0" cellspacing="10" width="100%" style="background: none;"><tr><td align="center"><big><big><big><font color="{{{clrName|#000000}}}">'''''{{{name|NAME}}}'''''</font></big></big></big>{{#if: {{{title|}}} | <br><small><font color="{{{clrTitle|#000000}}}">''{{{title}}}''</font></small>}}</td></tr></table> |
|- | |- | ||
| <table cellpadding="2" cellspacing="5" align="center" style="border: 2px solid {{{clrInnerBord|#496E8B}}}; background: {{{clrInnerBack|#114255}}}; width: 100%; border-radius: 10px; -moz-border-radius: 10px; -webkit-border-radius: 10px; -khtml-border-radius: 10px; -icab-border-radius: 10px; -o-border-radius: 10px;">{{#if: {{{pic|}}} | | <table cellpadding="2" cellspacing="5" align="center" style="border: 2px solid {{{clrInnerBord|#496E8B}}}; background: {{{clrInnerBack|#114255}}}; width: 100%; border-radius: 10px; -moz-border-radius: 10px; -webkit-border-radius: 10px; -khtml-border-radius: 10px; -icab-border-radius: 10px; -o-border-radius: 10px;">{{#if: {{{pic|}}} | ||
Line 33: | Line 33: | ||
=== Colors === | === Colors === | ||
''Note that all following colors are in Hex Color Code (HCC) format. It is recommended that you either use color names (e.g. "blue", "gold", "silver"), HCC, or RGB.'' | ''Note that all following colors are in Hex Color Code (HCC) format. It is recommended that you either use color names (e.g. "blue", "gold", "silver"), HCC, or RGB.'' | ||
+ | ; clrName: The color of the name at the top of the window. '''Default value:''' #000000 | ||
+ | ; clrTitle: The color of the title, underneath the name at the top of the window. '''Default value:''' #000000 | ||
; clrOuterBack: The color of the outer background. '''Default value:''' #000000 | ; clrOuterBack: The color of the outer background. '''Default value:''' #000000 | ||
; clrOuterBord: The color of the outer border. '''Default value:''' #EBC94D | ; clrOuterBord: The color of the outer border. '''Default value:''' #EBC94D | ||
Line 53: | Line 55: | ||
| align = | | align = | ||
| width = | | width = | ||
+ | | clrName = | ||
+ | | clrTitle = | ||
| clrOuterBack = | | clrOuterBack = | ||
| clrOuterBord = | | clrOuterBord = |
Latest revision as of 01:57, 26 October 2011
| |
|
Usage
To be utilized on User pages for Knight information/advertisement. It is typically placed in conjunction with the other Knight Page templates.
Parameters
Knight-Specific
- name
- The in-game name of your Knight which you are displaying. Default value: NAME
- title
- A nifty little title for yourself.
- pic
- The link to a picture you wish to portray your Knight.
- nick
- The nickname which you prefer others to call you by.
- guild
- The name of the guild your Knight is in (if any).
Functional
- align
- The alignment of the whole window. Default value: left
- width
- The width of the whole window. Default value: 250px
Colors
Note that all following colors are in Hex Color Code (HCC) format. It is recommended that you either use color names (e.g. "blue", "gold", "silver"), HCC, or RGB.
- clrName
- The color of the name at the top of the window. Default value: #000000
- clrTitle
- The color of the title, underneath the name at the top of the window. Default value: #000000
- clrOuterBack
- The color of the outer background. Default value: #000000
- clrOuterBord
- The color of the outer border. Default value: #EBC94D
- clrInnerBack
- The color of the inner background. Default value: #496E8B
- clrInnerBord
- The color of the inner border. Default value: #114255
- clrPicBack
- The background color of the picture's frame. Default value: none
- clrPicBord
- The border color of the picture's frame. Default value: none
- clrLCellBack
- The background color of each left (question) field cell. (These do not have border colors.) Default value: #C7DBEA
- clrLCellText
- The text color of each left (question) field cell. Default value: #000000
- clrRCellBack
- The background color of each right (answer) field cell. (These do not have border colors.) Default value: #C7DBEA
- clrRCellText
- The text color of each right (answer) field cell. Default value: #000000
Copy & Paste
{{KPMain | name = | title = | pic = | nick = | guild = | align = | width = | clrName = | clrTitle = | clrOuterBack = | clrOuterBord = | clrInnerBack = | clrInnerBord = | clrPicBack = | clrPicBord = | clrLCellBack = | clrLCellText = | clrRCellBack = | clrRCellText = }}
Editors can experiment in this template's sandbox (create) and testcases (create) pages. Subpages of this template. |