Difference between revisions of "Template:InventorySet"

From Fallen Sword Wiki
Jump to: navigation, search
(Undo revision 157724 by Lusterless (talk))
Line 14: Line 14:
 
| 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;">
 
| 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}}}}}}}]</span>
+
| align="left" valign="middle" width="60px" | <span class="plainlinks">[{{fullurl:{{{amulet-page|{{FULLPAGENAME}}}}}}} {{{amulet-url|https://cdn2.fallensword.com/ui/inventory/1x1b.png}}}]</span>
 
|}
 
|}
 
</div></div>
 
</div></div>

Revision as of 06:11, 10 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=http://fileserver.huntedcow.com/items/1975.gif
|gloves-page=Tarbidas Spider Gloves
|armor-url=http://fileserver.huntedcow.com/items/1976.gif
|armor-page=Tarbidas Spider Armor
|weapon-url=http://fileserver.huntedcow.com/items/1972.gif
|weapon-page=Tarbidas Spider Sword
|shield-url=http://fileserver.huntedcow.com/items/1973.gif
|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