Difference between revisions of "Template:ItemBox"
From Fallen Sword Wiki
Line 1: | Line 1: | ||
− | <includeonly>width="60px" height="90" align="center" valign="middle" | + | <includeonly>{| cellpadding="0" cellspacing="0" |
− | <noinclude> | + | | align="center" valign="middle" width="60px" height="90" | <div style="position:relative; left:0px; top:0px; background:transparent;">http://66.7.192.165/inventory/2x3.gif<div style="position:absolute; left:0px; top:0px; background:transparent;"> |
+ | {| style="background:transparent" cellpadding="0" cellspacing="0" | ||
+ | | align="center" valign="middle" width="60px" height="90" | {{{1}}} | ||
+ | |} | ||
+ | </div></div> | ||
+ | |} | ||
+ | </includeonly><noinclude> | ||
<center> | <center> | ||
{| width="100%" style="border:3px dashed #f00;" | {| width="100%" style="border:3px dashed #f00;" | ||
Line 12: | Line 18: | ||
</center> | </center> | ||
+ | ==Variations== | ||
+ | '''[[Template:ItemBox|ItemBox]]''' | ||
+ | {| width="100%" | ||
+ | ! ''Code'' | ||
+ | ! ''Output'' | ||
+ | |- | ||
+ | | width="75%" style="border:1px solid #aaa;" | <pre>{{ItemBox|http://66.7.192.165/items/81.gif}}</pre> | ||
+ | | width="25%" style="border:1px solid #aaa;" | {{ItemBox|http://66.7.192.165/items/81.gif}} | ||
+ | |} | ||
+ | |||
+ | |||
+ | '''[[Template:ItemBox2|ItemBox2]]''' | ||
+ | {| width="100%" | ||
+ | ! ''Code'' | ||
+ | ! ''Output'' | ||
+ | |- | ||
+ | | width="75%" style="border:1px solid #aaa;" | This template contains the item image URL so only the filename portion is needed.<pre>{{ItemBox2|81}}</pre> | ||
+ | | width="25%" style="border:1px solid #aaa;" | {{ItemBox2|81}} | ||
+ | |} | ||
+ | |||
+ | |||
+ | '''[[Template:ItemBox3|ItemBox3]]''' | ||
+ | {| width="100%" | ||
+ | ! ''Code'' | ||
+ | ! ''Output'' | ||
+ | |- | ||
+ | | width="75%" style="border:1px solid #aaa;" | This template was designed to be used as a cell in a table. Because of this, it is flexible enough to be used for more than just items. | ||
+ | <pre>{| | ||
+ | |{{ItemBox3|Anything !!!}} | ||
+ | |}</pre> | ||
+ | | width="25%" style="border:1px solid #aaa;" | | ||
+ | {| | ||
+ | |{{ItemBox3|Anything !!!}} | ||
+ | |} | ||
+ | |} | ||
[[Category:Templates|{{PAGENAME}}]] | [[Category:Templates|{{PAGENAME}}]] | ||
</noinclude> | </noinclude> |
Revision as of 21:43, 11 May 2008
Do not edit this page! |
If you need to customize this template to fit your own needs, copy the code into a fresh template and work from there. If you think this template needs changed, mention it on the Talk Page. |
Editing this page may cause the template to stop working properly for other pages currently using this template. |
Variations
ItemBox
Code | Output | ||
---|---|---|---|
{{ItemBox|http://66.7.192.165/items/81.gif}} |
|
Code | Output | ||
---|---|---|---|
This template contains the item image URL so only the filename portion is needed.{{ItemBox2|81}} |
|
Code | Output | |
---|---|---|
This template was designed to be used as a cell in a table. Because of this, it is flexible enough to be used for more than just items.
{| |{{ItemBox3|Anything !!!}} |} |
|