Difference between revisions of "Zezenia Online Wiki:Documentation/Monsters"

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...")
 
 
(2 intermediate revisions by the same user not shown)
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>
  
Line 20: Line 20:
  
 
<code><nowiki>{{Monster Spawn|Location=Eidos|Text=Sewers underneath [[Eidos]]|Video=https://www.youtube.com/watch?v=dQw4w9WgXcQ}}</nowiki></code>
 
<code><nowiki>{{Monster Spawn|Location=Eidos|Text=Sewers underneath [[Eidos]]|Video=https://www.youtube.com/watch?v=dQw4w9WgXcQ}}</nowiki></code>
 +
 +
A custom map can also be embedded. See [[Creep]].
  
 
== Example ==
 
== Example ==
  
 
Edit the [[Creep]] page for an example of well formed source code.
 
Edit the [[Creep]] page for an example of well formed source code.

Latest revision as of 01:39, 28 March 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}}

A custom map can also be embedded. See Creep.

Example

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