Difference between revisions of "Template:KPMain"
From SpiralKnights
m |
m |
||
Line 4: | Line 4: | ||
|- | |- | ||
| <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|}}} | ||
− | | <tr><td colspan="2"><table align="center" style="border: 2px solid {{{clrPicBord| | + | | <tr><td colspan="2"><table align="center" style="border: 2px solid {{{clrPicBord|none}}}; background: {{{clrPicBack|none}}}; padding: 10px 10px 10px 10px; border-radius: 10px; -moz-border-radius: 10px; -webkit-border-radius: 10px; -khtml-border-radius: 10px; -icab-border-radius: 10px; -o-border-radius: 10px;"><tr><td style="text-align: center;">[[File:{{{pic}}}]]</td></tr></table></td></tr> |
}}{{#if: {{{nick|}}} | }}{{#if: {{{nick|}}} | ||
| <tr><td style="text-align: right; font-weight: bold; width: 40%; height: 29px; background: {{{clrLCellBack|#C7DBEA}}}; color: {{{clrLCellText|#000000}}}; font-size: normal; padding: 5px 10px 5px 10px; border-radius: 5px; -moz-border-radius: 5px; -webkit-border-radius: 5px; -khtml-border-radius: 5px; -icab-border-radius: 5px; -o-border-radius: 5px;">Nickname:</td> | | <tr><td style="text-align: right; font-weight: bold; width: 40%; height: 29px; background: {{{clrLCellBack|#C7DBEA}}}; color: {{{clrLCellText|#000000}}}; font-size: normal; padding: 5px 10px 5px 10px; border-radius: 5px; -moz-border-radius: 5px; -webkit-border-radius: 5px; -khtml-border-radius: 5px; -icab-border-radius: 5px; -o-border-radius: 5px;">Nickname:</td> | ||
Line 13: | Line 13: | ||
}}</table> | }}</table> | ||
|}<noinclude> | |}<noinclude> | ||
+ | |||
{{Documentation | {{Documentation | ||
| content = | | content = |
Revision as of 01:20, 26 October 2011
| |
|
Usage
To be utilized on User pages for Knight information/advertisement. It is typically placed in conjunction with the other UKP templates.
Part of the Knight Page Project.
Parameters
Knight-Specific
- name
- The in-game name of your Knight which you are displaying. Default value: NAME
- 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: 300px
Colors
Note that all following colors are exemplified in Hex Color Code (HCC) format. It is recommended that you also use HCC.
- 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
Editors can experiment in this template's sandbox (create) and testcases (create) pages. Subpages of this template. |