Difference between revisions of "Template:DAH Borrowed"

From Fallen Sword Wiki
Jump to: navigation, search
(Added {{ and }} in fromt of a couple of parameters to make the templates work.)
(Making Item Names link to their Item page)
Line 8: Line 8:
 
|- style="{{{borrowed-style|background-color: #e5c173;}}}"
 
|- style="{{{borrowed-style|background-color: #e5c173;}}}"
 
| align="center" valign="middle" style="{{{borrowed-cell-style}}}" | [[:Category:Gloves|Gloves]]
 
| align="center" valign="middle" style="{{{borrowed-cell-style}}}" | [[:Category:Gloves|Gloves]]
| align="center" valign="middle" style="{{{borrowed-cell-style}}}" | {{{Glove-Name| }}}
+
| align="center" valign="middle" style="{{{borrowed-cell-style}}}" | {{{Glove-NameLinkable|{{DAH ItemName|ItemName={{{Glove-Name}}} }}}
 
| align="center" valign="middle" style="{{{borrowed-cell-style}}}" | {{{{{Glove-Hellforge-Lvl| }}}}}
 
| align="center" valign="middle" style="{{{borrowed-cell-style}}}" | {{{{{Glove-Hellforge-Lvl| }}}}}
 
| align="center" valign="middle" style="{{{borrowed-cell-style}}}" | {{{{{Glove-Craft-Lvl| }}}}}
 
| align="center" valign="middle" style="{{{borrowed-cell-style}}}" | {{{{{Glove-Craft-Lvl| }}}}}
Line 14: Line 14:
 
|- style="{{{borrowed-style|background-color: #e5c173;}}}"
 
|- style="{{{borrowed-style|background-color: #e5c173;}}}"
 
| align="center" valign="middle" style="{{{borrowed-cell-style}}}" | [[:Category:Helmets|Helmets]]
 
| align="center" valign="middle" style="{{{borrowed-cell-style}}}" | [[:Category:Helmets|Helmets]]
| align="center" valign="middle" style="{{{borrowed-cell-style}}}" | {{{Helmet-Name| }}}
+
| align="center" valign="middle" style="{{{borrowed-cell-style}}}" | {{{Helmet-NameLinkable|{{DAH ItemName|ItemName={{{Helmet-Name}}} }}}
 
| align="center" valign="middle" style="{{{borrowed-cell-style}}}" | {{{{{Helmet-Hellforge-Lvl| }}}}}
 
| align="center" valign="middle" style="{{{borrowed-cell-style}}}" | {{{{{Helmet-Hellforge-Lvl| }}}}}
 
| align="center" valign="middle" style="{{{borrowed-cell-style}}}" | {{{{{Helmet-Craft-Lvl| }}}}}
 
| align="center" valign="middle" style="{{{borrowed-cell-style}}}" | {{{{{Helmet-Craft-Lvl| }}}}}
Line 20: Line 20:
 
|- style="{{{borrowed-style|background-color: #e5c173;}}}"
 
|- style="{{{borrowed-style|background-color: #e5c173;}}}"
 
| align="center" valign="middle" style="{{{borrowed-cell-style}}}" | [[:Category:Amulets|Amulets]]
 
| align="center" valign="middle" style="{{{borrowed-cell-style}}}" | [[:Category:Amulets|Amulets]]
| align="center" valign="middle" style="{{{borrowed-cell-style}}}" | {{{Amulet-Name| }}}
+
| align="center" valign="middle" style="{{{borrowed-cell-style}}}" | {{{Amulet-NameLinkable|{{DAH ItemName|ItemName={{{Amulet-Name}}} }}}
 
| align="center" valign="middle" style="{{{borrowed-cell-style}}}" | {{{{{Amulet-Hellforge-Lvl| }}}}}
 
| align="center" valign="middle" style="{{{borrowed-cell-style}}}" | {{{{{Amulet-Hellforge-Lvl| }}}}}
 
| align="center" valign="middle" style="{{{borrowed-cell-style}}}" | {{{{{Amulet-Craft-Lvl| }}}}}
 
| align="center" valign="middle" style="{{{borrowed-cell-style}}}" | {{{{{Amulet-Craft-Lvl| }}}}}
Line 26: Line 26:
 
|- style="{{{borrowed-style|background-color: #e5c173;}}}"
 
|- style="{{{borrowed-style|background-color: #e5c173;}}}"
 
| align="center" valign="middle" style="{{{borrowed-cell-style}}}" | [[:Category:Weapons|Weapons]]
 
| align="center" valign="middle" style="{{{borrowed-cell-style}}}" | [[:Category:Weapons|Weapons]]
| align="center" valign="middle" style="{{{borrowed-cell-style}}}" | {{{Weapon-Name| }}}
+
| align="center" valign="middle" style="{{{borrowed-cell-style}}}" | {{{Weapon-NameLinkable|{{DAH ItemName|ItemName={{{Weapon-Name}}} }}}
 
| align="center" valign="middle" style="{{{borrowed-cell-style}}}" | {{{{{Weapon-Hellforge-Lvl| }}}}}
 
| align="center" valign="middle" style="{{{borrowed-cell-style}}}" | {{{{{Weapon-Hellforge-Lvl| }}}}}
 
| align="center" valign="middle" style="{{{borrowed-cell-style}}}" | {{{{{Weapon-Craft-Lvl| }}}}}
 
| align="center" valign="middle" style="{{{borrowed-cell-style}}}" | {{{{{Weapon-Craft-Lvl| }}}}}
Line 32: Line 32:
 
|- style="{{{borrowed-style|background-color: #e5c173;}}}"
 
|- style="{{{borrowed-style|background-color: #e5c173;}}}"
 
| align="center" valign="middle" style="{{{borrowed-cell-style}}}" | [[:Category:Armor|Armor]]
 
| align="center" valign="middle" style="{{{borrowed-cell-style}}}" | [[:Category:Armor|Armor]]
| align="center" valign="middle" style="{{{borrowed-cell-style}}}" | {{{Armor-Name| }}}
+
| align="center" valign="middle" style="{{{borrowed-cell-style}}}" | {{{Armor-NameLinkable|{{DAH ItemName|ItemName={{{Armor-Name}}} }}}
 
| align="center" valign="middle" style="{{{borrowed-cell-style}}}" | {{{{{Armor-Hellforge-Lvl| }}}}}
 
| align="center" valign="middle" style="{{{borrowed-cell-style}}}" | {{{{{Armor-Hellforge-Lvl| }}}}}
 
| align="center" valign="middle" style="{{{borrowed-cell-style}}}" | {{{{{Armor-Craft-Lvl| }}}}}
 
| align="center" valign="middle" style="{{{borrowed-cell-style}}}" | {{{{{Armor-Craft-Lvl| }}}}}
Line 38: Line 38:
 
|- style="{{{borrowed-style|background-color: #e5c173;}}}"
 
|- style="{{{borrowed-style|background-color: #e5c173;}}}"
 
| align="center" valign="middle" style="{{{borrowed-cell-style}}}" | [[:Category:Shields|Shields]]
 
| align="center" valign="middle" style="{{{borrowed-cell-style}}}" | [[:Category:Shields|Shields]]
| align="center" valign="middle" style="{{{borrowed-cell-style}}}" | {{{Shield-Name| }}}
+
| align="center" valign="middle" style="{{{borrowed-cell-style}}}" | {{{Shield-NameLinkable|{{DAH ItemName|ItemName={{{Shield-Name}}} }}}
 
| align="center" valign="middle" style="{{{borrowed-cell-style}}}" | {{{{{Shield-Hellforge-Lvl| }}}}}
 
| align="center" valign="middle" style="{{{borrowed-cell-style}}}" | {{{{{Shield-Hellforge-Lvl| }}}}}
 
| align="center" valign="middle" style="{{{borrowed-cell-style}}}" | {{{{{Shield-Craft-Lvl| }}}}}
 
| align="center" valign="middle" style="{{{borrowed-cell-style}}}" | {{{{{Shield-Craft-Lvl| }}}}}
Line 44: Line 44:
 
|- style="{{{borrowed-style|background-color: #e5c173;}}}"
 
|- style="{{{borrowed-style|background-color: #e5c173;}}}"
 
| align="center" valign="middle" style="{{{borrowed-cell-style}}}" | [[:Category:Rings|Rings]]
 
| align="center" valign="middle" style="{{{borrowed-cell-style}}}" | [[:Category:Rings|Rings]]
| align="center" valign="middle" style="{{{borrowed-cell-style}}}" | {{{Ring-Name| }}}
+
| align="center" valign="middle" style="{{{borrowed-cell-style}}}" | {{{Ring-NameLinkable|{{DAH ItemName|ItemName={{{Ring-Name}}} }}}
 
| align="center" valign="middle" style="{{{borrowed-cell-style}}}" | {{{{{Ring-Hellforge-Lvl| }}}}}
 
| align="center" valign="middle" style="{{{borrowed-cell-style}}}" | {{{{{Ring-Hellforge-Lvl| }}}}}
 
| align="center" valign="middle" style="{{{borrowed-cell-style}}}" | {{{{{Ring-Craft-Lvl| }}}}}
 
| align="center" valign="middle" style="{{{borrowed-cell-style}}}" | {{{{{Ring-Craft-Lvl| }}}}}
Line 50: Line 50:
 
|- style="{{{borrowed-style|background-color: #e5c173;}}}"
 
|- style="{{{borrowed-style|background-color: #e5c173;}}}"
 
| align="center" valign="middle" style="{{{borrowed-cell-style}}}" | [[:Category:Boots|Boots]]
 
| align="center" valign="middle" style="{{{borrowed-cell-style}}}" | [[:Category:Boots|Boots]]
| align="center" valign="middle" style="{{{borrowed-cell-style}}}" | {{{Boot-Name| }}}
+
| align="center" valign="middle" style="{{{borrowed-cell-style}}}" | {{{Boot-NameLinkable|{{DAH ItemName|ItemName={{{Boot-Name}}} }}}
 
| align="center" valign="middle" style="{{{borrowed-cell-style}}}" | {{{{{Boot-Hellforge-Lvl| }}}}}
 
| align="center" valign="middle" style="{{{borrowed-cell-style}}}" | {{{{{Boot-Hellforge-Lvl| }}}}}
 
| align="center" valign="middle" style="{{{borrowed-cell-style}}}" | {{{{{Boot-Craft-Lvl| }}}}}
 
| align="center" valign="middle" style="{{{borrowed-cell-style}}}" | {{{{{Boot-Craft-Lvl| }}}}}
Line 56: Line 56:
 
|- style="{{{borrowed-style|background-color: #e5c173;}}}"
 
|- style="{{{borrowed-style|background-color: #e5c173;}}}"
 
| align="center" valign="middle" style="{{{borrowed-cell-style}}}" | [[:Category:Runes|Runes]]
 
| align="center" valign="middle" style="{{{borrowed-cell-style}}}" | [[:Category:Runes|Runes]]
| align="center" valign="middle" style="{{{borrowed-cell-style}}}" | {{{Rune-Name| }}}
+
| align="center" valign="middle" style="{{{borrowed-cell-style}}}" | {{{Rune-NameLinkable|{{DAH ItemName|ItemName={{{Rune-Name}}} }}}
 
| align="center" valign="middle" style="{{{borrowed-cell-style}}}" | {{{{{Rune-Hellforge-Lvl| }}}}}
 
| align="center" valign="middle" style="{{{borrowed-cell-style}}}" | {{{{{Rune-Hellforge-Lvl| }}}}}
 
| align="center" valign="middle" style="{{{borrowed-cell-style}}}" | {{{{{Rune-Craft-Lvl| }}}}}
 
| align="center" valign="middle" style="{{{borrowed-cell-style}}}" | {{{{{Rune-Craft-Lvl| }}}}}

Revision as of 00:48, 15 September 2008

Do not edit this page!

This is a very advanced template. If you know of changes that need to be made to this template but do not know how to edit templates or how templates are supposed to work, please use this template's talk page to ask someone else to make the changes.

Improperly editing this page may cause the template to stop working.


Contents

How to Use

This template creates an empty borrowed table to list the items of a set that have been borrowed. This template needs no updates.

Basic Instructions

To start using this template, copy the following code to the page where you wish to use it:

{{DAH Borrowed}}

Adding information to Borrowed Table

Every cell in the table has a unique parameter name which can be used to have the DAH Borrowed Table show what the item is, if the Item is Craftable, if the Item is Hellforged, and if the Item is borrowed. These are Name of Item for Name of Item, DAHNC Item is Not Craftable, DAHNCA Item is crafted to Average, DAHNCE Item is crafted to Excellant, DAHNCG Item is crafted to Good, DAHNCPT Item is crafted to Perfect, DAHNCPR Item is crafted to Poor, DAHNCU Item is Uncrafted, DAHNCVG Item is crafted to Very Good, DAHNCP Item is crafted to Very Poor, DAHHF0 Item has not been hellforged, DAHHF1 Item has been Hellforged 1 time, DAHHF2 Item has been Hellforged 2 times, DAHHF3 Item has been Hellforged 3 times, DAHHF4 Item has been Hellforged 4 times, DAHHF5 Item has been Hellforged 5 times, or Name of Player for Name of Player and Player id number for Name of Player who borrowed Item. To add a cell's information in the table , change the code so it looks like:

{{DAH Borrowed
|Glove-Name=Name of Item
|Glove-Hellforge-Lvl=DAHHF1
|Glove-Craft-Lvl=DAHCU
|Glove-Borrowed-By1=Name of player who is borrowing Item
|Glove-Borrowed-By2=Player id number of player who is borrowing Item
}}

If a borrowed parameter name is not given, it will automatically default to n. However, if the quest's parameter name is listed, a value must be given or the template will malfunction.

Optional Parameters

The following optional parameters can be added to give the table a more custom appearance:

|table-style=           (css)
|title-style=           (css)
|column1-width=         #
|column2-width=         #
|column3-width=         #
|column4-width=         #
|column5-width=         #
|borrowed-style=           (css)
|borrowed-cell-style=      (css)
|empty-borrowed-cell-style=(css)

All Borrowed Table Parameters

|Glove-Name=
|Glove-Hellforge-Lvl=
|Glove-Craft-Lvl=
|Glove-Borrowed-By1=
|Glove-Borrowed-By2=
|Helmet-Name=
|Helmet-Hellforge-Lvl=
|Helmet-Craft-Lvl=
|Helmet-Borrowed-By1=
|Helmet-Borrowed-By2=
|Amulet-Name=
|Amulet-Hellforge-Lvl=
|Amulet-Craft-Lvl=
|Amulet-Borrowed-By1=
|Amulet-Borrowed-By2=
|Weapon-Name=
|Weapon-Hellforge-Lvl=
|Weapon-Craft-Lvl=
|Weapon-Borrowed-By1=
|Weapon-Borrowed-By2=
|Armor-Name=
|Armor-Hellforge-Lvl=
|Armor-Craft-Lvl=
|Armor-Borrowed-By1=
|Armor-Borrowed-By2=
|Shield-Name=
|Shield-Hellforge-Lvl=
|Shield-Craft-Lvl=
|Shield-Borrowed-By1=
|Shield-Borrowed-By2=
|Ring-Name=
|Ring-Hellforge-Lvl=
|Ring-Craft-Lvl=
|Ring-Borrowed-By1=
|Ring-Borrowed-By2=
|Boot-Name=
|Boot-Hellforge-Lvl=
|Boot-Craft-Lvl=
|Boot-Borrowed-By1=
|Boot-Borrowed-By2=
|Rune-Name=
|Rune-Hellforge-Lvl=
|Rune-Craft-Lvl=
|Rune-Borrowed-By1=
|Rune-Borrowed-By2=