Item Template: Difference between revisions

From Drunkapedia
Jump to: navigation, search
imported>Tlosk
imported>Arkalor
No edit summary
 
Line 1: Line 1:
{{RightToC}}
{{RightToC}}
{{Related|Page Templates|Wiki Templates|{{mtl|Item}}|{{mtl|Intro}}}}
{{Related|Page Templates|Wiki Templates|{{mtl|Item}}}}


 
Equipment items have [[Page Template]]s specifically for them. This is a general item template that can be adapted all other items.
Most types of items have a [[Page Template]] specifically for that item type, this is a general item template that can be adapted to anything else.
* You can leave blank or erase variables that aren't applicable.
* Some items split the description before and after special properties, use Description Two for the second half.
* Special properties (such as Bonded), patch introduced, related quests, and updated should be wiki linked (double brackets).
* If an item is a [[Rare]], add '''Rare Number = ??''' to the {{tl|Intro}} template.
* If there is no live image indicated or if it is "Live.jpg" then that section will not be shown.
* Set <code>Cannot be Sold = True</code> to display.
* Unlike many other templates, this one does not automatically add any categories, use [[:Category:Item]] or a more specific [[List of Categories|category]] where appropriate. (It's usually not necessary to list both Item and a subcategory, the subcategory is sufficient).


== Wiki Code ==
== Wiki Code ==
=== Item With Spells ===
<pre>
<section begin=Item /><pre style="width:auto; overflow:auto">
{{Intro
| Patch Introduced =
|  Related Quests =
|          Updated =
}}
{{Item
{{Item
  |              Name =  
  |              Name =  
  |        Icon Image = Icon.png
|
  |        Live Image = Live.jpg
  |        Icon Image =  
  |        Live Image =  
  | Live Image Caption =  
  | Live Image Caption =  
|
  |              Value =  
  |              Value =  
  |            Burden =  
  |            Burden =  
  |        Description =  
|
  | Special Properties = [[Attuned]], [[Bonded]]
|  Bonus to Healing =
  |   Description Two =  
|  Restoration Bonus =
  |     Player Attuned =  
|    Number of Uses =
|
|        Additional =
|
|          Restores =
|
  |        Stored Mana =
|        Efficiency =
| Destruction Chance =
|
|  Holds Containers =
|    Holds Max Items =
| Locked or Unlocked =
|    Lock Difficulty =
|        Resistance =
|
|            Spells =
|          Cooldown =  
  | Special Properties =  
  |     Cannot Be Sold =  
  |   Usage Level Req =  
  |          Level Req =  
  |          Level Req =  
  |             Spells =  
  |       Special Req =  
  |    Activation Reqs =  
  |    Activation Reqs =  
|        Item Level =
|            Item XP =
|  Recommended Level =
  |        Spellcraft =  
  |        Spellcraft =  
  |              Mana =  
  |              Mana =  
  |          Mana Cost =  
  |          Mana Cost =  
  |     Cannot Be Sold = False
  |
|        Description =
|        Inscription =  
}}
}}
== Notes ==
== Notes ==
* ??
* Obtained from ??
{{Sold By|{{PAGENAME}}}}
 
== Update History ==
{{Update History|
[[Event Name]]
* Item added.
}}
</pre>


[[Category:Item]]
== Crafting Items ==
[[Category:<Special Property>]]
If the item is craftable, add the following header and code below the notes section.
</pre><section end=Item />


=== Item Without Spells ===
<pre>
<section begin=ItemNoSpells /><pre style="width:auto; overflow:auto">
== Recipe ==
{{Intro
* Difficulty: ?? (50% chance of success)
  | Patch Introduced =  
{{Item
  |   Related Quests =  
|        Category 1 =  
  |         Updated =  
|        Category 2 =  Recipe
|        Alchemy Recipe = False
|        Cooking Recipe = False
|      Fletching Recipe = False
| Item Tinkering Recipe = False
|    Lockpicking Recipe = False
|                Tools = [[Tool]], [[Tool]]
|          Ingredients = (Number) [[Ingredient]], (Number) [[Ingredient]]
|                Result = (Number) {{PAGENAME}}
}}
* '''Steps:'''
{{Recipe Table
| Ingredient 1 =
| Ingredient 2 =
|      Result =
}}
{{Recipe Table
  | Ingredient 1 =  
  | Ingredient 2 =  
  |       Result = {{PAGENAME}}
}}
}}
</pre>
== Wiki Code with Comments ==
Template guide - Please use the clean copy above for pasting into the item page.
<big><pre>
{{Item
{{Item
  |              Name =  
  |              Name =  
  |        Icon Image = Icon.png
|
  |        Live Image = Live.jpg
  |        Icon Image =  
  |        Live Image =  
  | Live Image Caption =  
  | Live Image Caption =  
|
  |              Value =  
  |              Value =  
  |            Burden =  
  |            Burden =  
|
|  Bonus to Healing =
|  Restoration Bonus =
|    Number of Uses =
|
|        Additional =
|
|          Restores =
|
|        Stored Mana =
|        Efficiency =
| Destruction Chance =
|
|  Holds Containers =
|    Holds Max Items =
| Locked or Unlocked =
|    Lock Difficulty =
|        Resistance =
|
|            Spells =
|          Cooldown =
| Special Properties =
|    Cannot Be Sold =
|    Usage Level Req =
|          Level Req =
|        Special Req =
|    Activation Reqs =
|        Item Level =
|            Item XP =
|  Recommended Level =
|        Spellcraft =
|              Mana =
|          Mana Cost =
|
  |        Description =  
  |        Description =  
| Special Properties = [[Attuned]], [[Bonded]]
  |        Inscription =  
|    Description Two =
|    Player Attuned =
|          Level Req =
|    Cannot Be Sold = False
}}
== Notes ==
* ??
 
[[Category:Item]]
[[Category:<Special Property>]]
</pre><section end=ItemNoSpells />
 
== Example ==
See [[Nutrient Oil Soaked Totem]] for the results of the example code below:
 
<pre style="width:auto; overflow:auto">
{{Intro
| Patch Introduced = [[Who Watches the Virindi?]]
|  Related Quests = [[Renegade Living Weapons]]
|          Updated =
}}
{{Item
|              Name = Nutrient Oil Soaked Totem
|        Icon Image = Nutrient Oil Soaked Totem Icon.png
|              Value = 20
|            Burden = 20
  |        Description =  A nutritional oil that has been proven to augment the strength of living weapons.
| Special Properties = [[Attuned]], [[Bonded]]
|    Description Two = Use this oil on a complete living weapon to augment its strength.
|    Cannot Be Sold = True
}}
}}
== Notes ==
</pre></big>
* Apply this item to [[Palenqual's Living Weapons]] to change them into [[Renegade Living Weapons]].
[[Category:Page Templates]][[Category:In Progress]]
 
[[Category:Item]]
</pre>
 
[[Category:Page Template]]

Latest revision as of 07:32, 16 November 2014

Related topics: Page Templates, Wiki Templates, {{Item}}

Equipment items have Page Templates specifically for them. This is a general item template that can be adapted all other items.

Wiki Code

{{Item
 |               Name = 
 |
 |         Icon Image = 
 |         Live Image = 
 | Live Image Caption = 
 |
 |              Value = 
 |             Burden = 
 |
 |   Bonus to Healing = 
 |  Restoration Bonus = 
 |     Number of Uses = 
 |
 |         Additional = 
 |
 |           Restores = 
 |
 |        Stored Mana = 
 |         Efficiency = 
 | Destruction Chance = 
 |
 |   Holds Containers = 
 |    Holds Max Items = 
 | Locked or Unlocked = 
 |    Lock Difficulty = 
 |         Resistance = 
 |
 |             Spells = 
 |           Cooldown = 
 | Special Properties = 
 |     Cannot Be Sold = 
 |    Usage Level Req = 
 |          Level Req = 
 |        Special Req = 
 |    Activation Reqs = 
 |         Item Level = 
 |            Item XP = 
 |  Recommended Level = 
 |         Spellcraft = 
 |               Mana = 
 |          Mana Cost = 
 |
 |        Description = 
 |        Inscription = 
}}
== Notes ==
* Obtained from ??
{{Sold By|{{PAGENAME}}}}

== Update History ==
{{Update History|
[[Event Name]]
* Item added.
}}

Crafting Items

If the item is craftable, add the following header and code below the notes section.

== Recipe ==
* Difficulty: ?? (50% chance of success)
{{Item
 |         Category 1 = 
 |         Category 2 =  Recipe
 |        Alchemy Recipe = False
 |        Cooking Recipe = False
 |      Fletching Recipe = False
 | Item Tinkering Recipe = False
 |    Lockpicking Recipe = False
 |                 Tools = [[Tool]], [[Tool]]
 |           Ingredients = (Number) [[Ingredient]], (Number) [[Ingredient]]
 |                Result = (Number) {{PAGENAME}}
}}
* '''Steps:'''
{{Recipe Table
 | Ingredient 1 = 
 | Ingredient 2 = 
 |       Result = 
}}
{{Recipe Table
 | Ingredient 1 = 
 | Ingredient 2 = 
 |       Result = {{PAGENAME}}
}}

Wiki Code with Comments

Template guide - Please use the clean copy above for pasting into the item page.

{{Item
 |               Name = 
 |
 |         Icon Image = 
 |         Live Image = 
 | Live Image Caption = 
 |
 |              Value = 
 |             Burden = 
 |
 |   Bonus to Healing = 
 |  Restoration Bonus = 
 |     Number of Uses = 
 |
 |         Additional = 
 |
 |           Restores = 
 |
 |        Stored Mana = 
 |         Efficiency = 
 | Destruction Chance = 
 |
 |   Holds Containers = 
 |    Holds Max Items = 
 | Locked or Unlocked = 
 |    Lock Difficulty = 
 |         Resistance = 
 |
 |             Spells = 
 |           Cooldown = 
 | Special Properties = 
 |     Cannot Be Sold = 
 |    Usage Level Req = 
 |          Level Req = 
 |        Special Req = 
 |    Activation Reqs = 
 |         Item Level = 
 |            Item XP = 
 |  Recommended Level = 
 |         Spellcraft = 
 |               Mana = 
 |          Mana Cost = 
 |
 |        Description = 
 |        Inscription = 
}}