Difference between revisions of "Template:DAH Borrowed"

From Fallen Sword Wiki
Jump to: navigation, search
(I made this template to make it easier in showing what items in an item set have been borrowed and by who.)
Line 70: Line 70:
 
|-
 
|-
 
| align="center" valign="middle" style="font-family:Verdana;font-variant:small-caps;font-weight:bold;" | Improperly editing this page may cause the template to stop working.
 
| align="center" valign="middle" style="font-family:Verdana;font-variant:small-caps;font-weight:bold;" | Improperly editing this page may cause the template to stop working.
 +
|-
 +
| align="center" valign="middle" style="font-family:Verdana;font-variant:small-caps;font-weight:bold;" |  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.
 
|}
 
|}
 
</center>
 
</center>
Line 83: Line 85:
 
<pre>{{DAH Borrowed}}</pre>
 
<pre>{{DAH Borrowed}}</pre>
 
==== Adding information to Borrowed Table ====
 
==== 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 <span style="color:#090"><tt>Name of Item</tt></span> for Name of Item, <span style="color:#090"><tt>DAHNC</tt></span> Item is Not Craftable, <span style="color:#090"><tt>DAHNCA</tt></span> Item is crafted to Average, <span style="color:#090"><tt>DAHNCE</tt></span> Item is crafted to Excellant, <span style="color:#090"><tt>DAHNCG</tt></span> Item is crafted to Good, <span style="color:#090"><tt>DAHNCPT</tt></span> Item is crafted to Perfect, <span style="color:#090"><tt>DAHNCPR</tt></span> Item is crafted to Poor, <span style="color:#090"><tt>DAHNCU</tt></span> Item is Uncrafted,  
+
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 <span style="color:#090"><tt>Name of Item</tt></span> for Name of Item, <span style="color:#090"><tt>CraftableNotCraftable</tt></span> Item is Not Craftable, <span style="color:#090"><tt>CraftableAverage</tt></span> Item is crafted to Average, <span style="color:#090"><tt>CraftableExcellant</tt></span> Item is crafted to Excellant, <span style="color:#090"><tt>CraftableGood</tt></span> Item is crafted to Good, <span style="color:#090"><tt>CraftablePerfect</tt></span> Item is crafted to Perfect, <span style="color:#090"><tt>CraftablePoor</tt></span> Item is crafted to Poor, <span style="color:#090"><tt>CraftableUncrafted</tt></span> Item is Uncrafted,  
<span style="color:#090"><tt>DAHNCVG</tt></span> Item is crafted to Very Good, <span style="color:#090"><tt>DAHNCP</tt></span> Item is crafted to Very Poor, <span style="color:#090"><tt>DAHHF0</tt></span> Item has not been hellforged, <span style="color:#090"><tt>DAHHF1</tt></span> Item has been Hellforged 1 time, <span style="color:#090"><tt>DAHHF2</tt></span> Item has been Hellforged 2 times, <span style="color:#090"><tt>DAHHF3</tt></span> Item has been Hellforged 3 times, <span style="color:#090"><tt>DAHHF4</tt></span> Item has been Hellforged 4 times, <span style="color:#090"><tt>DAHHF5</tt></span> Item has been Hellforged 5 times, or <span style="color:#090"><tt>Name of Player</tt></span> for Name of Player and <span style="color:#090"><tt>Player id number</tt></span> for Name of Player who borrowed Item.  To add a cell's information in the table , change the code so it looks like:
+
<span style="color:#090"><tt>CraftableVeryGood</tt></span> Item is crafted to Very Good, <span style="color:#090"><tt>CraftableVeryPoor</tt></span> Item is crafted to Very Poor, <span style="color:#090"><tt>Hellforged0</tt></span> Item has not been hellforged, <span style="color:#090"><tt>Hellforged1</tt></span> Item has been Hellforged 1 time, <span style="color:#090"><tt>Hellforged2</tt></span> Item has been Hellforged 2 times, <span style="color:#090"><tt>Hellforged3</tt></span> Item has been Hellforged 3 times, <span style="color:#090"><tt>Hellforged4</tt></span> Item has been Hellforged 4 times, <span style="color:#090"><tt>Hellforged5</tt></span> Item has been Hellforged 5 times, or <span style="color:#090"><tt>Name of Player</tt></span> for Name of Player and <span style="color:#090"><tt>Player id number</tt></span> for Name of Player who borrowed Item.  To add a cell's information in the table , change the code so it looks like:
 
<pre>{{DAH Borrowed
 
<pre>{{DAH Borrowed
 
|Glove-Name=Name of Item
 
|Glove-Name=Name of Item

Revision as of 02:06, 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.
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

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, 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=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 none. 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=