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

From Alter Aeon Wiki
m
 
(One intermediate revision by the same user not shown)
Line 29: Line 29:
|flags=RARE GLOW NECR
|flags=RARE GLOW NECR
|wearloc=NECK
|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>
|affects={{NewItemAffect|t=necr_cast_level|v=1}}{{NewItemAffect|t=int|v=1}}{{NewItemAffect|t=wis|v=1}}{{NewItemAffect|t=mana|v=11}}{{NewItemAffect|t=mana_regen|v=0.5}}
}}</onlyinclude></nowiki>
}}</onlyinclude></nowiki>
}}
}}
Line 66: Line 66:


=== Affects ===
=== Affects ===
for affects you will use the {{Icode|ItemAffect}} template like shown above. For each line in the "Item has other affects:" section of Identify you will do {{Icode|<nowiki>{{ItemAffect|&lt;affect&gt;}} by &lt;magnitude&gt;}}</nowiki>}}
for affects you will use the {{Icode|NewItemAffect}} template like shown above. For each line in the "Item has other affects:" section of Identify you will do {{Icode|<nowiki>{{NewItemAffect|t=&lt;affect&gt;|v=&lt;magnitude&gt;}}</nowiki>}}


Example: for this given item
Example: for this given item
Line 78: Line 78:
You'd use the following markup
You'd use the following markup
{{MUDdisplay |<nowiki>
{{MUDdisplay |<nowiki>
|affects={{ItemAffect|hitroll}} by 4<br>{{ItemAffect|damroll}} by 4
|affects={{NewItemAffect|t=hitroll|v=4}}{{NewItemAffect|t=damroll|v=4}}
</nowiki>}}
</nowiki>}}


Line 90: Line 90:
Item has level 1 spells of:
Item has level 1 spells of:
cure critical wounds
cure critical wounds
bless
}}
}}


Line 95: Line 96:


{{MUDdisplay |<nowiki>
{{MUDdisplay |<nowiki>
|affects=Item has level 1 spells of:<br>[[cure critical wounds]]
|spells=Item has level 1 spells of:<br>[[cure critical wounds]]<br>[[bless]]
</nowiki>}}
 
===Item Lists===
 
If you are displaying multiple items on a page, use an item-gallery element to wrap them so they display nicely
 
{{MUDdisplay |<nowiki>
<div class="item-gallery">
 
/* your items here */
 
</div>
</nowiki>}}
</nowiki>}}



Latest revision as of 21:02, 24 February 2021

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={{NewItemAffect|t=necr_cast_level|v=1}}{{NewItemAffect|t=int|v=1}}{{NewItemAffect|t=wis|v=1}}{{NewItemAffect|t=mana|v=11}}{{NewItemAffect|t=mana_regen|v=0.5}}
}}</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 NewItemAffect template like shown above. For each line in the "Item has other affects:" section of Identify you will do {{NewItemAffect|t=<affect>|v=<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={{NewItemAffect|t=hitroll|v=4}}{{NewItemAffect|t=damroll|v=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
bless

Should have the affects parameter as follows:

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

Item Lists

If you are displaying multiple items on a page, use an item-gallery element to wrap them so they display nicely

<div class="item-gallery">

 /* your items here */

</div>


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