Template:Infobox Monster: Difference between revisions

From HorizonXI Wiki
(reworked the template to improve code readability an make it mobile responsive)
m (fixed code typos)
Line 73: Line 73:
! [[Bestiary|Family 2]]:
! [[Bestiary|Family 2]]:
| [[:Category:{{{family2}}}|{{{family2}}}]]
| [[:Category:{{{family2}}}|{{{family2}}}]]
|-
|- {{#if: {{{family3|}}}||style="display: none;"}}
|- {{#if: {{{family3|}}}||style="display: none;"}}
! [[Bestiary|Family 3]]:
! [[Bestiary|Family 3]]:
Line 85: Line 84:
! [[Resistance|Weak against]]:  
! [[Resistance|Weak against]]:  
| {{{weaknesses}}}
| {{{weaknesses}}}
|-
|- {{#if:{{{resistances|}}}||style="display: none;"}}
{{#if:{{{resistances|}}}||style="display: none;"}}
! [[Resistance|Resistant to]]:  
! [[Resistance|Resistant to]]:  
| {{{resistances}}}
| {{{resistances}}}
|-
|- {{#if:{{{immunities|}}}||style="display: none;"}}
{{#if:{{{immunities|}}}||style="display: none;"}}
! [[Resistance|Immune to]]:  
! [[Resistance|Immune to]]:  
| {{{immunities}}}
| {{{immunities}}}
|-
|- {{#if:{{{absorbs|}}}||style="display: none;"}}
{{#if:{{{absorbs|}}}||style="display: none;"}}
! [[Resistance|Absorbs]]:
! [[Resistance|Absorbs]]:
| {{{absorbs|}}}
| {{{absorbs|}}}
Line 177: Line 173:
| tier = 2
| tier = 2
| title obtained = Big Shot
| title obtained = Big Shot
}}
{{Infobox Monster
| image = Bumblebee.jpg
| image caption = Bumblebee
| job = [[Warrior]]
| family = Bees
| crystal = Wind
| weaknesses = {{element|Ice}} {{Piercing}}
| resistances =
| immunities =
| absorbs =
| type =
| subtype =
| tier =
| title obtained =
}}
}}

Revision as of 13:39, 20 July 2024


Usage

Header information for a Bestiary monster entry.

Parameters

  • First unnamed Parameter (optional): You can set the first unnamed parameter to:
    • nc (no category) to prevent automatic categorization (e.g. for example pages)
    • nd (no documentation) to suppress the preview documentation (helpful in the editing process)
    • bp (boilerplate) to have the preview documentation without comments so you can just copy it to the page (helpful for creating new pages to just start with {{Infobox Monster|bp}} and copy the boilerplate from the preview only)
  • 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.

Examples

{{Infobox Monster
| image = Young Quadav.png
| image caption = Young Quadav
| job = [[Warrior]]
| family = Quadav
| crystal = Water
| weaknesses = {{element|Lightning}}
| resistances =  {{Fire|resist}}
| immunities = {{Dark|resist}}
| absorbs = {{Water|resist}}
| type = henm
| subtype = 
| tier = 2
| title obtained = Big Shot
}}
Young Quadav
Job: Warrior
Family: Quadav
Family 2: [[:Category:{{{family2}}}|{{{family2}}}]]
Family 3: [[:Category:{{{family3}}}|{{{family3}}}]]
Crystal: Water
Weak against: Lightning Lightning
Resistant to: Resistance vs. Fire
Immune to: Resistance vs. Dark
Absorbs: Resistance vs. Water
Hyper Empty Notorious Monster
Title Obtained: Big Shot



Bumblebee
Job: Warrior
Family: Bees
Family 2: [[:Category:{{{family2}}}|{{{family2}}}]]
Family 3: [[:Category:{{{family3}}}|{{{family3}}}]]
Crystal: Wind
Weak against: Ice Ice Piercing Weapons: Dagger, Polearm, Archery, Marksmanship, Shuriken, Sharpshot Frame
Resistant to:
Immune to:
Absorbs:
Title Obtained: