Difference between revisions of "Template:ItemBox"
From Fallen Sword Wiki
Lusterless (Talk | contribs) |
Lusterless (Talk | contribs) |
||
Line 1: | Line 1: | ||
<includeonly> | <includeonly> | ||
− | <div style="position:relative; left:0px; top:0px; background:transparent;">{{Pictures|ui/inventory/2x3.png}} | + | <div style="position:relative; left:0px; top:0px; background:transparent; width: 60px; height: 90px;">{{Pictures|ui/inventory/2x3.png}} |
− | <div style="position:absolute; left:0px; top:0px; background:transparent;">{{{1|}}}</div> | + | <div style="position:absolute; left:0px; top:0px; background:transparent; width: 100%; height: 100%"> |
+ | <div style="position:absolute; left:0px; top: 0px; right: 0px; bottom: 0px; margin: auto;"> | ||
+ | {{{1|}}} | ||
+ | </div> | ||
+ | </div> | ||
</div> | </div> | ||
|}</includeonly><noinclude> | |}</includeonly><noinclude> |
Revision as of 01:55, 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}} |
|
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 !!!}} |} |
|
Code | Output | ||
---|---|---|---|
{{ItemBox4|http://cdn.fallensword.com/items/5559.gif}} |
|
Code | Output | ||
---|---|---|---|
{{ItemBox5|http://cdn.fallensword.com/items/5577.gif}} |
|