Difference between revisions of "Template:KPMain"
From SpiralKnights
m (Created page with '{| cellpadding="0" cellspacing="0" align="{{{align|left}}}" style="width: {{{width|300px}}}; border: 5px solid {{{clrOuterBord|#000000}}}; background: {{{clrOuterBack|#EBC94D}}};…') |
m |
||
Line 10: | Line 10: | ||
}}{{#if: {{{guild|}}} | }}{{#if: {{{guild|}}} | ||
| <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;">Guild:</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;">Guild:</td> | ||
− | <td style="text-align: center; background: {{{clrRCellBack|#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;">{{{guild}}}</td></tr> | + | <td style="text-align: center; background: {{{clrRCellBack|#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;">[[{{{guild}}}_(Guild)|{{{guild}}}]]</td></tr> |
}}</table> | }}</table> | ||
|}<noinclude> | |}<noinclude> |
Revision as of 01:13, 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. |