Template:DAH Borrowed

From Fallen Sword Wiki
Revision as of 15:00, 25 September 2008 by DavidAHare (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
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.


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 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-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 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)

All Borrowed Table Parameters


Templates used in this template

DAH Borrowed By; CraftableNotCraftable; Hellforged0;

CraftableUncrafted; CraftableVeryPoor; CraftablePoor; CraftableAverage; CraftableGood; CraftableVeryGood; CraftableExcellent; CraftablePerfect;

Hellforged1; Hellforged2; Hellforged3; Hellforged4; Hellforged5;