Item Template: Difference between revisions

From Drunkapedia
Jump to: navigation, search
imported>Tlosk
m (Item stat Template moved to Item Template: name normalization)
imported>Tlosk
No edit summary
Line 1: Line 1:
__TOC__
{{RightToC}}
{{Related|Page Templates|Wiki Templates|Template:Item{{!}}<nowiki>Item</nowiki>|Template:Intro{{!}}<nowiki>Intro</nowiki>}}


These basic item templates can be used for any item. To make things easier, there are templates for [[Weapon Stat Template|Weapons]] and [[Armor Stat Template|Armor]] with most of the information already placed in the correct area.


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


== Non Magic Item Example ==
== Wiki Code ==
From the <nowiki>[[Quest]]</nowiki> quest introduced in the <nowiki>[[Patch]] event</nowiki>.
=== Item With Spells ===
<pre style="width:auto; overflow:auto">
{{Intro
| Patch Introduced =
|  Related Quests =
|          Updated =
}}
{{Item
|              Name =
|        Icon Image =  Icon.png
|        Live Image =  Live.jpg
| Live Image Caption =
|              Value =
|            Burden =
|        Description =
| Special Properties =
|    Description Two =
|    Player Attuned =
|          Level Req =
|            Spells =
|    Activation Reqs =
|        Spellcraft =
|              Mana =
|          Mana Cost =
|    Cannot Be Sold = False
}}
== Notes ==
* ??


{|border=1 cellspacing=0 cellpadding=5 width=300 style=background:#F0F0F0
[[Category:Item]]
|colspan=2 align=center|'''Name'''
[[Category:<Special Property>]]
|-
</pre>
|align=center| Value: ??<br>?? Burden Units
|width=40 align=center| [[Image:Icon.png]]
|-
|colspan=2| <Description>
<br><nowiki>[[Special Properties]]</nowiki>: ??
<br><Restrictions>
|-
|}
 
== Non Magic Item Code ==
<pre>
From the [[Quest]] quest introduced in the [[Patch]] event.


{|border=1 cellspacing=0 cellpadding=5 width=300 style=background:#F0F0F0
=== Item Without Spells ===
|colspan=2 align=center|'''Name'''
<pre style="width:auto; overflow:auto">
|-
{{Intro
|align=center| Value: ??<br>?? Burden Units
| Patch Introduced =  
|width=40 align=center| [[Image:Icon.png]]
|   Related Quests =
|-
|         Updated =  
|colspan=2| <Description>
}}
<br>[[Special Properties]]: ??
{{Item
<br><Restrictions>
|               Name =  
|-
|         Icon Image Icon.png
|}
|        Live Image =  Live.jpg
 
| Live Image Caption =
==Notes==
|              Value =
*
|             Burden =  
|       Description =
| Special Properties =
|    Description Two =
|    Player Attuned =
|         Level Req =
|     Cannot Be Sold = False
}}
== Notes ==
* ??


[[Category:Item]]
[[Category:Item]]
Line 42: Line 74:
</pre>
</pre>


== Magic Item Example ==
== Example ==
 
See [[Nutrient Oil Soaked Totem]] for the results of the example code below:
From the <nowiki>[[Quest]]</nowiki> quest introduced in the <nowiki>[[Patch]]</nowiki> event.
 
{|border=1 cellspacing=0 cellpadding=5 width=300 style=background:#F0F0F0
|colspan=2 align=center|'''Name'''
|-
|align=center| Value: ??<br>?? Burden Units
|width=40 align=center| [[Image:Icon.png]]
|-
|colspan=2| <Description>
 
<br><nowiki>[[Special Properties]]</nowiki>: ??
 
<br><Restrictions>
 
<br>Casts the following spells: ???
 
<br>Activation Requirements:
 
<br>Spellcraft:
 
<br>Mana:
 
<br>Mana Cost: 1 point per ?? seconds.
|-
|}
 
== Magic Item Code ==
<pre>
From the [[Quest]] quest introduced in the [[Patch]] event.
 
{|border=1 cellspacing=0 cellpadding=5 width=300 style=background:#F0F0F0
|colspan=2 align=center|'''Name'''
|-
|align=center| Value: ??<br>?? Burden Units
|width=40 align=center| [[Image:Icon.png]]
|-
|colspan=2| <Description>
 
<br>[[Special Properties]]: ??
 
<br><Restrictions>
 
<br>Casts the following spells: ???
 
<br>Activation Requirements:
 
<br>Spellcraft:
 
<br>Mana:


<br>Mana Cost: 1 point per ?? seconds.
<pre style="width:auto; overflow:auto">
|-
{{Intro
|}
| Patch Introduced = [[Who Watches the Virindi?]]
 
|  Related Quests = [[Renegade Living Weapons]]
==Notes==
|          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 ==
* Apply this item to [[Palenqual's Living Weapons]] to change them into [[Renegade Living Weapons]].


[[Category:Item]]
[[Category:Item]]
[[Category:<Special Property>]]
</pre>
</pre>


[[Category:Page Template]]
[[Category:Page Template]]

Revision as of 15:46, 7 April 2009

Related topics: Page Templates, Wiki Templates, Item, Intro


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 {{Intro}} template.
  • If there is no live image indicated or if it is "Live.jpg" then that section will not be shown.
  • Set Cannot be Sold = True to display.
  • Unlike many other templates, this one does not automatically add any categories, use Category:Item or a more specific category where appropriate. (It's usually not necessary to list both Item and a subcategory, the subcategory is sufficient).

Wiki Code

Item With Spells

{{Intro
 | Patch Introduced = 
 |   Related Quests = 
 |          Updated = 
}}
{{Item
 |               Name = 
 |         Icon Image =  Icon.png
 |         Live Image =  Live.jpg
 | Live Image Caption = 
 |              Value = 
 |             Burden = 
 |        Description = 
 | Special Properties = 
 |    Description Two = 
 |     Player Attuned = 
 |          Level Req = 
 |             Spells = 
 |    Activation Reqs = 
 |         Spellcraft = 
 |               Mana = 
 |          Mana Cost = 
 |     Cannot Be Sold = False
}}
== Notes ==
* ??

[[Category:Item]]
[[Category:<Special Property>]]

Item Without Spells

{{Intro
 | Patch Introduced = 
 |   Related Quests = 
 |          Updated = 
}}
{{Item
 |               Name = 
 |         Icon Image =  Icon.png
 |         Live Image =  Live.jpg
 | Live Image Caption = 
 |              Value = 
 |             Burden = 
 |        Description = 
 | Special Properties = 
 |    Description Two = 
 |     Player Attuned = 
 |          Level Req = 
 |     Cannot Be Sold = False
}}
== Notes ==
* ??

[[Category:Item]]
[[Category:<Special Property>]]

Example

See Nutrient Oil Soaked Totem for the results of the example code below:

{{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 ==
* Apply this item to [[Palenqual's Living Weapons]] to change them into [[Renegade Living Weapons]].

[[Category:Item]]