Template:Item: Difference between revisions

From RoDpedia
Jump to navigation Jump to search
Skace (talk | contribs)
No edit summary
No edit summary
 
(100 intermediate revisions by 8 users not shown)
Line 1: Line 1:
<!-- Comment fields keep the spacing from breaking in the template!
<includeonly>{{ #if: {{{gname|}}} | '''''{{{gname}}}''''' }}{{if||{{{id|}}}|{{Header1|Identify}}
-->{{{description|<div style="color:red;">This item lacks a proper description.</div>}}}
{{{id|}}}}}<!--
 
-->{{Header1|Information}}
== Information == <!--
{{ #if: {{{mob|}}} | * Mob: [[{{{mob}}}]] | * Mob: Unknown }}<!--
-->{{ #if: {{{mob|}}} | * Mob: {{{mob}}} | * Mob: Unknown }}<!--
-->{{ #if: {{{area|}}} | * Area: [[{{{area}}}]] | * Area: Unknown }}<!--
-->{{ #if: {{{area|}}} | * Area: {{{area}}} | * Area: Unknown }}<!--
-->{{ #if: {{{pop|}}} | * [[Pop item|Pop]]: {{{pop}}} | * [[Pop item|Pop]]: No }}
-->{{ #if: {{{pop|}}} | * Pop: {{{pop}}} | * Pop: No }}<!--
{{ #if: {{{manuf|}}} | * [[Manufactured item|Manufactured]]: {{{manuf}}} | * [[Manufactured item|Manufactured]]: Unknown }}<!--
-->{{ #if: {{{manuf|}}} | * Manufactured: {{{manuf}}} | * Manufactured: No }}<!--
-->{{ #if: {{{oog|}}} | * [[Out of Game]]: {{{oog}}} | * [[Out of Game]]: Unknown }}<!--
-->{{ #if: {{{oog|}}} | * Out of Game: {{{oog}}} | * Out of Game: No }}<!--
-->{{ #if: {{{minlevel|}}} | * Minimum level: {{{minlevel}}} | * Minimum Level: Unknown }}<!--
 
-->{{ #if: {{{maxlevel|}}} | * Maximum level: {{{maxlevel}}} | {{#if: {{{minlevel|}}} | *Maximum Level: {{{minlevel}}} | * Maximum Level: Unknown }} }}<!--
-->{{ #if: {{{id1|}}} | {{Header1|Identify}} <table border=0 cellpadding=0 cellspacing=0><tr><td style="width:400px;"></td></tr><!--
-->{{ #if: {{{keywords|}}} | * Known keywords: {{{keywords}}} | * Known keywords: Unknown }}<!--
-->{{ #if: {{{id1|}}} | <tr><td>{{{id1}}}</td></tr> }}<!--
-->{{if||{{{description|}}}|{{Header1|Description/Exam}}  
-->{{ #if: {{{id2|}}} | <tr><td>{{{id2}}}</td></tr> }}<!--
{{{description}}}}}<!--
-->{{ #if: {{{id3|}}} | <tr><td>{{{id3}}}</td></tr> }}<!--
-->{{if||{{{notes|}}}|{{Header1|Notes}}
-->{{ #if: {{{id4|}}} | <tr><td>{{{id4}}}</td></tr> }}<!--
{{{notes}}}
-->{{ #if: {{{id5|}}} | <tr><td>{{{id5}}}</td></tr> }}<!--
}}<!--
-->{{ #if: {{{id6|}}} | <tr><td>{{{id6}}}</td></tr> }}<!--
-->{{ #if: {{{cname|}}} | {{DEFAULTSORT:{{{cname}}}}} }}
-->{{ #if: {{{id7|}}} | <tr><td>{{{id7}}}</td></tr> }}<!--
{{if||{{{area|}}}|{{Category|{{{area}}}}}}}
-->{{ #if: {{{id8|}}} | <tr><td>{{{id8}}}</td></tr> }}<!--
{{if||{{{category|}}}|{{Category|{{{category}}}}}}}
-->{{ #if: {{{id9|}}} | <tr><td>{{{id9}}}</td></tr> }}<!--
{{if||{{{cats|}}}|{{{cats}}}}}
-->{{ #if: {{{id10|}}} | <tr><td>{{{id10}}}</td></tr> }}<!--
{{Category|Items}}
-->{{ #if: {{{id11|}}} | <tr><td>{{{id11}}}</td></tr> }}<!--
</includeonly>
-->{{ #if: {{{id12|}}} | <tr><td>{{{id12}}}</td></tr> }}<!--
<noinclude>{{documentation}}</noinclude>
-->{{ #if: {{{id13|}}} | <tr><td>{{{id13}}}</td></tr> }}<!--
-->{{ #if: {{{id14|}}} | <tr><td>{{{id14}}}</td></tr> }}<!--
-->{{ #if: {{{id15|}}} | <tr><td>{{{id15}}}</td></tr> }} </table> }}<!--
 
-->{{if||{{{notes|}}}| ==Notes== {{{notes}}}}}<!--
 
--><noinclude>
__NOTOC__
==Variables==
<nowiki>mob, area, pop, manuf, oog, id1 - id15, notes</nowiki>
 
==Example==
'''a copper hammer'''
 
===What you enter===
<pre><nowiki>{{Item
|description = Fashioned from the flames of fiery dragon-breath, this chunk of copper ore was formed into a replicate of the Draconian blacksmith's finest hammer.
|mob = A bodyguard
|area = Dragon Tower
|id1 = Object 'a copper hammer' is infused with your magic...
|id2 = It is a level 14 crushing weapon, weight 12.
|id3 = Locations it can be worn:  wield
|id4 = Special properties:  none
|id5 = This weapon has a gold value of 30000.
|id6 = Damage is 3 to 15 (average 9).
|notes = Nothing to see here.
}}</nowiki></pre>
 
===What it looks like===
{{Item
|description = Fashioned from the flames of fiery dragon-breath, this chunk of copper ore was formed into a replicate of the Draconian blacksmith's finest hammer.
|mob = A bodyguard
|area = Dragon Tower
|id1 = Object 'a copper hammer' is infused with your magic...
|id2 = It is a level 14 crushing weapon, weight 12.
|id3 = Locations it can be worn:  wield
|id4 = Special properties:  none
|id5 = This weapon has a gold value of 30000.
|id6 = Damage is 3 to 15 (average 9).
|notes = Nothing to see here.
}}
 
</noinclude>

Latest revision as of 13:55, 25 November 2019

[edit]

Documentation

Default Template

When filling out a template, leave a field blank if you don't know that specific item.

{{Item
|cname = Category friendly name (place the articles in the end, then please capitalize the first word
         e.g. "the battle shield of the Dragonlord" becomes "Battle shield of the Dragonlord, the".)
|gname = Short description displayed when looking at room with the item on the floor. (A small item sits here innocently.)
|description = Item information obtained by examining it, with one space before each line.
|mob = Mob that drops the item (or ground spawn / etc)
|pop = Whether the item is a pop (Yes or No or Unknown) (Default: No)
|manuf = Whether the item is manufactured (Yes or No or Unknown) (Default: Unknown)
|oog = Whether the item is out of game (Yes or No or Unknown) (Default: Unknown)
|minlevel = Minimum level the item appears in (Default: Unknown)
|maxlevel = Maximum level the item appears in (Default: Unknown)
|keywords = Keywords known for the item (Default: Unknown)
|area = The area it comes from
|id = Identify information, in multiple lines with one space before each line.
|notes = Additional information
|category = The main category for the item (staff, wand, weapon, pill, boat, etc.)
|cats = Additional categories besides type, items, and area. Most secondary categories are listed for ease of use.
 If an item's main category is Wand or Staff, add [[Category:Hold]] as a secondary cat.
 Please delete any that do not apply such as Barbarian for magical items or Evil for Devout/Neutral only items, etc.
 Both Magical Items and Nonmagical Items are listed. Please delete whichever does not apply.
[[Category:Devout Items]]
[[Category:Neutral Items]]
[[Category:Evil Items]]
[[Category:Magical Items]]
[[Category:Nonmagical Items]]
[[Category:Augurer Items]]
[[Category:Barbarian Items]]
[[Category:Bladesinger Items]]
[[Category:Cleric Items]]
[[Category:Druid Items]]
[[Category:Fathomer Items]]
[[Category:Mage Items]]
[[Category:Nephandi Items]]
[[Category:Paladin Items]]
[[Category:Ranger Items]]
[[Category:Thief Items]]
[[Category:Vampire Items]]
[[Category:Warrior Items]]
}}

Example

a copper hammer

What you enter

{{Item
|cname = Copper hammer, a
|gname = A large metallic sledgehammer rests here.
|description =
 Fashioned from the flames of fiery dragon-breath, this chunk of
 copper ore was formed into a replicate of the Draconian
 blacksmith's finest hammer.
|mob = A bodyguard
|area = Dragon Tower
|minlevel = 14
|id =
 Object 'a copper hammer' is infused with your magic...
 It is a level 14 crushing weapon, weight 12.
 Locations it can be worn:  wield
 Special properties:  none
 This weapon has a gold value of 30000.
 Damage is 3 to 15 (average 9).
|category = Weapon
|notes = Nothing to see here.
}}

What it looks like

A large metallic sledgehammer rests here.

Identify

Object 'a copper hammer' is infused with your magic...
It is a level 14 crushing weapon, weight 12.
Locations it can be worn:  wield
Special properties:  none
This weapon has a gold value of 30000.
Damage is 3 to 15 (average 9).

Information

Description/Exam

Fashioned from the flames of fiery dragon-breath, this chunk of
copper ore was formed into a replicate of the Draconian
blacksmith's finest hammer.

Notes

Nothing to see here.