Difference between revisions of "Template:SkillBox2"

From Fallen Sword Wiki
Jump to: navigation, search
 
(8 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{| border="0" style="width: 30%; text-align: middle; border:1px solid #ACBABC; background: #EBF3F4;" cellpadding="3" cellspacing="3"
+
<includeonly>{| cellpadding="{{{1|3}}}" cellspacing="{{{2|3}}}" style="{{{3|border:0px;}}}" class="sortable"
 
+
! align="{{{4|center}}}" width="25%" style="background-color: {{{5|#c38d37}}};" | Name
!Skills!!Image!!Level!!Price!!
+
! align="{{{4|center}}}" width="25%" style="background-color: {{{5|#c38d37}}};" | Level
 
+
! align="{{{4|center}}}" width="25%" style="background-color: {{{5|#c38d37}}};" | Image
 
+
! align="{{{4|center}}}" width="25%" style="background-color: {{{5|#c38d37}}};" | Price
 
+
 
|-
 
|-
| valign="top" style="border:1px solid #ACBABC; text-align: Center; background: #F5F9FA" cellpadding="3" cellspacing="3"|
+
| align="{{{6|center}}}" style="background-color: {{{7|#e5c173}}};" | [[{{{buff1}}}]]
[[{{{buff1}}}]]
+
| align="{{{6|center}}}" style="background-color: {{{8|#e5c173}}};" | {{{level1}}}
| valign="top" style="border:1px solid #ACBABC; text-align: Center; background: #F5F9FA" cellpadding="3" cellspacing="3"|
+
| align="{{{6|center}}}" style="background-color: {{{9|#e5c173}}};" | {{{image_link1}}}
{{{image_link1}}}
+
| align="{{{6|center}}}" style="background-color: {{{10|#e5c173}}};" | {{{price1}}}
| valign="top" style="border:1px solid #ACBABC; text-align: Center; background: #F5F9FA" cellpadding="3" cellspacing="3"|
+
{{{level1}}}
+
| valign="top" style="border:1px solid #ACBABC; text-align: Center; background: #F5F9FA" cellpadding="3" cellspacing="3"|
+
{{{price1}}} http://66.7.192.165/skin/gold_button.gif
+
 
|-
 
|-
 +
| align="{{{6|center}}}" style="background-color: {{{7|#e5c173}}};" | [[{{{buff2}}}]]
 +
| align="{{{6|center}}}" style="background-color: {{{8|#e5c173}}};" | {{{level2}}}
 +
| align="{{{6|center}}}" style="background-color: {{{9|#e5c173}}};" | {{{image_link2}}}
 +
| align="{{{6|center}}}" style="background-color: {{{10|#e5c173}}};" | {{{price2}}}
 +
|}</includeonly><noinclude>
  
|-
+
Copy and paste this:
| valign="top" style="border:1px solid #ACBABC; text-align: Center; background: #F5F9FA" cellpadding="3" cellspacing="3"|
+
[[{{{buff2}}}]]
+
| valign="top" style="border:1px solid #ACBABC; text-align: Center; background: #F5F9FA" cellpadding="3" cellspacing="3"|
+
{{{image_link2}}}
+
| valign="top" style="border:1px solid #ACBABC; text-align: Center; background: #F5F9FA" cellpadding="3" cellspacing="3"|
+
{{{level2}}}
+
| valign="top" style="border:1px solid #ACBABC; text-align: Center; background: #F5F9FA" cellpadding="3" cellspacing="3"|
+
{{{price2}}} http://66.7.192.165/skin/gold_button.gif
+
|-
+
  
|}
+
<pre><nowiki>{{SkillBox2
 +
|buff1=BUFFNAMEGOESHERE
 +
|image_link1=IMAGELINKGOESHERE
 +
|level1=LEVELGOESHERE
 +
|price1=PRICEGOESHERE
 +
|buff2=BUFFNAMEGOESHERE
 +
|image_link2=IMAGELINKGOESHERE
 +
|level2=LEVELGOESHERE
 +
|price2=PRICEGOESHERE
 +
}}</nowiki></pre>
  
<noinclude>
+
Make sure you put a '''space''' and either <nowiki>{{Gold}} or {{FSP}}</nowiki> after each price to signify what type of currency.
<pre>
+
  
Copy and paste this:
 
  
  
<nowiki>{{SkillBox2
+
It looks like:
 +
{{SkillBox2
 
|buff1=BUFFNAMEGOESHERE
 
|buff1=BUFFNAMEGOESHERE
 
|image_link1=IMAGELINKGOESHERE
 
|image_link1=IMAGELINKGOESHERE
 
|level1=LEVELGOESHERE
 
|level1=LEVELGOESHERE
 
|price1=PRICEGOESHERE
 
|price1=PRICEGOESHERE
 
 
 
|buff2=BUFFNAMEGOESHERE
 
|buff2=BUFFNAMEGOESHERE
 
|image_link2=IMAGELINKGOESHERE
 
|image_link2=IMAGELINKGOESHERE
 
|level2=LEVELGOESHERE
 
|level2=LEVELGOESHERE
|price2=PRICEGOESHERE}}</nowiki></pre>
+
|price2=PRICEGOESHERE
 +
}}
  
</noinclude>
+
There are also optional parameters, to change colors and such. To use an optional parameter, add a new line after the price parameter like this:
  
 +
<pre><nowiki>
 +
|price2=PRICEGOESHERE
 +
|parameter_number=PARAMETERVALUEGOESHERE
 +
}}</nowiki></pre>
  
 +
The optional paramaters are as follows:
  
 +
<pre>
 +
1=Cell Padding (Space between text and edge of box)
 +
2=Cell Spacing (Space between boxes)
 +
3=Style (Customizable)
 +
4=Alignment of First Row (Left, Center, Right)
 +
5=Background Color of First Row
 +
6=Alignment of Second and Third Rows (Left, Center, Right)
 +
7=Background Color of First Column
 +
8=Background Color of Second Column
 +
9=Background Color of Third Column
 +
10=Background Color of Fourth Column
 +
</pre>
  
<noinclude>[[Category:Templates|{}]]</noinclude>
+
[[Category:Templates|{{PAGENAME}}]]</noinclude>

Latest revision as of 01:00, 5 June 2008


Copy and paste this:

{{SkillBox2
|buff1=BUFFNAMEGOESHERE
|image_link1=IMAGELINKGOESHERE
|level1=LEVELGOESHERE
|price1=PRICEGOESHERE
|buff2=BUFFNAMEGOESHERE
|image_link2=IMAGELINKGOESHERE
|level2=LEVELGOESHERE
|price2=PRICEGOESHERE
}}

Make sure you put a space and either {{Gold}} or {{FSP}} after each price to signify what type of currency.


It looks like:

Name Level Image Price
BUFFNAMEGOESHERE LEVELGOESHERE IMAGELINKGOESHERE PRICEGOESHERE
BUFFNAMEGOESHERE LEVELGOESHERE IMAGELINKGOESHERE PRICEGOESHERE

There are also optional parameters, to change colors and such. To use an optional parameter, add a new line after the price parameter like this:

|price2=PRICEGOESHERE
|parameter_number=PARAMETERVALUEGOESHERE
}}

The optional paramaters are as follows:

1=Cell Padding (Space between text and edge of box)
2=Cell Spacing (Space between boxes)
3=Style (Customizable)
4=Alignment of First Row (Left, Center, Right)
5=Background Color of First Row
6=Alignment of Second and Third Rows (Left, Center, Right)
7=Background Color of First Column
8=Background Color of Second Column
9=Background Color of Third Column
10=Background Color of Fourth Column