Difference between revisions of "Template:Inventory2"

From Fallen Sword Wiki
Jump to: navigation, search
 
(2 intermediate revisions by 2 users not shown)
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://66.7.192.165/inventory/2x2.gif<div style="position:absolute; left:0px; top:0px; background:transparent;">
+
| align="left" valign="middle" width="60px" | <div style="position:relative; left:0px; top:0px; background:transparent;">http://fileserver.huntedcow.com/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" | <span class="plainlinks">[{{fullurl:{{{gloves-page|}}}}} {{{gloves-url|}}}]</span>
+
| align="center" valign="middle" width="60px" | <span class="plainlinks">[{{fullurl:{{{gloves-page|Inventory}}}}} {{{gloves-url|http://wiki.fallensword.com/images/f/f3/Invisiblespacer.gif}}}]</span>
 
|}
 
|}
 
</div></div>
 
</div></div>
| align="left" valign="middle" width="60px" | <div style="position:relative; left:0px; top:0px; background:transparent;">http://66.7.192.165/inventory/2x2.gif<div style="position:absolute; left:0px; top:0px; background:transparent;">
+
| align="left" valign="middle" width="60px" | <div style="position:relative; left:0px; top:0px; background:transparent;">http://fileserver.huntedcow.com/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" | <span class="plainlinks">[{{fullurl:{{{helmet-page|}}}}} {{{helmet-url|}}}]</span>
+
| align="center" valign="middle" width="60px" | <span class="plainlinks">[{{fullurl:{{{helmet-page|Inventory}}}}} {{{helmet-url|http://wiki.fallensword.com/images/f/f3/Invisiblespacer.gif}}}]</span>
 
|}
 
|}
 
</div></div>
 
</div></div>
| align="left" valign="middle" width="60px" | <div style="position:relative; left:0px; top:0px; background:transparent;">http://66.7.192.165/inventory/1x1.gif<div style="position:absolute; left:0px; top:0px; background:transparent;">
+
| align="left" valign="middle" width="60px" | <div style="position:relative; left:0px; top:0px; background:transparent;">http://fileserver.huntedcow.com/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" | <span class="plainlinks">[{{fullurl:{{{amulet-page|}}}}} {{{amulet-url|}}}]</span>
+
| align="left" valign="middle" width="60px" | <span class="plainlinks">[{{fullurl:{{{amulet-page|Inventory}}}}} {{{amulet-url|http://wiki.fallensword.com/images/f/f3/Invisiblespacer.gif}}}]</span>
 
|}
 
|}
 
</div></div>
 
</div></div>
 
|-
 
|-
| align="left" valign="middle" width="60px" | <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;">
+
| align="left" valign="middle" width="60px" | <div style="position:relative; left:0px; top:0px; background:transparent;">http://fileserver.huntedcow.com/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" | <span class="plainlinks">[{{fullurl:{{{weapon-page|}}}}} {{{weapon-url|}}}]</span>
+
| align="left" valign="middle" width="60px" | <span class="plainlinks">[{{fullurl:{{{weapon-page|Inventory}}}}} {{{weapon-url|http://wiki.fallensword.com/images/f/f3/Invisiblespacer.gif}}}]</span>
 
|}
 
|}
 
</div></div>
 
</div></div>
| align="left" valign="middle" width="60px" | <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;">
+
| align="left" valign="middle" width="60px" | <div style="position:relative; left:0px; top:0px; background:transparent;">http://fileserver.huntedcow.com/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" | <span class="plainlinks">[{{fullurl:{{{armor-page|}}}}} {{{armor-url|}}}]</span>
+
| align="center" valign="middle" width="60px" | <span class="plainlinks">[{{fullurl:{{{armor-page|Inventory}}}}} {{{armor-url|http://wiki.fallensword.com/images/f/f3/Invisiblespacer.gif}}}]</span>
 
|}
 
|}
 
</div></div>
 
</div></div>
| align="left" valign="middle" width="60px" | <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;">
+
| align="left" valign="middle" width="60px" | <div style="position:relative; left:0px; top:0px; background:transparent;">http://fileserver.huntedcow.com/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" | <span class="plainlinks">[{{fullurl:{{{shield-page|}}}}} {{{shield-url|}}}]</span>
+
| align="center" valign="middle" width="60px" | <span class="plainlinks">[{{fullurl:{{{shield-page|Inventory}}}}} {{{shield-url|http://wiki.fallensword.com/images/f/f3/Invisiblespacer.gif}}}]</span>
 
|}
 
|}
 
</div></div>
 
</div></div>
 
|-
 
|-
| align="left" valign="middle" width="60px" | <div style="position:relative; left:0px; top:0px; background:transparent;">http://66.7.192.165/inventory/1x1.gif<div style="position:absolute; left:0px; top:0px; background:transparent;">
+
| align="left" valign="middle" width="60px" | <div style="position:relative; left:0px; top:0px; background:transparent;">http://fileserver.huntedcow.com/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" | <span class="plainlinks">[{{fullurl:{{{ring-page|}}}}} {{{ring-url|}}}]</span>
+
| align="left" valign="middle" width="60px" | <span class="plainlinks">[{{fullurl:{{{ring-page|Inventory}}}}} {{{ring-url|http://wiki.fallensword.com/images/f/f3/Invisiblespacer.gif}}}]</span>
 
|}
 
|}
 
</div></div>
 
</div></div>
| align="left" valign="middle" width="60px" | <div style="position:relative; left:0px; top:0px; background:transparent;">http://66.7.192.165/inventory/2x2.gif<div style="position:absolute; left:0px; top:0px; background:transparent;">
+
| align="left" valign="middle" width="60px" | <div style="position:relative; left:0px; top:0px; background:transparent;">http://fileserver.huntedcow.com/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" | <span class="plainlinks">[{{fullurl:{{{boots-page|}}}}} {{{boots-url|}}}]</span>
+
| align="center" valign="middle" width="60px" | <span class="plainlinks">[{{fullurl:{{{boots-page|Inventory}}}}} {{{boots-url|http://wiki.fallensword.com/images/f/f3/Invisiblespacer.gif}}}]</span>
 
|}
 
|}
 
</div></div>
 
</div></div>
| align="left" valign="middle" width="60px" | <div style="position:relative; left:0px; top:0px; background:transparent;">http://66.7.192.165/inventory/1x1.gif<div style="position:absolute; left:0px; top:0px; background:transparent;">
+
| align="left" valign="middle" width="60px" | <div style="position:relative; left:0px; top:0px; background:transparent;">http://fileserver.huntedcow.com/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" | <span class="plainlinks">[{{fullurl:{{{rune-page|}}}}} {{{rune-url|}}}]</span>
+
| align="left" valign="middle" width="60px" | <span class="plainlinks">[{{fullurl:{{{rune-page|Inventory}}}}} {{{rune-url|http://wiki.fallensword.com/images/f/f3/Invisiblespacer.gif}}}]</span>
 
|}
 
|}
 
</div></div>
 
</div></div>
Line 62: Line 62:
 
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 also '''requires''' you to link those images to the item's wiki page. However, you must take care to use underscores (example: Shield_of_Girath) for any spaces in the item's page name. For an inventory template that does not require or allow links to the item wiki pages, use [[Template:Inventory]].
+
This template also allows you to link those images to the item's wiki page. However, you must take care to use underscores (example: Shield_of_Girath) for any spaces in the item's page name. For an inventory template that does not permit links to the item wiki pages, use [[Template:Inventory]]. If you want to leave a slot empty, just don't put in the parameters for that slot.
  
 
If you wish to use this template, copy the following code and insert it into your page:
 
If you wish to use this template, copy the following code and insert it into your page:
Line 116: Line 116:
 
|-
 
|-
 
| width="75%" style="border:1px solid #aaa;" | <pre>{{Inventory2
 
| width="75%" style="border:1px solid #aaa;" | <pre>{{Inventory2
|gloves-url=http://66.7.192.165/items/1740.gif
+
|gloves-url=http://fileserver.huntedcow.com/items/1740.gif
 
|gloves-page=Banshee_Gloves
 
|gloves-page=Banshee_Gloves
|helmet-url=http://66.7.192.165/items/2309.gif
+
|helmet-url=http://fileserver.huntedcow.com/items/2309.gif
 
|helmet-page=Banshee_Helm
 
|helmet-page=Banshee_Helm
|amulet-url=http://66.7.192.165/items/1730.gif
+
|amulet-url=http://fileserver.huntedcow.com/items/1730.gif
 
|amulet-page=Amulet_of_Sidel
 
|amulet-page=Amulet_of_Sidel
|weapon-url=http://66.7.192.165/items/2312.gif
+
|weapon-url=http://fileserver.huntedcow.com/items/2312.gif
 
|weapon-page=Banshee_Sword
 
|weapon-page=Banshee_Sword
|armor-url=http://66.7.192.165/items/2311.gif
+
|shield-url=http://fileserver.huntedcow.com/items/1711.gif
|armor-page=Banshee_Armor
+
|shield-url=http://66.7.192.165/items/1711.gif
+
 
|shield-page=Shield_of_Tanneth
 
|shield-page=Shield_of_Tanneth
|ring-url=http://66.7.192.165/items/2855.gif
+
|ring-url=http://fileserver.huntedcow.com/items/2855.gif
 
|ring-page=Samaels_Void_Ring
 
|ring-page=Samaels_Void_Ring
|boots-url=http://66.7.192.165/items/2310.gif
+
|boots-url=http://fileserver.huntedcow.com/items/2310.gif
 
|boots-page=Banshee_Boots
 
|boots-page=Banshee_Boots
|rune-url=http://66.7.192.165/items/1640.gif
+
|rune-url=http://fileserver.huntedcow.com/items/1640.gif
 
|rune-page=Greshas_Rune
 
|rune-page=Greshas_Rune
 
}}
 
}}
 
</pre>
 
</pre>
 
| width="25%" style="border:1px solid #aaa;" | {{Inventory2
 
| width="25%" style="border:1px solid #aaa;" | {{Inventory2
|gloves-url=http://66.7.192.165/items/1740.gif
+
|gloves-url=http://fileserver.huntedcow.com/items/1740.gif
 
|gloves-page=Banshee_Gloves
 
|gloves-page=Banshee_Gloves
|helmet-url=http://66.7.192.165/items/2309.gif
+
|helmet-url=http://fileserver.huntedcow.com/items/2309.gif
 
|helmet-page=Banshee_Helm
 
|helmet-page=Banshee_Helm
|amulet-url=http://66.7.192.165/items/1730.gif
+
|amulet-url=http://fileserver.huntedcow.com/items/1730.gif
 
|amulet-page=Amulet_of_Sidel
 
|amulet-page=Amulet_of_Sidel
|weapon-url=http://66.7.192.165/items/2312.gif
+
|weapon-url=http://fileserver.huntedcow.com/items/2312.gif
 
|weapon-page=Banshee_Sword
 
|weapon-page=Banshee_Sword
|armor-url=http://66.7.192.165/items/2311.gif
+
|shield-url=http://fileserver.huntedcow.com/items/1711.gif
|armor-page=Banshee_Armor
+
|shield-url=http://66.7.192.165/items/1711.gif
+
 
|shield-page=Shield_of_Tanneth
 
|shield-page=Shield_of_Tanneth
|ring-url=http://66.7.192.165/items/2855.gif
+
|ring-url=http://fileserver.huntedcow.com/items/2855.gif
 
|ring-page=Samaels_Void_Ring
 
|ring-page=Samaels_Void_Ring
|boots-url=http://66.7.192.165/items/2310.gif
+
|boots-url=http://fileserver.huntedcow.com/items/2310.gif
 
|boots-page=Banshee_Boots
 
|boots-page=Banshee_Boots
|rune-url=http://66.7.192.165/items/1640.gif
+
|rune-url=http://fileserver.huntedcow.com/items/1640.gif
 
|rune-page=Greshas_Rune
 
|rune-page=Greshas_Rune
 
}}
 
}}

Latest revision as of 09:55, 27 November 2013

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 also allows you to link those images to the item's wiki page. However, you must take care to use underscores (example: Shield_of_Girath) for any spaces in the item's page name. For an inventory template that does not permit links to the item wiki pages, use Template:Inventory. If you want to leave a slot empty, just don't put in the parameters for that slot.

If you wish to use this template, copy the following code and insert it into your page:

Code Output
{{Inventory2
|gloves-url=
|gloves-page=
|helmet-url=
|helmet-page=
|amulet-url=
|amulet-page=
|weapon-url=
|weapon-page=
|armor-url=
|armor-page=
|shield-url=
|shield-page=
|ring-url=
|ring-page=
|boots-url=
|boots-page=
|rune-url=
|rune-page=
}}
2x2.gif
[[[:Template:Fullurl:]] ]
2x2.gif
[[[:Template:Fullurl:]] ]
1x1.gif
[[[:Template:Fullurl:]] ]
2x3.gif
[[[:Template:Fullurl:]] ]
2x3.gif
[[[:Template:Fullurl:]] ]
2x3.gif
[[[:Template:Fullurl:]] ]
1x1.gif
[[[:Template:Fullurl:]] ]
2x2.gif
[[[:Template:Fullurl:]] ]
1x1.gif
[[[:Template:Fullurl:]] ]

Example

Code Output
{{Inventory2
|gloves-url=http://fileserver.huntedcow.com/items/1740.gif
|gloves-page=Banshee_Gloves
|helmet-url=http://fileserver.huntedcow.com/items/2309.gif
|helmet-page=Banshee_Helm
|amulet-url=http://fileserver.huntedcow.com/items/1730.gif
|amulet-page=Amulet_of_Sidel
|weapon-url=http://fileserver.huntedcow.com/items/2312.gif
|weapon-page=Banshee_Sword
|shield-url=http://fileserver.huntedcow.com/items/1711.gif
|shield-page=Shield_of_Tanneth
|ring-url=http://fileserver.huntedcow.com/items/2855.gif
|ring-page=Samaels_Void_Ring
|boots-url=http://fileserver.huntedcow.com/items/2310.gif
|boots-page=Banshee_Boots
|rune-url=http://fileserver.huntedcow.com/items/1640.gif
|rune-page=Greshas_Rune
}}
2x2.gif
1740.gif
2x2.gif
2309.gif
1x1.gif
1730.gif
2x3.gif
2312.gif
2x3.gif
Invisiblespacer.gif
2x3.gif
1711.gif
1x1.gif
2855.gif
2x2.gif
2310.gif
1x1.gif
1640.gif