Template:SemanticMonsterData/doc: Difference between revisions
NyxAeravir (talk | contribs) m (Removed raid comment.) |
NyxAeravir (talk | contribs) m (Commented out line on monster form page.) |
||
Line 1: | Line 1: | ||
This template sets semantic monster data to the page and renders the page layout. <br/> | This template sets semantic monster data to the page and renders the page layout. <br/><br/> | ||
Using [[Form:Monster]] will automatically place this onto a specified page. <br/> | <!-- Using [[Form:Monster]] will automatically place this onto a specified page. <br/> (This is not being used for now, as NyxAeravir does not want to delve into the mess that is setting up form pages yet.--> | ||
Template properties: | Template properties: | ||
<pre> | <pre> |
Latest revision as of 01:30, 2 March 2023
This template sets semantic monster data to the page and renders the page layout.
Template properties:
name family file ext field locations list dungeon locations list speed element melee hits explosive damage aggro multi aggro aggro range aggro speed drops equip list common drops misc list common heavy stander mana deflector natural shield type section type missions list mainstream field boss skills
For editing this template[edit]
- This template uses semantic media wiki. See here for a quick tutorial.
- See Template:SemanticMonsterData for main monster properties.
- Template:SemanticMonsterDifficultyData is used as the subobject for varying monster difficulties.
Tips[edit]
- Avoid cleaning up the code to avoid unintended bugs. (unless you're very familiar with mediawiki)
- Especially newlines and indenting.
- There is a lot of conditional statements mixed into the tables.
- It's recommended to copy and edit in a third party code editor to help with highlighting.
- #css is used to resize the images.
- Rows and columns are changed depending on {{#hashvalue:Data|Type}}.
- Normal omits the top "location" field.
- Monster categories are handled at the bottom.
- Please take into account {{#hashvalue:Data|Type}} (the different monster types) when making any edits.