Difference between revisions of "Template:KPMain"

From SpiralKnights

Jump to: navigation, search
m
Line 1: Line 1:
 
{| cellpadding="0" cellspacing="0" align="{{{align|left}}}" style="width: {{{width|300px}}}; 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|300px}}}; 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>'''''{{{name|NAME}}}'''''</big></big></big>{{#if: {{{title|}}} | <br>''{{{title}}}''}}</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 48: Line 48:
 
<pre>{{KPMain
 
<pre>{{KPMain
 
| name =  
 
| name =  
 +
| title =
 
| pic =  
 
| pic =  
 
| nick =  
 
| nick =  

Revision as of 01:46, 26 October 2011

NAME
Template documentation

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 in Hex Color Code (HCC) format. It is recommended that you either use color names (e.g. "blue", "gold", "silver"), HCC, or RGB.

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 = 
| clrOuterBack = 
| clrOuterBord = 
| clrInnerBack = 
| clrInnerBord = 
| clrPicBack = 
| clrPicBord = 
| clrLCellBack = 
| clrLCellText = 
| clrRCellBack = 
| clrRCellText = 
}}
Personal tools