Item Template: Difference between revisions

From Drunkapedia
Jump to: navigation, search
imported>Tlosk
No edit summary
imported>Arkalor
No edit summary
 
(3 intermediate revisions by one other user not shown)
Line 1: Line 1:
{{RightToC}}
{{RightToC}}
{{Related|Page Templates|Wiki Templates|Template:Item{{!}}<nowiki>Item</nowiki>|Template:Intro{{!}}<nowiki>Intro</nowiki>}}
{{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>
<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 =  
|
|  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 =  
  | Special Properties =  
  |   Description Two =  
  |     Cannot Be Sold =  
  |     Player Attuned =  
  |   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}}}}


[[Category:Item]]
== Update History ==
[[Category:<Special Property>]]
{{Update History|
[[Event Name]]
* Item added.
}}
</pre>
</pre>


=== Item Without Spells ===
== Crafting Items ==
<pre style="width:auto; overflow:auto">
If the item is craftable, add the following header and code below the notes section.
{{Intro
 
  | Patch Introduced =  
<pre>
  |   Related Quests =  
== Recipe ==
  |         Updated =  
* 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}}
}}
</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 =  
  |        Description =  
|
|  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 =  
  | Special Properties =  
  |   Description Two =  
  |     Cannot Be Sold =  
  |     Player Attuned =  
  |   Usage Level Req =  
  |          Level Req =  
  |          Level Req =  
  |     Cannot Be Sold = False
  |       Special Req =  
}}
  |   Activation Reqs =  
== Notes ==
  |         Item Level =  
* ??
  |           Item XP =  
 
  | Recommended Level =  
[[Category:Item]]
  |        Spellcraft =  
[[Category:<Special Property>]]
  |               Mana =  
</pre>
  |         Mana Cost =  
 
  |
== Example ==
  |       Description =  
See [[Nutrient Oil Soaked Totem]] for the results of the example code below:
  |       Inscription =  
 
<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 = 
}}