Item Template: Difference between revisions

From My Wiki
Jump to navigation Jump to search
imported>Widgeon
m lower case i
imported>Tlosk
 
(17 intermediate revisions by 3 users not shown)
Line 1: Line 1:
__TOC__
{{RightToC}}
{{Related|Page Templates|Wiki Templates|{{mtl|Item}}|{{mtl|Intro}}}}


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> introduced in <nowiki>[[Patch]]</nowiki>.
=== Item With Spells ===
<section begin=Item /><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 = [[Attuned]], [[Bonded]]
|    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><section end=Item />
|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 ==
=== Item Without Spells ===
<pre>
<section begin=ItemNoSpells /><pre style="width:auto; overflow:auto">
From the [[Quest]] introduced in [[Patch]].
{{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 ==
* ??


{|border=1 cellspacing=0 cellpadding=5 width=300 style=background:#F0F0F0
[[Category:Item]]
|colspan=2 align=center|'''Name'''
[[Category:<Special Property>]]
|-
</pre><section end=ItemNoSpells />
|align=center| Value: ??<br>?? Burden Units
|width=40 align=center| [[Image:Icon.png]]
|-
|colspan=2| <Description>
<br>[[Special Properties]]: ??
<br><Restrictions>
|-
|}


==Notes==
== Example ==
*
See [[Nutrient Oil Soaked Totem]] for the results of the example code below:


[[Category:Item]][[Category:<Special Property>]]
<pre style="width:auto; overflow:auto">
</pre>
{{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]].


== Magic Item Example ==
[[Category:Item]]
 
From the <nowiki>[[Quest]]</nowiki> introduced in <nowiki>[[Patch]]</nowiki>.
 
{|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]] introduced in [[Patch]].'''
 
{|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.jpg]]
|-
|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.
|-
|}
 
==Notes==
*
 
[[Category:Item]][[Category:<Special Property>]]
</pre>
</pre>


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

Latest revision as of 13: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]]