Difference between revisions of "Template:KPMain"
From SpiralKnights
m |
m |
||
(5 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | {| cellpadding="0" cellspacing="0" align="{{{align|left}}}" style="width: {{{width| | + | {| 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></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|}}} | ||
− | | <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 = | ||
== Usage == | == Usage == | ||
− | To be utilized on User pages for Knight information/advertisement. It is typically placed in conjunction with the other | + | To be utilized on User pages for Knight information/advertisement. It is typically placed in conjunction with the other [[User:Aecarus/Knight_Page_Project|Knight Page templates]]. |
− | + | ||
− | + | ||
== Parameters == | == Parameters == | ||
=== Knight-Specific === | === Knight-Specific === | ||
; name: The in-game name of your Knight which you are displaying. '''Default value:''' NAME | ; 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. | ; pic: The link to a picture you wish to portray your Knight. | ||
; nick: The nickname which you prefer others to call you by. | ; nick: The nickname which you prefer others to call you by. | ||
Line 29: | Line 29: | ||
=== Functional === | === Functional === | ||
; align: The alignment of the whole window. '''Default value:''' left | ; align: The alignment of the whole window. '''Default value:''' left | ||
− | ; width: The width of the whole window. '''Default value:''' | + | ; width: The width of the whole window. '''Default value:''' 250px |
=== Colors === | === Colors === | ||
− | ''Note that all following colors are | + | ''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 43: | Line 45: | ||
; clrRCellBack: The background color of each right (answer) field cell. (These do not have border colors.) '''Default value:''' #C7DBEA | ; 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 | ; clrRCellText: The text color of each right (answer) field cell. '''Default value:''' #000000 | ||
+ | |||
+ | == Copy & Paste == | ||
+ | <pre>{{KPMain | ||
+ | | name = | ||
+ | | title = | ||
+ | | pic = | ||
+ | | nick = | ||
+ | | guild = | ||
+ | | align = | ||
+ | | width = | ||
+ | | clrName = | ||
+ | | clrTitle = | ||
+ | | clrOuterBack = | ||
+ | | clrOuterBord = | ||
+ | | clrInnerBack = | ||
+ | | clrInnerBord = | ||
+ | | clrPicBack = | ||
+ | | clrPicBord = | ||
+ | | clrLCellBack = | ||
+ | | clrLCellText = | ||
+ | | clrRCellBack = | ||
+ | | clrRCellText = | ||
+ | }}</pre> | ||
}}</noinclude> | }}</noinclude> |
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. |