Difference between revisions of "Template:SkillBox1"

From Fallen Sword Wiki
Jump to: navigation, search
(Made optional parameters)
Line 1: Line 1:
 
<includeonly>{| cellpadding="{{{1|3}}}" cellspacing="{{{2|3}}} style="{{{3|border:0px;}}}"
 
<includeonly>{| cellpadding="{{{1|3}}}" cellspacing="{{{2|3}}} style="{{{3|border:0px;}}}"
! align="{{{5|center}}}" width="{{{6|25%}}}" style="{{{7|background-color: #c38d37;}}}" | Name
+
! align="{{{4|center}}}" width="25%" style="background-color: {{{5|#c38d37}}};" | Name
! align="{{{8|center}}}" width="{{{9|25%}}}" style="{{{10|background-color: #c38d37;}}}" | Level
+
! align="{{{4|center}}}" width="25%" style="background-color: {{{5|#c38d37}}};" | Level
! align="{{{11|center}}}" width="{{{12|25%}}}" style="{{{13|background-color: #c38d37;}}}" | Image
+
! align="{{{4|center}}}" width="25%" style="background-color: {{{5|#c38d37}}};" | Image
! align="{{{14|center}}}" width="{{{15|25%}}}" style="{{{16|background-color: #c38d37;}}}" | Price
+
! align="{{{4|center}}}" width="25%" style="background-color: {{{5|#c38d37}}};" | Price
 
|-
 
|-
| align="{{{17|center}}}" style="{{{18|background-color: #e5c173;}}}" | [[{{{buff}}}]]
+
| align="{{{6|center}}}" style="background-color: {{{7|#e5c173}}};" | [[{{{buff}}}]]
| align="{{{19|center}}}" style="{{{20|background-color: #e5c173;}}}" | {{{level}}}
+
| align="{{{6|center}}}" style="background-color: {{{8|#e5c173}}};" | {{{level}}}
| align="{{{21|center}}}" style="{{{22|background-color: #e5c173;}}}" | {{{image_link}}}
+
| align="{{{6|center}}}" style="background-color: {{{9|#e5c173}}};" | {{{image_link}}}
| align="{{{23|center}}}" style="{{{24|background-color: #e5c173;}}}" | {{{price}}}
+
| align="{{{6|center}}}" style="background-color: {{{10|#e5c173}}};" | {{{price}}}{{{11|http://66.7.192.165/skin/gold_button.gif}}}
 
|}</includeonly><noinclude>
 
|}</includeonly><noinclude>
<!--
 
  
Note to Greggacam: I made it easy for you... Instead of putting in lots of little extra parameters, I made it so people can just put in their own custom styles in the style tags, leaving the final thing as plain or as detailed as they might like.
 
 
-->
 
 
Copy and paste this:
 
Copy and paste this:
  
Line 41: Line 37:
 
The optional paramaters are as follows:
 
The optional paramaters are as follows:
  
Example:<br>(missing parameters are missing only for example purposes)
+
<pre>
<pre>{{SkillBox1
+
1=Cell Padding (Space between text and edge of box)
|buff=Rage
+
2=Cell Spacing (Space between boxes)
|image_link=http://66.7.192.165/skills/0_b.gif
+
3=Style (Customizable)
|level=115
+
4=Alignment of First Row (Left, Center, Right)
|price=Too much {{FSP}}
+
5=Background Color of First Row
|1=0
+
6=Alignment of Second Row (Left, Center, Right)
|2=10
+
7=Background Color of First Column
|3=border:3px dotted #ff0;
+
8=Background Color of Second Column
|4=??? Apparently I skipped over this one!
+
9=Background Color of Third Column
|5=left
+
10=Background Color of Fourth Column
|6=14%
+
11=Put http://66.7.192.165/skin/pp_button.gif if Price is in FSPs
|7=background-color:#770295;border:4px solid #0fe;
+
</pre>
|9=80px
+
|10=font-family:'Arial Black';
+
|11=right
+
|12=42%
+
|13=font-size:15pt;background-color:ff0;color:0ff;
+
|14=right
+
|17=left
+
|18=font-size:5pt;color:#fff;background-color:#000;
+
|19=right
+
|20=margin:25px;
+
|21=left
+
|23=right
+
|24=padding:25px;
+
}}</pre>
+
 
+
{{SkillBox1
+
|buff=Rage
+
|image_link=http://66.7.192.165/skills/0_b.gif
+
|level=115
+
|price=Too much {{FSP}}
+
|1=0
+
|2=10
+
|3=border:3px dotted #ff0;
+
|4=??? Apparently I skipped over this one!
+
|5=left
+
|6=14%
+
|7=background-color:#770295;border:4px solid #0fe;
+
|9=80px
+
|10=font-family:'Arial Black';
+
|11=right
+
|12=42%
+
|13=font-size:15pt;background-color:ff0;color:0ff;
+
|14=right
+
|17=left
+
|18=font-size:5pt;color:#fff;background-color:#000;
+
|19=right
+
|20=margin:25px;
+
|21=left
+
|23=right
+
|24=padding:25px;
+
}}
+
  
 
[[Category:Templates|{{PAGENAME}}]]</noinclude>
 
[[Category:Templates|{{PAGENAME}}]]</noinclude>

Revision as of 04:48, 1 June 2008


Copy and paste this:

{{SkillBox1
|buff=BUFFNAMEGOESHERE
|image_link=IMAGELINKGOESHERE
|level=LEVELGOESHERE
|price=PRICEGOESHERE
}}

It looks like:

Name Level Image Price
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:

|price=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 Row (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
11=Put http://66.7.192.165/skin/pp_button.gif if Price is in FSPs