Difference between revisions of "How to use templates"
Line 19: | Line 19: | ||
'''ITEM SOURCE CODE''' | '''ITEM SOURCE CODE''' | ||
{| | |||
| width="50%" valign="top" | | |||
{| class="wikitable" | {| class="wikitable" | ||
|- | |- | ||
| <pre>{{Item | ! | ||
name= | |- | ||
image=[[File:filename.png]] | | <pre>{{Item| | ||
category= | name=| | ||
atk= | image=[[File:filename.png]]| | ||
def= | category=| | ||
arm= | atk=| | ||
loot_value= | def=| | ||
weight= | arm=| | ||
hand= | loot_value=| | ||
dropped_by=[[MONSTER]] | weight=| | ||
description= | hand=| | ||
attributes= | dropped_by=[[MONSTER]]| | ||
note= | description=| | ||
buy_from_CITY=[[NPC NAME]] (PRICE gp) | attributes=| | ||
sell_to_CITY=[[NPC NAME]] (PRICE gp) | note=| | ||
buy_from_CITY=[[NPC NAME]] (PRICE gp)| | |||
sell_to_CITY=[[NPC NAME]] (PRICE gp)| | |||
}} | }} | ||
</pre> | </pre> | ||
|} | |} | ||
<pre>{{Item| | | width="50%" valign="top" | | ||
{| class="wikitable" | |||
|- | |||
! | |||
|- | |||
|<pre>{{Item| | |||
category=Clubs| | category=Clubs| | ||
name=Skull Staff| | name=Skull Staff| |
Revision as of 23:12, 6 June 2018
How to use templates
Thanks to @hunz, who wrote templates source code, our wiki do looks prettier and adding informations about monsters and items is now easier.
But not everyone knows how to edit pages using templates. This is why I made this guide. It is really easy, but it will take a lot of effort to edit all the item/monster pages.
Currently we do have two templates on our wiki:
To use them you simply copy and paste the code and edit it to match the info about specific item/monster.
Here are the source codes:
ITEM SOURCE CODE
|
|