Item Template: Difference between revisions

From Drunkapedia
Jump to: navigation, search
imported>Tlosk
No edit summary
imported>Tlosk
Line 14: Line 14:
== Wiki Code ==
== Wiki Code ==
=== Item With Spells ===
=== Item With Spells ===
<pre style="width:auto; overflow:auto">
<section begin=Item /><pre style="width:auto; overflow:auto">
{{Intro
{{Intro
  | Patch Introduced =  
  | Patch Introduced =  
Line 44: Line 44:
[[Category:Item]]
[[Category:Item]]
[[Category:<Special Property>]]
[[Category:<Special Property>]]
</pre>
</pre><section end=Item />


=== Item Without Spells ===
=== Item Without Spells ===
<pre style="width:auto; overflow:auto">
<section begin=ItemNoSpells /><pre style="width:auto; overflow:auto">
{{Intro
{{Intro
  | Patch Introduced =  
  | Patch Introduced =  
Line 72: Line 72:
[[Category:Item]]
[[Category:Item]]
[[Category:<Special Property>]]
[[Category:<Special Property>]]
</pre>
</pre><section end=ItemNoSpells />


== Example ==
== Example ==

Revision as of 08:42, 6 July 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

<section begin=Item />

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

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

<section end=Item />

Item Without Spells

<section begin=ItemNoSpells />

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

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

<section end=ItemNoSpells />

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