Difference between revisions of "Template:DAH Borrowed"
DavidAHare (Talk | contribs) (I made this template to make it easier in showing what items in an item set have been borrowed and by who.) |
DavidAHare (Talk | contribs) |
||
(9 intermediate revisions by one user not shown) | |||
Line 9: | Line 9: | ||
| 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-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 15: | 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- | + | | align="center" valign="middle" style="{{{borrowed-cell-style}}}" | [[{{{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 21: | 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- | + | | align="center" valign="middle" style="{{{borrowed-cell-style}}}" | [[{{{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 27: | 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- | + | | align="center" valign="middle" style="{{{borrowed-cell-style}}}" | [[{{{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 33: | 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- | + | | align="center" valign="middle" style="{{{borrowed-cell-style}}}" | [[{{{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 39: | 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- | + | | align="center" valign="middle" style="{{{borrowed-cell-style}}}" | [[{{{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 45: | 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- | + | | align="center" valign="middle" style="{{{borrowed-cell-style}}}" | [[{{{Ring-Name| }}}]] |
| 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 }}}}} | ||
Line 51: | 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- | + | | align="center" valign="middle" style="{{{borrowed-cell-style}}}" | [[{{{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 57: | 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- | + | | align="center" valign="middle" style="{{{borrowed-cell-style}}}" | [[{{{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| }}}}} | ||
Line 76: | Line 75: | ||
+ | ==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 == | == 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. | + | This template creates an empty borrowed table to list the items of a set that have been borrowed. This template needs no updates. |
{| width="100%" cellspacing="10" | {| width="100%" cellspacing="10" | ||
| width="50%" valign="top" | | | width="50%" valign="top" | | ||
Line 89: | Line 90: | ||
<pre>{{DAH Borrowed | <pre>{{DAH Borrowed | ||
|Glove-Name=Name of Item | |Glove-Name=Name of Item | ||
− | |Glove-Hellforge-Lvl= | + | |Glove-Hellforge-Lvl=Hellforged0 |
− | |Glove-Craft-Lvl= | + | |Glove-Craft-Lvl=CraftableNotCraftable |
|Glove-Borrowed-By1=Name of player who is borrowing Item | |Glove-Borrowed-By1=Name of player who is borrowing Item | ||
|Glove-Borrowed-By2=Player id number of player who is borrowing Item | |Glove-Borrowed-By2=Player id number of player who is borrowing Item | ||
}}</pre> | }}</pre> | ||
− | If a borrowed parameter name is not given, it will automatically default to <span style="color:#090"><tt>none</tt></span>. However, if the | + | If a borrowed parameter name is not given, it will automatically default to <span style="color:#090"><tt>none</tt></span>. However, if the borrowed parameter name is listed, a value must be given or the template will malfunction. |
+ | |||
==== Optional Parameters ==== | ==== Optional Parameters ==== | ||
The following optional parameters can be added to give the table a more custom appearance: | The following optional parameters can be added to give the table a more custom appearance: | ||
Line 157: | Line 159: | ||
|Rune-Borrowed-By2= | |Rune-Borrowed-By2= | ||
</pre> | </pre> | ||
+ | ==Templates used in this template== | ||
+ | |||
+ | <span style="color:#090"><tt>DAH Borrowed By;</tt></span> | ||
+ | <span style="color:#090"><tt>CraftableNotCraftable;</tt></span> | ||
+ | <span style="color:#090"><tt>Hellforged0;</tt></span> | ||
+ | |||
+ | <span style="color:#090"><tt>CraftableUncrafted;</tt></span> | ||
+ | <span style="color:#090"><tt>CraftableVeryPoor;</tt></span> | ||
+ | <span style="color:#090"><tt>CraftablePoor;</tt></span> | ||
+ | <span style="color:#090"><tt>CraftableAverage;</tt></span> | ||
+ | <span style="color:#090"><tt>CraftableGood;</tt></span> | ||
+ | <span style="color:#090"><tt>CraftableVeryGood;</tt></span> | ||
+ | <span style="color:#090"><tt>CraftableExcellent;</tt></span> | ||
+ | <span style="color:#090"><tt>CraftablePerfect;</tt></span> | ||
+ | |||
+ | <span style="color:#090"><tt>Hellforged1;</tt></span> | ||
+ | <span style="color:#090"><tt>Hellforged2;</tt></span> | ||
+ | <span style="color:#090"><tt>Hellforged3;</tt></span> | ||
+ | <span style="color:#090"><tt>Hellforged4;</tt></span> | ||
+ | <span style="color:#090"><tt>Hellforged5;</tt></span> | ||
|} | |} | ||
[[Category:Templates|{{PAGENAME}}]]</noinclude> | [[Category:Templates|{{PAGENAME}}]]</noinclude> |
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; |