Difference between revisions of "Template:ItemBox"

From Fallen Sword Wiki
Jump to: navigation, search
(Undo revision 158252 by Lusterless (talk))
 
(15 intermediate revisions by 4 users not shown)
Line 1: Line 1:
 
<includeonly><center>
 
<includeonly><center>
 
{| cellpadding="0" cellspacing="0"
 
{| cellpadding="0" cellspacing="0"
| align="center" valign="middle" width="60px" height="90" | <div style="position:relative; left:0px; top:0px; background:transparent;">http://huntedcow.cachefly.net/fs/inventory/2x3.gif<div style="position:absolute; left:0px; top:0px; background:transparent;">
+
| align="center" valign="middle" width="60px" height="90" | <div style="position:relative; left:0px; top:0px; background:transparent;">https://cdn2.fallensword.com/ui/inventory/2x3.png<div style="position:absolute; left:0px; top:0px; background:transparent;">
 
{| style="background:transparent" cellpadding="0" cellspacing="0"
 
{| style="background:transparent" cellpadding="0" cellspacing="0"
 
| align="center" valign="middle" width="60px" height="90" | {{{1|}}}
 
| align="center" valign="middle" width="60px" height="90" | {{{1|}}}
Line 25: Line 25:
 
! ''Output''
 
! ''Output''
 
|-
 
|-
| width="75%" style="border:1px solid #aaa;" | <pre>{{ItemBox|http://huntedcow.cachefly.net/fs/items/81.gif}}</pre>
+
| width="75%" style="border:1px solid #aaa;" | <pre>{{ItemBox|https://cdn.fallensword.com/items/81.gif}}</pre>
| width="25%" style="border:1px solid #aaa;" | {{ItemBox|http://huntedcow.cachefly.net/fs/items/81.gif}}
+
| width="25%" style="border:1px solid #aaa;" | {{ItemBox|https://cdn.fallensword.com/items/81.gif}}
 
|}
 
|}
  
Line 61: Line 61:
 
! ''Output''
 
! ''Output''
 
|-
 
|-
| width="75%" style="border:1px solid #aaa;" | <pre>{{ItemBox4|http://huntedcow.cachefly.net/fs/items/5559.gif}}</pre>
+
| width="75%" style="border:1px solid #aaa;" | <pre>{{ItemBox4|http://cdn.fallensword.com/items/5559.gif}}</pre>
| width="25%" style="border:1px solid #aaa;" | {{ItemBox4|http://huntedcow.cachefly.net/fs/items/5559.gif}}
+
| width="25%" style="border:1px solid #aaa;" | {{ItemBox4|http://cdn.fallensword.com/items/5559.gif}}
 
|}
 
|}
  
Line 71: Line 71:
 
! ''Output''
 
! ''Output''
 
|-
 
|-
| width="75%" style="border:1px solid #aaa;" | <pre>{{ItemBox5|http://huntedcow.cachefly.net/fs/items/5577.gif}}</pre>
+
| width="75%" style="border:1px solid #aaa;" | <pre>{{ItemBox5|http://cdn.fallensword.com/items/5577.gif}}</pre>
| width="25%" style="border:1px solid #aaa;" | {{ItemBox5|http://huntedcow.cachefly.net/fs/items/5577.gif}}
+
| width="25%" style="border:1px solid #aaa;" | {{ItemBox5|http://cdn.fallensword.com/items/5577.gif}}
 
|}
 
|}
  
 
[[Category:Templates|{{PAGENAME}}]]
 
[[Category:Templates|{{PAGENAME}}]]
 
</noinclude>
 
</noinclude>

Latest revision as of 06:15, 22 January 2022

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|https://cdn.fallensword.com/items/81.gif}}
2x3.png
81.gif


ItemBox2

Code Output
This template contains the item image URL so only the filename portion is needed.
{{ItemBox2|81}}
2x3.png
81.gif


ItemBox3

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 !!!}}
|}
Anything !!!


ItemBox4

Code Output
{{ItemBox4|http://cdn.fallensword.com/items/5559.gif}}
1x1mini.png
5559.gif


ItemBox5

Code Output
{{ItemBox5|http://cdn.fallensword.com/items/5577.gif}}
2x3.png
5577.gif