Difference between revisions of "Template:DAH Borrowed"
DavidAHare (Talk | contribs) |
DavidAHare (Talk | contribs) |
||
Line 11: | Line 11: | ||
| 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| }}}}} | ||
− | | align="center" valign="middle" style="{{{borrowed-cell-style}}}" | {{{Glove-Borrowed-By|{{DAH Borrowed By|id={{{Glove-Borrowed-By2 | + | | align="center" valign="middle" style="{{{borrowed-cell-style}}}" | {{{Glove-Borrowed-By|{{DAH Borrowed By|id={{{Glove-Borrowed-By2}}}|name={{{Glove-Borrowed-By1}}}}} }}} |
|- 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]] | ||
Line 17: | Line 17: | ||
| 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| }}}}} | ||
− | | align="center" valign="middle" style="{{{borrowed-cell-style}}}" | {{{Helmet-Borrowed-By|{{DAH Borrowed By|id={{{Helmet-Borrowed-By2 | + | | align="center" valign="middle" style="{{{borrowed-cell-style}}}" | {{{Helmet-Borrowed-By|{{DAH Borrowed By|id={{{Helmet-Borrowed-By2}}}|name={{{Helmet-Borrowed-By1}}}}} }}} |
|- 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]] | ||
Line 23: | Line 23: | ||
| 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| }}}}} | ||
− | | align="center" valign="middle" style="{{{borrowed-cell-style}}}" | {{{Amulet-Borrowed-By|{{DAH Borrowed By|id={{{Amulet-Borrowed-By2 | + | | align="center" valign="middle" style="{{{borrowed-cell-style}}}" | {{{Amulet-Borrowed-By|{{DAH Borrowed By|id={{{Amulet-Borrowed-By2}}}|name={{{Amulet-Borrowed-By1}}}}} }}} |
|- 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]] | ||
Line 29: | Line 29: | ||
| 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| }}}}} | ||
− | | align="center" valign="middle" style="{{{borrowed-cell-style}}}" | {{{Weapon-Borrowed-By|{{DAH Borrowed By|id={{{Weapon-Borrowed-By2 | + | | align="center" valign="middle" style="{{{borrowed-cell-style}}}" | {{{Weapon-Borrowed-By|{{DAH Borrowed By|id={{{Weapon-Borrowed-By2}}}|name={{{Weapon-Borrowed-By1}}}}} }}} |
|- 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]] | ||
Line 35: | Line 35: | ||
| 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| }}}}} | ||
− | | align="center" valign="middle" style="{{{borrowed-cell-style}}}" | {{{Armor-Borrowed-By|{{DAH Borrowed By|id={{{Armor-Borrowed-By2 | + | | align="center" valign="middle" style="{{{borrowed-cell-style}}}" | {{{Armor-Borrowed-By|{{DAH Borrowed By|id={{{Armor-Borrowed-By2}}}|name={{{Armor-Borrowed-By1}}}}} }}} |
|- 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]] | ||
Line 41: | Line 41: | ||
| 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| }}}}} | ||
− | | align="center" valign="middle" style="{{{borrowed-cell-style}}}" | {{{Shield-Borrowed-By|{{DAH Borrowed By|id={{{Shield-Borrowed-By2 | + | | align="center" valign="middle" style="{{{borrowed-cell-style}}}" | {{{Shield-Borrowed-By|{{DAH Borrowed By|id={{{Shield-Borrowed-By2}}}|name={{{Shield-Borrowed-By1}}}}} }}} |
|- 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]] | ||
Line 47: | Line 47: | ||
| align="center" valign="middle" style="{{{borrowed-cell-style}}}" | {{{{{Ring-Hellforge-Lvl|none }}}}} | | align="center" valign="middle" style="{{{borrowed-cell-style}}}" | {{{{{Ring-Hellforge-Lvl|none }}}}} | ||
| align="center" valign="middle" style="{{{borrowed-cell-style}}}" | {{{{{Ring-Craft-Lvl|none }}}}} | | align="center" valign="middle" style="{{{borrowed-cell-style}}}" | {{{{{Ring-Craft-Lvl|none }}}}} | ||
− | | align="center" valign="middle" style="{{{borrowed-cell-style}}}" | {{{Ring-Borrowed-By|{{DAH Borrowed By|id={{{Ring-Borrowed-By2 | + | | align="center" valign="middle" style="{{{borrowed-cell-style}}}" | {{{Ring-Borrowed-By|{{DAH Borrowed By|id={{{Ring-Borrowed-By2}}}|name={{{Ring-Borrowed-By1}}}}} }}} |
|- 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]] | ||
Line 53: | Line 53: | ||
| 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| }}}}} | ||
− | | align="center" valign="middle" style="{{{borrowed-cell-style}}}" | {{{Boot-Borrowed-By|{{DAH Borrowed By|id={{{Boot-Borrowed-By2 | + | | align="center" valign="middle" style="{{{borrowed-cell-style}}}" | {{{Boot-Borrowed-By|{{DAH Borrowed By|id={{{Boot-Borrowed-By2}}}|name={{{Boot-Borrowed-By1}}}}} }}} |
|- 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]] | ||
Line 59: | Line 59: | ||
| 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| }}}}} | ||
− | | align="center" valign="middle" style="{{{borrowed-cell-style}}}" | {{{Rune-Borrowed-By|{{DAH Borrowed By|id={{{Rune-Borrowed-By2 | + | | align="center" valign="middle" style="{{{borrowed-cell-style}}}" | {{{Rune-Borrowed-By|{{DAH Borrowed By|id={{{Rune-Borrowed-By2}}}|name={{{Rune-Borrowed-By1}}}}} }}} |
|}</includeonly><noinclude> | |}</includeonly><noinclude> | ||
<center> | <center> |
Latest revision as of 15:00, 25 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. |
There are a few small problems that I have to workout where the cells will show as empty when the cell parameter has no information. |
Contents |
Why I built this template
I needed a way to easily post on each of my ItemSet pages if the ItemSet was borrowed abd who borrowed the set or just an Item from the set.
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 InstructionsTo start using this template, copy the following code to the page where you wish to use it: {{DAH Borrowed}} Adding information to Borrowed TableEvery 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, CraftableNotCraftable Item is Not Craftable, CraftableAverage Item is crafted to Average, CraftableExcellant Item is crafted to Excellant, CraftableGood Item is crafted to Good, CraftablePerfect Item is crafted to Perfect, CraftablePoor Item is crafted to Poor, CraftableUncrafted Item is Uncrafted, CraftableVeryGood Item is crafted to Very Good, CraftableVeryPoor Item is crafted to Very Poor, Hellforged0 Item has not been hellforged, Hellforged1 Item has been Hellforged 1 time, Hellforged2 Item has been Hellforged 2 times, Hellforged3 Item has been Hellforged 3 times, Hellforged4 Item has been Hellforged 4 times, Hellforged5 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=Hellforged0 |Glove-Craft-Lvl=CraftableNotCraftable |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 none. However, if the borrowed parameter name is listed, a value must be given or the template will malfunction. Optional ParametersThe 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= Templates used in this templateDAH Borrowed By; CraftableNotCraftable; Hellforged0; CraftableUncrafted; CraftableVeryPoor; CraftablePoor; CraftableAverage; CraftableGood; CraftableVeryGood; CraftableExcellent; CraftablePerfect; Hellforged1; Hellforged2; Hellforged3; Hellforged4; Hellforged5; |