Zezenia Online Wiki:Documentation/Monsters: Difference between revisions

From Zezenia Online Wiki
Created page with "Monster pages are the data source for stats, loot and spawns in the wiki. Pages must follow these best practices to provide all required data. == Monster stats == Use Temp..."
 
No edit summary
Line 11: Line 11:
== Adding spawns ==
== Adding spawns ==


Add spawns under a "Spawns" header. Use [[Template:Monster Spawn]] for standardized formatting. At a minimum the template must specify <code>Location</code>. For example:
Add spawns under a "Spawns" header and wrap all spawns inside a [[Template:Monster Spawns]]. Use [[Template:Monster Spawn]] for standardized formatting. At a minimum the template must specify <code>Location</code>. For example:


<code>
<code>
<nowiki>{{Monster Spawn|Location=Eidos}}</nowiki>
<nowiki>{{Monster Spawns|{{Monster Spawn|Location=Eidos}}}}</nowiki>
</code>
</code>



Revision as of 21:38, 17 February 2021

Monster pages are the data source for stats, loot and spawns in the wiki. Pages must follow these best practices to provide all required data.

Monster stats

Use Template:Monster Info to add an infobox with monster statistics to the very top of the page.

Loot table

Use Template:Loot Table and Template:Loot Table Row inside it.

Adding spawns

Add spawns under a "Spawns" header and wrap all spawns inside a Template:Monster Spawns. Use Template:Monster Spawn for standardized formatting. At a minimum the template must specify Location. For example:

{{Monster Spawns|{{Monster Spawn|Location=Eidos}}}}

Will output an automatic link to Eidos. Free form text and a video link can also be added:

{{Monster Spawn|Location=Eidos|Text=Sewers underneath [[Eidos]]|Video=https://www.youtube.com/watch?v=dQw4w9WgXcQ}}

Example

Edit the Creep page for an example of well formed source code.