Difference between revisions of "Template:Mob"

From Alter Aeon Wiki
(added more fields)
(tidied up help text, hid some unimplemented fields, added blank sample)
 
(3 intermediate revisions by the same user not shown)
Line 3: Line 3:
==Fields==
==Fields==


* vnum?
* title (if mob has a title not included in fight string like leader of the encampment)
* name  (fight string and name of page)
* realm
* realm
* area
* area
* room  
* room
* room_id
* room_link (yes/no) (if room is a shop that exists on the website)
* keywords
* keywords
* fight_string  (not currently used and will probably match the name of the page)
* ground_string
* ground_string
* description  (long string)
* description  (long string)
* type (i.e. humanoid)
* race (i.e. human)
* size (i.e. 9 feet 0 inches tall/big)
* weight (in pounds)
* gender
* align


* priest  (add yes or god priest is dedicated to)
* priest  (add yes or god priest is dedicated to)
* shopkeeper (yes/no)
* shopkeeper (yes/no)
* spellcaster? (yes/no)
* sells
* questor (yes/no)
* questor (yes/no)
* quests
* guard (yes/no)
* guard (yes/no)
* jobgiver (yes/no)
* jobgiver (yes/no)
* jobs
* boss (yes/no)
* boss (yes/no)
* fame (yes/no)
* fame (yes/no)
* wandering (yes/no)
* wandering (yes/no)
* nokill (yes/no)
* nokill (yes/no)
* trainer (yes/no)
* teaches
* flags
* flags


* type (i.e. humanoid)
<!--
* race (in pounds)
* date_created
* size (i.e. 9 feet 0 inches tall/big)
* date_modified
* gender
* spellcaster? (yes/no)s
-->


==Sections==
==Sections==
Line 40: Line 54:
* Mobs on <realm>
* Mobs on <realm>
* questors
* questors
==Sample==
<pre>
{{Mob
|realm=
|area=
|room=
|keywords=
|fight_string=
|ground_string=
|description=
|race=
|type=
|size=
|weight=
}}
</pre>


[[Category:Template]]
[[Category:Template]]
</noinclude><includeonly>{| class="wikitable mobtable" style="float:right; margin:0 0 0.5em 1em; width:{{{width|33}}}%"
</noinclude><includeonly>{| class="wikitable mobtable" style="float:right; margin:0 0 0.5em 1em; width:{{{width|33}}}%"
|-
|-
! colspan="4" | {{PAGENAME}}
! colspan="2" | {{PAGENAME}}
|-
{{TableRowIf | {{{realm|}}} | Realm }}{{TableRowIf | {{{area|}}} | Area }}{{TableRowIf | {{{room|}}} | Room }}{{TableRowIf |{{{keywords|}}} | Keywords }}{{TableRowIf | {{{type|}}} | Type }}{{TableRowIf | {{{race|}}} | Race }}{{TableRowIf | {{{size|}}} |  Size }}{{TableRowIf | {{{weight|}}} | Weight }}{{TableRowIf | {{{gender|}}} | Gender }}{{TableRowIf | {{{flags|}}} | Flags }}
! {{plural:area|Area|Areas}}
| colspan=3 | {{{area|}}}
{{TableRowIf | Room | {{{room|}}}}}{{TableRowIf | {{plural:keywords|Keyword|Keywords}} | {{{keywords|}}}}}{{TableRowIf | Type | {{{type|}}}}}{{TableRowIf | Race | {{{race|}}}}}{{TableRowIf | Size | {{{size|}}}}}{{TableRowIf | Weight | {{{weight|}}}}}{{TableRowIf | Gender | {{{gender|}}}}}{{TableRowIf | {{plural:flags|Flag|Flags}}
| {{{flags|}}}}}
}}
|}{{#if:{{{description|}}}|
|}{{#if:{{{description|}}}|
<br />
<br />
==Description==
==Description==
{{{description|}}}
{{{description|}}}}}{{#if:{{{sells|}}}|
<br />
==Sells==
{{{sells|}}}
}}{{#if:{{{teaches|}}}|
<br />
==Teaches==
{{{teaches|}}}
}}{{#if:{{{quests|}}}|
}}{{#if:{{{quests|}}}|
<br />
<br />
Line 68: Line 104:
{{{notes|}}}
{{{notes|}}}
}}
}}


{{#if:{{{realm|}}}|
{{#if:{{{realm|}}}|
Line 78: Line 111:
{{#if:{{{area|}}}|
{{#if:{{{area|}}}|
[[Category:Mobs in {{{area|}}}]]
[[Category:Mobs in {{{area|}}}]]
}}
{{#ifeq:{{{questor|}}} | yes |
[[Category:Questors|}}}]]
}}
{{#ifeq:{{{trainers|}}} | yes |
[[Category:Trainers|}}}]]
}}
{{#ifeq:{{{shopkeepers|}}} | yes |
[[Category:Shopkeepers|}}}]]
}}
{{#ifeq:{{{priest|}}} | yes |
[[Category:Priests|}}}]]
}}
{{#ifeq:{{{nokill|}}} | yes |
[[Category:Unkillable Mobs|}}}]]
}}
{{#ifeq:{{{job_giver|}}} | yes |
[[Category:Job Givers|}}}]]
}}
{{#ifeq:{{{boss|}}} | yes |
[[Category:Boss Mobs|}}}]]
}}
}}


Line 84: Line 145:
| case The Island of Kordan
| case The Island of Kordan
| case The Island of Archais = [[Category:Newbie level mobs]]
| case The Island of Archais = [[Category:Newbie level mobs]]
}}</includeonly>
}}
</includeonly>

Latest revision as of 08:35, 12 July 2017


Fields

  • title (if mob has a title not included in fight string like leader of the encampment)
  • realm
  • area
  • room
  • room_id
  • room_link (yes/no) (if room is a shop that exists on the website)
  • keywords
  • fight_string (not currently used and will probably match the name of the page)
  • ground_string
  • description (long string)
  • type (i.e. humanoid)
  • race (i.e. human)
  • size (i.e. 9 feet 0 inches tall/big)
  • weight (in pounds)
  • gender
  • align
  • priest (add yes or god priest is dedicated to)
  • shopkeeper (yes/no)
  • sells
  • questor (yes/no)
  • quests
  • guard (yes/no)
  • jobgiver (yes/no)
  • jobs
  • boss (yes/no)
  • fame (yes/no)
  • wandering (yes/no)
  • nokill (yes/no)
  • trainer (yes/no)
  • teaches
  • flags


Sections

  • description
  • items
  • quests
  • notes

Categories

  • <area>
  • Mobs on <realm>
  • questors

Sample

{{Mob
|realm=
|area=
|room=
|keywords=
|fight_string=
|ground_string=
|description=
|race=
|type=
|size=
|weight=

}}