Difference between revisions of "Template:InventorySet"

From Fallen Sword Wiki
Jump to: navigation, search
 
(17 intermediate revisions by 5 users not shown)
Line 1: Line 1:
<!-- That´s only a trial a strange error, occuring on Item Sets -->  
+
<!-- That´s only a trial a strange error, occuring on Item Sets -->  
  
 
<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://72.29.91.222/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;">https://cdn2.fallensword.com/ui/inventory/2x2.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" | <span class="plainlinks">[{{fullurl:{{{gloves-page|{{FULLPAGENAME}}}}}}} {{{gloves-url|http://wiki.fallensword.com/images/5/56/2x2b.gif}}}]</span>
+
| align="center" valign="middle" width="60px" | <span class="plainlinks">[{{fullurl:{{{gloves-page|{{FULLPAGENAME}}}}}}} {{{gloves-url|https://cdn2.fallensword.com/ui/inventory/2x2.png}}}]</span>
 
|}
 
|}
 
</div></div>
 
</div></div>
| 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;">
+
| align="left" valign="middle" width="60px" | <div style="position:relative; left:0px; top:0px; background:transparent;">https://cdn2.fallensword.com/ui/inventory/2x2.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" | <span class="plainlinks">[{{fullurl:{{{helmet-page|{{FULLPAGENAME}}}}}}} {{{helmet-url|http://wiki.fallensword.com/images/5/56/2x2b.gif}}}]</span>
+
| align="center" valign="middle" width="60px" | <span class="plainlinks">[{{fullurl:{{{helmet-page|{{FULLPAGENAME}}}}}}} {{{helmet-url|https://cdn2.fallensword.com/ui/inventory/2x2.png}}}]</span>
 
|}
 
|}
 
</div></div>
 
</div></div>
| 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;">
+
| align="left" valign="middle" width="60px" | <div style="position:relative; left:15px; top:0px; background:transparent;">https://cdn2.fallensword.com/ui/inventory/1x1.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="left" valign="middle" width="60px" | <span class="plainlinks">[{{fullurl:{{{amulet-page|{{FULLPAGENAME}}}}}}} {{{amulet-url|http://wiki.fallensword.com/images/6/61/1x1b.gif}}}]</span>
+
| align="left" valign="middle" width="60px" | <span class="plainlinks">[{{fullurl:{{{amulet-page|{{FULLPAGENAME}}}}}}} {{{amulet-url|https://cdn2.fallensword.com/ui/inventory/1x1.png}}}]</span>
 
|}
 
|}
 
</div></div>
 
</div></div>
 
|-
 
|-
| 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;">
+
| align="left" valign="middle" width="60px" | <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="left" valign="middle" width="60px" | <span class="plainlinks">[{{fullurl:{{{weapon-page|{{FULLPAGENAME}}}}}}} {{{weapon-url|http://wiki.fallensword.com/images/5/53/2x3b.gif}}}]</span>
+
| align="left" valign="middle" width="60px" | <span class="plainlinks">[{{fullurl:{{{weapon-page|{{FULLPAGENAME}}}}}}} {{{weapon-url|https://cdn2.fallensword.com/ui/inventory/2x3.png}}}]</span>
 
|}
 
|}
 
</div></div>
 
</div></div>
| 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;">
+
| align="left" valign="middle" width="60px" | <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" | <span class="plainlinks">[{{fullurl:{{{armor-page|{{FULLPAGENAME}}}}}}} {{{armor-url|http://wiki.fallensword.com/images/5/53/2x3b.gif}}}]</span>
+
| align="center" valign="middle" width="60px" | <span class="plainlinks">[{{fullurl:{{{armor-page|{{FULLPAGENAME}}}}}}} {{{armor-url|https://cdn2.fallensword.com/ui/inventory/2x3.png}}}]</span>
 
|}
 
|}
 
</div></div>
 
</div></div>
| 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;">
+
| align="left" valign="middle" width="60px" | <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" | <span class="plainlinks">[{{fullurl:{{{shield-page|{{FULLPAGENAME}}}}}}} {{{shield-url|http://wiki.fallensword.com/images/5/53/2x3b.gif}}}]</span>
+
| align="center" valign="middle" width="60px" | <span class="plainlinks">[{{fullurl:{{{shield-page|{{FULLPAGENAME}}}}}}} {{{shield-url|https://cdn2.fallensword.com/ui/inventory/2x3.png}}}]</span>
 
|}
 
|}
 
</div></div>
 
</div></div>
 
|-
 
|-
| 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;">
+
| align="left" valign="middle" width="60px" | <div style="position:relative; left:15px; top:0px; background:transparent;">https://cdn2.fallensword.com/ui/inventory/1x1.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="left" valign="middle" width="60px" | <span class="plainlinks">[{{fullurl:{{{ring-page|{{FULLPAGENAME}}}}}}} {{{ring-url|http://wiki.fallensword.com/images/6/61/1x1b.gif}}}]</span>
+
| align="left" valign="middle" width="60px" | <span class="plainlinks">[{{fullurl:{{{ring-page|{{FULLPAGENAME}}}}}}} {{{ring-url|https://cdn2.fallensword.com/ui/inventory/1x1.png}}}]</span>
 
|}
 
|}
 
</div></div>
 
</div></div>
| 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;">
+
| align="left" valign="middle" width="60px" | <div style="position:relative; left:0px; top:0px; background:transparent;">https://cdn2.fallensword.com/ui/inventory/2x2.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" | <span class="plainlinks">[{{fullurl:{{{boots-page|{{FULLPAGENAME}}}}}}} {{{boots-url|http://wiki.fallensword.com/images/5/56/2x2b.gif}}}]</span>
+
| align="center" valign="middle" width="60px" | <span class="plainlinks">[{{fullurl:{{{boots-page|{{FULLPAGENAME}}}}}}} {{{boots-url|https://cdn2.fallensword.com/ui/inventory/2x2.png}}}]</span>
 
|}
 
|}
 
</div></div>
 
</div></div>
| 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;">
+
| align="left" valign="middle" width="60px" | <div style="position:relative; left:15px; top:15px; background:transparent;">https://cdn2.fallensword.com/ui/inventory/1x1.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="left" valign="middle" width="60px" | <span class="plainlinks">[{{fullurl:{{{rune-page|{{FULLPAGENAME}}}}}}} {{{rune-url|http://wiki.fallensword.com/images/6/61/1x1b.gif}}}]</span>
+
| align="left" valign="middle" width="60px" | <span class="plainlinks">[{{fullurl:{{{rune-page|{{FULLPAGENAME}}}}}}} {{{rune-url|https://cdn2.fallensword.com/ui/inventory/1x1.png}}}]</span>
 
|}
 
|}
 
</div></div>
 
</div></div>
 +
 +
 
|}</includeonly><noinclude>
 
|}</includeonly><noinclude>
 
<center>
 
<center>
Line 69: Line 71:
 
! ''Output''
 
! ''Output''
 
|-
 
|-
| width="75%" style="border:1px solid #aaa;" | <pre>{{Inventory3
+
| width="75%" style="border:1px solid #aaa;" | <pre>{{InventorySet
 
|gloves-url=
 
|gloves-url=
 
|gloves-page=
 
|gloves-page=
Line 89: Line 91:
 
|rune-page=
 
|rune-page=
 
}}</pre>
 
}}</pre>
| width="25%" style="border:1px solid #aaa;" | {{Inventory3
+
| width="25%" style="border:1px solid #aaa;" | {{InventorySet
 
|gloves-url=
 
|gloves-url=
 
|gloves-page=
 
|gloves-page=
Line 115: Line 117:
 
! ''Output''
 
! ''Output''
 
|-
 
|-
| width="75%" style="border:1px solid #aaa;" | <pre>{{Inventory3
+
| width="75%" style="border:1px solid #aaa;" | <pre>{{InventorySet
|gloves-url=http://72.29.91.222/items/1975.gif
+
|gloves-url={{ItemPicture|1975}}
 
|gloves-page=Tarbidas Spider Gloves
 
|gloves-page=Tarbidas Spider Gloves
|armor-url=http://72.29.91.222/items/1976.gif
+
|armor-url={{ItemPicture|1976}}
 
|armor-page=Tarbidas Spider Armor
 
|armor-page=Tarbidas Spider Armor
|weapon-url=http://72.29.91.222/items/1972.gif
+
|weapon-url={{ItemPicture|1972}}
 
|weapon-page=Tarbidas Spider Sword
 
|weapon-page=Tarbidas Spider Sword
|shield-url=http://72.29.91.222/items/1973.gif
+
|shield-url={{ItemPicture|1973}}
 
|shield-page=Tarbidas Spider Shield
 
|shield-page=Tarbidas Spider Shield
 
}}
 
}}
 
</pre>
 
</pre>
| width="25%" style="border:1px solid #aaa;" | {{Inventory3
+
| width="25%" style="border:1px solid #aaa;" | {{InventorySet
|gloves-url=http://72.29.91.222/items/1975.gif
+
|gloves-url={{ItemPicture|1975}}
 
|gloves-page=Tarbidas Spider Gloves
 
|gloves-page=Tarbidas Spider Gloves
|armor-url=http://72.29.91.222/items/1976.gif
+
|armor-url={{ItemPicture|1976}}
 
|armor-page=Tarbidas Spider Armor
 
|armor-page=Tarbidas Spider Armor
|weapon-url=http://72.29.91.222/items/1972.gif
+
|weapon-url={{ItemPicture|1972}}
 
|weapon-page=Tarbidas Spider Sword
 
|weapon-page=Tarbidas Spider Sword
|shield-url=http://72.29.91.222/items/1973.gif
+
|shield-url={{ItemPicture|1973}}
 
|shield-page=Tarbidas Spider Shield
 
|shield-page=Tarbidas Spider Shield
 
}}
 
}}

Latest revision as of 23:36, 11 December 2021


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. If an item is not placed within the box, it will be shaded out. To do so, 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
{{InventorySet
|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.png
[[[:Template:Fullurl:]] ]
2x2.png
[[[:Template:Fullurl:]] ]
1x1.png
[[[:Template:Fullurl:]] ]
2x3.png
[[[:Template:Fullurl:]] ]
2x3.png
[[[:Template:Fullurl:]] ]
2x3.png
[[[:Template:Fullurl:]] ]
1x1.png
[[[:Template:Fullurl:]] ]
2x2.png
[[[:Template:Fullurl:]] ]
1x1.png
[[[:Template:Fullurl:]] ]


Example

Code Output
{{InventorySet
|gloves-url={{ItemPicture|1975}}
|gloves-page=Tarbidas Spider Gloves
|armor-url={{ItemPicture|1976}}
|armor-page=Tarbidas Spider Armor
|weapon-url={{ItemPicture|1972}}
|weapon-page=Tarbidas Spider Sword
|shield-url={{ItemPicture|1973}}
|shield-page=Tarbidas Spider Shield
}}
2x2.png
1975.gif
2x2.png
2x2.png
1x1.png
1x1.png
2x3.png
1972.gif
2x3.png
1976.gif
2x3.png
1973.gif
1x1.png
1x1.png
2x2.png
2x2.png
1x1.png
1x1.png