Template:Infobox Monster: Difference between revisions

From HorizonXI Wiki
mNo edit summary
m (Added optional additional family paramters "family2" and "family3". They do not display if not set.)
Line 18: Line 18:
| job = [[<job>]] <!-- Monster's job. Multiples may be provided. -->
| job = [[<job>]] <!-- Monster's job. Multiples may be provided. -->
| family = <!-- Valid values are at Category:Bestiary -->
| family = <!-- Valid values are at Category:Bestiary -->
| family2 = <!-- Optional parameter for additional family types -->
| family3 = <!-- Optional parameter for additional family types -->
| crystal = <!-- If the monster drops a crystal, provide the ELEMENT name -->
| crystal = <!-- If the monster drops a crystal, provide the ELEMENT name -->
<!-- REGULAR MOB TRAITS -->
<!-- REGULAR MOB TRAITS -->
Line 40: Line 42:
| job =  
| job =  
| family =  
| family =  
| family2 =
| family3 =
| crystal =  
| crystal =  
| weaknesses =  
| weaknesses =  
Line 59: Line 63:
** '''job:''' {{Cl|Jobs|Job(s)}} of the monster. ''Example'': <code style="font-size:1.2em;"><nowiki>[[Black Mage]]</nowiki></code>
** '''job:''' {{Cl|Jobs|Job(s)}} of the monster. ''Example'': <code style="font-size:1.2em;"><nowiki>[[Black Mage]]</nowiki></code>
** '''family:''' A valid {{Cl|Bestiary|family}} that the monster belongs to.
** '''family:''' A valid {{Cl|Bestiary|family}} that the monster belongs to.
** '''family2''' An optional parameter to be used if a monster belongs to multiple families.
** '''family3''' Another optional parameter to be used if a monster belongs to multiple families.
** '''crystal:''' ''Optional.'' Crystal that the monster drops.<br/>Valid values: ''Fire, Ice, Wind, Earth, Lightning, Water, Light, Dark''<br/>''Only provide a value if the monster can drop one.''{{Spc}}
** '''crystal:''' ''Optional.'' Crystal that the monster drops.<br/>Valid values: ''Fire, Ice, Wind, Earth, Lightning, Water, Light, Dark''<br/>''Only provide a value if the monster can drop one.''{{Spc}}
* <u>Physical and Magical Traits</u>
* <u>Physical and Magical Traits</u>
Line 72: Line 78:
==Default Output==
==Default Output==
</noinclude><onlyinclude>{|width="100%"
</noinclude><onlyinclude>{|width="100%"
|<includeonly>{{#switch:{{lc:{{{1|}}}}}|nc|no category=|#default=[[Category:Bestiary]]{{#if:{{{family|}}}{{{family2}}}|[[Category:{{{family|}}}]]}}{{#switch:{{lc:{{{type|}}}}}
|<includeonly>{{#switch:{{lc:{{{1|}}}}}|nc|no category=|#default=[[Category:Bestiary]]{{#if:{{{family|}}}{{{family2}}}{{{family3}}}|[[Category:{{{family|}}}]]}}{{#switch:{{lc:{{{type|}}}}}
| nm
| nm
| notorious monster = [[Category:Notorious Monsters]]
| notorious monster = [[Category:Notorious Monsters]]
Line 90: Line 96:
| '''[[Bestiary|Family]]:''' {{#if:{{{family|}}}|[[:Category:{{{family}}}|{{{family}}}]]|<noinclude>{{Information Needed|nc}}</noinclude><includeonly>{{Information Needed|{{{1|}}}}}</includeonly>}}
| '''[[Bestiary|Family]]:''' {{#if:{{{family|}}}|[[:Category:{{{family}}}|{{{family}}}]]|<noinclude>{{Information Needed|nc}}</noinclude><includeonly>{{Information Needed|{{{1|}}}}}</includeonly>}}
|-
|-
| {{#if: {{{family2|}}} | '''[[Bestiary|Family]]:''' [[:Category:{{{family2}}}|{{{family2}}}]]|}}
| {{#if: {{{family2|}}} | '''[[Bestiary|Family 2]]:''' [[:Category:{{{family2}}}|{{{family2}}}]]|}}
|-
| {{#if: {{{family3|}}} | '''[[Bestiary|Family 3]]:''' [[:Category:{{{family3}}}|{{{family3}}}]]|}}
|-
|-
| '''[[Crystal]]:''' {{#if:{{{crystal|}}}|[[{{{crystal}}} Crystal|{{{{{crystal}}}}}]]|''None''}}
| '''[[Crystal]]:''' {{#if:{{{crystal|}}}|[[{{{crystal}}} Crystal|{{{{{crystal}}}}}]]|''None''}}

Revision as of 14:06, 22 January 2024

Usage

Header information for a Bestiary monster entry.

Syntax

{{Infobox Monster
| image = <!-- Image filename. LEAVE BLANK if one is not available. -->
| image caption = <!-- Optional image caption -->
| job = [[<job>]] <!-- Monster's job. Multiples may be provided. -->
| family = <!-- Valid values are at Category:Bestiary -->
| family2 = <!-- Optional parameter for additional family types -->
| family3 = <!-- Optional parameter for additional family types -->
| crystal = <!-- If the monster drops a crystal, provide the ELEMENT name -->
<!-- REGULAR MOB TRAITS -->
| weaknesses = 
| resistances = 
| immunities = 
| absorbs = 
<!-- NOTORIOUS MONSTER -->
| type = <!-- nm, notorious monster, znm, zeni notorious monster, vnm, voidwalker notorious monster, campaign leader, mega boss -->
| subtype = <!-- "mega boss" subtype -->
| tier = <!-- znm or vnm tier number -->
| title obtained = 
}}

Without comments:

{{Infobox Monster
| image = 
| image caption = 
| job = 
| family = 
| family2 = 
| family3 = 
| crystal = 
| weaknesses = 
| resistances = 
| immunities = 
| absorbs = 
| type = 
| subtype = 
| tier = 
| title obtained = 
}}

Parameters

  • Basics
    • image: Filename of the monster image.
      If one is not available, leave this blank. It will insert the {{Mob-image-stub}} template.
    • image caption: Optional. Caption for the image.
    • job: Job(s) of the monster. Example: [[Black Mage]]
    • family: A valid family that the monster belongs to.
    • family2 An optional parameter to be used if a monster belongs to multiple families.
    • family3 Another optional parameter to be used if a monster belongs to multiple families.
    • crystal: Optional. Crystal that the monster drops.
      Valid values: Fire, Ice, Wind, Earth, Lightning, Water, Light, Dark
      Only provide a value if the monster can drop one.
  • Physical and Magical Traits
    • Important: For Notorious Monsters, do not use these parameters. Instead, use {{NM-Notes}}
    • weaknesses, resistances, immunities, absorbs
  • Notorious Monster
    • These parameters are only used for Notorious Monsters.
    • type: Monster type. Used for notorious monster types.
      Valid values: nm, notorious monster, znm, zeni notorious monster, vnm, voidwalker notorious monster, campaign leader, mega boss
      Any other value will be output as provided.
    • subtype: If the type is mega boss, provide the subtype category name.
    • tier: If the type is znm or vnm, provide the tier number.
      Valid values: 1, I, 2, II, 3, III, 4, IV, 5, V
      An invalid value will result in ?? Information Needed being displayed.
    • title obtained: Optional. Title obtained for defeating the monster.

Default Output

Family: Information Needed
Crystal: None
Camera icon.gifThis article is missing a picture of the monster, NM, or pet. You can help by adding it.