Difference between revisions of "Template:Inventory"
(New page: <includeonly>{| cellpadding="0" cellspacing="10" style="background:transparent" | align="left" valign="middle" width="60px" | <div style="position:relative; left:0px; top:0px; background:t...) |
|||
Line 60: | Line 60: | ||
== How to Use == | == How to Use == | ||
− | This template emulates the inventory on your fallensword [http://www.fallensword.com/index.php?cmd=profile 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 emulates the inventory on your fallensword [http://www.fallensword.com/index.php?cmd=profile 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: | ||
{| width="100%" | {| width="100%" | ||
! ''Code'' | ! ''Code'' |
Revision as of 02:22, 12 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. |
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://66.7.192.165/items/1740.gif |helmet-url=http://66.7.192.165/items/2309.gif |amulet-url=http://66.7.192.165/items/1730.gif |weapon-url=http://66.7.192.165/items/2312.gif |armor-url=http://66.7.192.165/items/2311.gif |shield-url=http://66.7.192.165/items/1711.gif |ring-url=http://66.7.192.165/items/2855.gif |boots-url=http://66.7.192.165/items/2310.gif |rune-url=http://66.7.192.165/items/1640.gif }} |
|