Difference between revisions of "Help:Creating an Item Article"

From Alter Aeon Wiki
m
Line 11: Line 11:


==Markup==
==Markup==
To automatically generate wiki markup for an item paste the entire output from {{icode|identify}} in the first box and click convert. It's not perfect so do read through the rest of this section to know how to fix what the tool misses.


<div id="itemgenerator-embed"></div>
<div id="itemgenerator-embed"></div>
For any details the auto tool misses see markup explanation below


Example of a item page for [[An azure blue amulet (Item)]]
Example of a item page for [[An azure blue amulet (Item)]]

Revision as of 06:35, 3 January 2016

Requirements

  • Details from Identify
  • Category assigned for Item
  • Category assigned for the item type (Weapon, Armor, Weapon, Potion, etc.)
  • Categories assigned for categorization (Wisdom Equipment, Hitroll Equipment, etc.)
  • DO NOT create item pages for randomly generated items e.g., bracers of hope from the Advent event
  • If you find a unique version of an existing item create or add to the Variant section of its page, DO NOT replace the original version with your unique version

Nice-to-have's

  • Source (Quest, Shop, Mob, etc.)

Markup

To automatically generate wiki markup for an item paste the entire output from identify in the first box and click convert. It's not perfect so do read through the rest of this section to know how to fix what the tool misses.

Example of a item page for An azure blue amulet (Item)

<onlyinclude>{{Item
|name=an azure blue amulet
|level=26
|weight=2
|size=1'8"
|keywords=azure blue amulet chain metal
|dmg=1 to 20
|dtype=whip
|strreq=11
|flags=RARE GLOW NECR
|wearloc=NECK
|affects={{ItemAffect|necr_cast_level}} by 1<br>{{ItemAffect|intelligence}} by 1<br>{{ItemAffect|wisdom}} by 1<br>{{ItemAffect|mana}} by 11<br>{{ItemAffect|mana_regen}} by 0.5<br>
}}</onlyinclude>

The <onlyinclude> is important for embedding the item in other pages like you see above. This embed automatically updates anywhere it's embedded whenever the item page is updated.

Embedding

To embed an item on a quest or NPC page use the following syntax {{:<page>}}, Example:

{{:An azure blue amulet (Item)}}

Which will look like so

Rare armor
NECK
1 to 20whip
Normal Speed
Requires 11 Strength
  • +1 Necromancer Cast Level
  • +1 intelligence
  • +1 wisdom
  • +11 Mana
  • +0.5 Mana Regen
Account Bound
Requires Level 26 Necromancer
GLOW
Keywords: azure blue amulet chain metal

Explanation

First we have the Item macro. The parameters to the macro can be any of the following:

  • name - Required - It's the name of the item...
  • keywords - Required - "Item: " line from Identify
  • Everything else is pretty self explanatory for the properties, copy/paste the value from the corresponding identify line:
    • level
    • totlev
    • dmg - Weapon damage in the format of 1 to 5
    • dtype - Weapon damage type (slash, zapping chop, nonorm, etc.)
    • wspeed - Weapon speed
    • size - Formatted exactly like the Identify string (1'0")
    • weight
    • composition
    • flags - Identify "Object is:"
    • wearloc - Identify "Wear locations are:"
  • affects - see section below

Affects

for affects you will use the ItemAffect template like shown above. For each line in the "Item has other affects:" section of Identify you will do {{ItemAffect|<affect>}} by <magnitude>}}

Example: for this given item

Item has other effects:
Affects:  HITROLL by 4
Affects:  DAMROLL by 4

You'd use the following markup

|affects={{ItemAffect|hitroll}} by 4<br>{{ItemAffect|damroll}} by 4

For scrolls/potions which have "Item has level X spells of" sections, simply replace newlines with <br> like so:

Item: 'holy water'  
Weight: 4  Size: 1'0"  Level: 20
Type: POTION   Composition: LIQUID
Object is: 
Item has level 1 spells of:
cure critical wounds

Should have the affects parameter as follows:

|affects=Item has level 1 spells of:<br>[[cure critical wounds]]


Tips

e.g., "Great hitting weapon for levels 12-15", "Hard to find, if the item isn't in the box wait until an area respawn..."