Difference between revisions of "Template:SkillBox2"

From Fallen Sword Wiki
Jump to: navigation, search
(Switched it to look more like FS format)
 
(3 intermediate revisions by one user not shown)
Line 1: Line 1:
{| width="50%" cellpadding="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
 +
! 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
 
|-
 
|-
! align="center" style="background-color: #C38D37;" | Name
+
| align="{{{6|center}}}" style="background-color: {{{7|#e5c173}}};" | [[{{{buff1}}}]]
! align="center" style="background-color: #C38D37;" | Level
+
| align="{{{6|center}}}" style="background-color: {{{8|#e5c173}}};" | {{{level1}}}
! align="center" style="background-color: #C38D37;" | Image
+
| align="{{{6|center}}}" style="background-color: {{{9|#e5c173}}};" | {{{image_link1}}}
 +
| align="{{{6|center}}}" style="background-color: {{{10|#e5c173}}};" | {{{price1}}}
 
|-
 
|-
| align="center" style="background-color: #e5c173;" | [[{{{buff1}}}]]
+
| align="{{{6|center}}}" style="background-color: {{{7|#e5c173}}};" | [[{{{buff2}}}]]
| align="center" style="background-color: #e5c173;" | {{{level1}}}
+
| align="{{{6|center}}}" style="background-color: {{{8|#e5c173}}};" | {{{level2}}}
| align="center" style="background-color: #e5c173;" | {{{image_link1}}}
+
| align="{{{6|center}}}" style="background-color: {{{9|#e5c173}}};" | {{{image_link2}}}
|-
+
| align="{{{6|center}}}" style="background-color: {{{10|#e5c173}}};" | {{{price2}}}
| align="center" style="background-color: #e5c173;" | [[{{{buff2}}}]]
+
|}</includeonly><noinclude>
| align="center" style="background-color: #e5c173;" | {{{level2}}}
+
| align="center" style="background-color: #e5c173;" | {{{image_link2}}}
+
|}<br>
+
<noinclude>
+
<pre>
+
  
 
Copy and paste this:
 
Copy and paste this:
  
 
+
<pre><nowiki>{{SkillBox2
<nowiki>{{SkillBox2
+
 
|buff1=BUFFNAMEGOESHERE
 
|buff1=BUFFNAMEGOESHERE
 
|image_link1=IMAGELINKGOESHERE
 
|image_link1=IMAGELINKGOESHERE
 
|level1=LEVELGOESHERE
 
|level1=LEVELGOESHERE
 
|price1=PRICEGOESHERE
 
|price1=PRICEGOESHERE
 +
|buff2=BUFFNAMEGOESHERE
 +
|image_link2=IMAGELINKGOESHERE
 +
|level2=LEVELGOESHERE
 +
|price2=PRICEGOESHERE
 +
}}</nowiki></pre>
  
 +
Make sure you put a '''space''' and either <nowiki>{{Gold}} or {{FSP}}</nowiki> after each price to signify what type of currency.
  
 +
 +
 +
It looks like:
 +
{{SkillBox2
 +
|buff1=BUFFNAMEGOESHERE
 +
|image_link1=IMAGELINKGOESHERE
 +
|level1=LEVELGOESHERE
 +
|price1=PRICEGOESHERE
 
|buff2=BUFFNAMEGOESHERE
 
|buff2=BUFFNAMEGOESHERE
 
|image_link2=IMAGELINKGOESHERE
 
|image_link2=IMAGELINKGOESHERE
 
|level2=LEVELGOESHERE
 
|level2=LEVELGOESHERE
 
|price2=PRICEGOESHERE
 
|price2=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:
 +
 +
<pre><nowiki>
 +
|price2=PRICEGOESHERE
 +
|parameter_number=PARAMETERVALUEGOESHERE
 
}}</nowiki></pre>
 
}}</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>
  
 
[[Category:Templates|{{PAGENAME}}]]</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