Difference between revisions of "How to use templates"
Line 20: | Line 20: | ||
---- | ---- | ||
To use them you simply copy and paste the code and edit it to match the info about specific item/monster.<br/> Here are the source codes: | |||
---- | ---- | ||
Line 78: | Line 78: | ||
|} | |} | ||
---- | |||
Notice that I've deleted some part of the code that I didn't need '''('''in this case '''arm=|, attributes=|)''' because Skull Staff don't have armor or any other attribute. Also notice that all the links are in square brackets ( [[|]] ). | Notice that I've deleted some part of the code that I didn't need '''('''in this case '''arm=|, attributes=|)''' because Skull Staff don't have armor or any other attribute. Also notice that all the links are in square brackets ( [[|]] ). | ||
Line 147: | Line 149: | ||
|} | |} | ||
---- | |||
When editing this monster I deleted '''skinnable=|, strategy-warriors=|,strategy_mages=|, strategy_scouts=|, task=|''', etc. from source code because I didn't need it. | When editing this monster I deleted '''skinnable=|, strategy-warriors=|,strategy_mages=|, strategy_scouts=|, task=|''', etc. from source code because I didn't need it. | ||
Line 187: | Line 191: | ||
And that's all. I hope this guide will serve you well. | And that's all. I hope this guide will serve you well. | ||
---- | |||
[[Category:Pages with broken file links]] | [[Category:Pages with broken file links]] |
Revision as of 23:37, 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:
|
|
Notice that I've deleted some part of the code that I didn't need (in this case arm=|, attributes=|) because Skull Staff don't have armor or any other attribute. Also notice that all the links are in square brackets ( [[|]] ).
|
|
When editing this monster I deleted skinnable=|, strategy-warriors=|,strategy_mages=|, strategy_scouts=|, task=|, etc. from source code because I didn't need it.
|
|
And that's all. I hope this guide will serve you well.