Difference between revisions of "Template:Inventory"
Line 1: | Line 1: | ||
<includeonly>{| cellpadding="0" cellspacing="10" style="background:transparent" | <includeonly>{| cellpadding="0" cellspacing="10" style="background:transparent" | ||
− | | align="left" valign="middle" width="60px" | <div style="position:relative; left:0px; top:0px; background:transparent;">http:// | + | | align="left" valign="middle" width="60px" | <div style="position:relative; left:0px; top:0px; background:transparent;">http://72.29.91.222/inventory/2x2.gif<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" | {{{gloves-url|}}} | | align="center" valign="middle" width="60px" | {{{gloves-url|}}} | ||
|} | |} | ||
</div></div> | </div></div> | ||
− | | align="left" valign="middle" width="60px" | <div style="position:relative; left:0px; top:0px; background:transparent;">http:// | + | | align="left" valign="middle" width="60px" | <div style="position:relative; left:0px; top:0px; background:transparent;">http://72.29.91.222/inventory/2x2.gif<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" | {{{helmet-url|}}} | | align="center" valign="middle" width="60px" | {{{helmet-url|}}} | ||
|} | |} | ||
</div></div> | </div></div> | ||
− | | align="left" valign="middle" width="60px" | <div style="position:relative; left:0px; top:0px; background:transparent;">http:// | + | | align="left" valign="middle" width="60px" | <div style="position:relative; left:0px; top:0px; background:transparent;">http://72.29.91.222/inventory/1x1.gif<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="left" valign="middle" width="60px" | {{{amulet-url|}}} | | align="left" valign="middle" width="60px" | {{{amulet-url|}}} | ||
Line 16: | Line 16: | ||
</div></div> | </div></div> | ||
|- | |- | ||
− | | align="left" valign="middle" width="60px" | <div style="position:relative; left:0px; top:0px; background:transparent;">http:// | + | | align="left" valign="middle" width="60px" | <div style="position:relative; left:0px; top:0px; background:transparent;">http://72.29.91.222/inventory/2x3.gif<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="left" valign="middle" width="60px" | {{{weapon-url|}}} | | align="left" valign="middle" width="60px" | {{{weapon-url|}}} | ||
|} | |} | ||
</div></div> | </div></div> | ||
− | | align="left" valign="middle" width="60px" | <div style="position:relative; left:0px; top:0px; background:transparent;">http:// | + | | align="left" valign="middle" width="60px" | <div style="position:relative; left:0px; top:0px; background:transparent;">http://72.29.91.222/inventory/2x3.gif<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" | {{{armor-url|}}} | | align="center" valign="middle" width="60px" | {{{armor-url|}}} | ||
|} | |} | ||
</div></div> | </div></div> | ||
− | | align="left" valign="middle" width="60px" | <div style="position:relative; left:0px; top:0px; background:transparent;">http:// | + | | align="left" valign="middle" width="60px" | <div style="position:relative; left:0px; top:0px; background:transparent;">http://72.29.91.222/inventory/2x3.gif<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" | {{{shield-url|}}} | | align="center" valign="middle" width="60px" | {{{shield-url|}}} | ||
Line 32: | Line 32: | ||
</div></div> | </div></div> | ||
|- | |- | ||
− | | align="left" valign="middle" width="60px" | <div style="position:relative; left:0px; top:0px; background:transparent;">http:// | + | | align="left" valign="middle" width="60px" | <div style="position:relative; left:0px; top:0px; background:transparent;">http://72.29.91.222/inventory/1x1.gif<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="left" valign="middle" width="60px" | {{{ring-url|}}} | | align="left" valign="middle" width="60px" | {{{ring-url|}}} | ||
|} | |} | ||
</div></div> | </div></div> | ||
− | | align="left" valign="middle" width="60px" | <div style="position:relative; left:0px; top:0px; background:transparent;">http:// | + | | align="left" valign="middle" width="60px" | <div style="position:relative; left:0px; top:0px; background:transparent;">http://72.29.91.222/inventory/2x2.gif<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" | {{{boots-url|}}} | | align="center" valign="middle" width="60px" | {{{boots-url|}}} | ||
|} | |} | ||
</div></div> | </div></div> | ||
− | | align="left" valign="middle" width="60px" | <div style="position:relative; left:0px; top:0px; background:transparent;">http:// | + | | align="left" valign="middle" width="60px" | <div style="position:relative; left:0px; top:0px; background:transparent;">http://72.29.91.222/inventory/1x1.gif<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="left" valign="middle" width="60px" | {{{rune-url|}}} | | align="left" valign="middle" width="60px" | {{{rune-url|}}} | ||
Line 98: | Line 98: | ||
|- | |- | ||
| width="75%" style="border:1px solid #aaa;" | <pre>{{Inventory | | width="75%" style="border:1px solid #aaa;" | <pre>{{Inventory | ||
− | |gloves-url=http:// | + | |gloves-url=http://72.29.91.222/items/1740.gif |
− | |helmet-url=http:// | + | |helmet-url=http://72.29.91.222/items/2309.gif |
− | |amulet-url=http:// | + | |amulet-url=http://72.29.91.222/items/1730.gif |
− | |weapon-url=http:// | + | |weapon-url=http://72.29.91.222/items/2312.gif |
− | |armor-url=http:// | + | |armor-url=http://72.29.91.222/items/2311.gif |
− | |shield-url=http:// | + | |shield-url=http://72.29.91.222/items/1711.gif |
− | |ring-url=http:// | + | |ring-url=http://72.29.91.222/items/2855.gif |
− | |boots-url=http:// | + | |boots-url=http://72.29.91.222/items/2310.gif |
− | |rune-url=http:// | + | |rune-url=http://72.29.91.222/items/1640.gif |
}} | }} | ||
</pre> | </pre> | ||
| width="25%" style="border:1px solid #aaa;" | {{Inventory | | width="25%" style="border:1px solid #aaa;" | {{Inventory | ||
− | |gloves-url=http:// | + | |gloves-url=http://72.29.91.222/items/1740.gif |
− | |helmet-url=http:// | + | |helmet-url=http://72.29.91.222/items/2309.gif |
− | |amulet-url=http:// | + | |amulet-url=http://72.29.91.222/items/1730.gif |
− | |weapon-url=http:// | + | |weapon-url=http://72.29.91.222/items/2312.gif |
− | |armor-url=http:// | + | |armor-url=http://72.29.91.222/items/2311.gif |
− | |shield-url=http:// | + | |shield-url=http://72.29.91.222/items/1711.gif |
− | |ring-url=http:// | + | |ring-url=http://72.29.91.222/items/2855.gif |
− | |boots-url=http:// | + | |boots-url=http://72.29.91.222/items/2310.gif |
− | |rune-url=http:// | + | |rune-url=http://72.29.91.222/items/1640.gif |
}} | }} | ||
|} | |} |
Revision as of 10:59, 31 March 2010
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. |
How to Use
This template emulates the inventory on your fallensword profile page by creating a table with the blank inventory boxes and a transparent table background so it can be placed on any color background. Items are put into the inventory boxes by adding the image urls into the template.
This template does not, however, allow links to that item's wiki page so you want that, it will have to be somewhere else on your page. If you would like to be able to link the item images to their wiki pages, you can use the slightly more complicated Template:Inventory2.
If you wish to use this template, copy the following code and insert it into your page:
Code | Output | ||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
{{Inventory |gloves-url= |helmet-url= |amulet-url= |weapon-url= |armor-url= |shield-url= |ring-url= |boots-url= |rune-url= }} |
|
Example
Code | Output | ||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
{{Inventory |gloves-url=http://72.29.91.222/items/1740.gif |helmet-url=http://72.29.91.222/items/2309.gif |amulet-url=http://72.29.91.222/items/1730.gif |weapon-url=http://72.29.91.222/items/2312.gif |armor-url=http://72.29.91.222/items/2311.gif |shield-url=http://72.29.91.222/items/1711.gif |ring-url=http://72.29.91.222/items/2855.gif |boots-url=http://72.29.91.222/items/2310.gif |rune-url=http://72.29.91.222/items/1640.gif }} |
|