Template:Infobox Monster: Difference between revisions

From HorizonXI Wiki
m (improved formatting for the two empty rows)
(monster infobox now a real infobox with colored cells and borders)
Line 61: Line 61:
Start of actual code
Start of actual code


-->
--><div class="flex-container" style="flex-direction: row-reverse;"><div class="flex-container-item-2">{{#if:{{{image|}}}|[[File:{{{image}}}|thumb|right|{{{image caption|{{PAGENAME}}}}}]]{{#if:{{{alternate image|}}}|[[File:{{{alternate image}}}|thumb|{{{alternate image caption|{{PAGENAME}}}}}]]}}|{{Mob-image-stub|{{{1|}}}}}}}</div><div class="flex-container-item-2">
<div class="flex-container" style="flex-direction: row-reverse;"><div class="flex-container-item-2">{{#if:{{{image|}}}|[[File:{{{image}}}|thumb|right|{{{image caption|{{PAGENAME}}}}}]]{{#if:{{{alternate image|}}}|[[File:{{{alternate image}}}|thumb|{{{alternate image caption|{{PAGENAME}}}}}]]}}|{{Mob-image-stub|{{{1|}}}}}}}</div><div class="flex-container-item-2">
{| class="left-col-1 horizon-infobox {{#if:{{{type|}}}|infobox-nms|infobox-mobs}}"
{| class="left-col-1"
|- class="infobox-{{#if:{{{type|}}}|nms|mobs}}-header"
! style="text-align: center;" colspan=2 | [[{{{name|{{PAGENAME}}}}}]]
|- {{#if:{{{job|}}}||style="display: none;"}}
|- {{#if:{{{job|}}}||style="display: none;"}}
! [[Job]]:
! [[Job]]:
Line 79: Line 80:
! [[Crystal]]:
! [[Crystal]]:
| {{#if:{{{crystal|}}}|[[{{{crystal}}} Crystal|{{{{{crystal}}}}}]]|''None''}}
| {{#if:{{{crystal|}}}|[[{{{crystal}}} Crystal|{{{{{crystal}}}}}]]|''None''}}
|- {{#if:{{{weaknesses|}}}{{{resistances|}}}{{{immunities|}}}{{{absorbs|}}}||style="display: none;"}}
| colspan=2 style="height: 1rem;" | <!-- empty row for space -->
|- {{#if:{{{weaknesses|}}}||style="display: none;"}}
|- {{#if:{{{weaknesses|}}}||style="display: none;"}}
! [[Resistance|Weak against]]:  
! [[Resistance|Weak against]]:  
Line 93: Line 92:
! [[Resistance|Absorbs]]:
! [[Resistance|Absorbs]]:
| {{{absorbs|}}}
| {{{absorbs|}}}
|- {{#if:{{{type|}}}{{{title|}}}||style="display: none;"}}
| colspan=2 style="height: 1rem;" | <!-- empty row for space -->
|- {{#if:{{{type|}}}||style="display: none;"}}
|- {{#if:{{{type|}}}||style="display: none;"}}
! colspan=2 | {{#switch:{{lc:{{{type|}}}}}
! style="text-align: center;" colspan=2 | {{#switch:{{lc:{{{type|}}}}}
| notorious monster = {{Colorlink|NM|Notorious Monster}}
| notorious monster = {{Colorlink|NM|Notorious Monster}}
| henm = {{Colorlink|NM|Hyper Empty Notorious Monster}}
| henm = {{Colorlink|NM|Hyper Empty Notorious Monster}}
Line 144: Line 141:
<pre>
<pre>
{{Infobox Monster
{{Infobox Monster
| image = Young Quadav.png
| name = Fafnir
| image caption = Young Quadav
| image = Fafnir.png
| job = [[Warrior]]
| image caption = Fafnir
| family = Quadav
| job =  
| crystal = Water
| family = Wyrms
| weaknesses = {{element|Lightning}}
| crystal = Fire
| resistances = {{Fire|resist}}
| weaknesses ={{Element|Water}}{{Element|Lightning}}
| immunities = {{Dark|resist}}
| resistances = {{element|Fire}}{{element|ice}}
| absorbs = {{Water|resist}}
| immunities =  
| type = henm
| absorbs =  
| subtype =  
| type = Notorious Monster
| tier = 2
| subtype = High Notorious Monster
| title obtained = Big Shot
| tier =  
| title obtained = Fafnir Slayer (''[[Dragon's Aery]]'')
}}
}}
</pre>
</pre>
{{Infobox Monster|nc
{{Infobox Monster|nc
| image = Young Quadav.png
| name = Fafnir
| image caption = Young Quadav
| image = Fafnir.png
| job = [[Warrior]]
| image caption = Fafnir
| family = Quadav
| job =  
| crystal = Water
| family = Wyrms
| weaknesses = {{element|Lightning}}
| crystal = Fire
| resistances = {{Fire|resist}}
| weaknesses ={{Element|Water}}{{Element|Lightning}}
| immunities = {{Dark|resist}}
| resistances = {{element|Fire}}{{element|ice}}
| absorbs = {{Water|resist}}
| immunities =  
| type = henm
| absorbs =  
| subtype =  
| type = Notorious Monster
| tier = 2
| subtype = High Notorious Monster
| title obtained = Big Shot
| tier =  
| title obtained = Fafnir Slayer (''[[Dragon's Aery]]'')
}}
}}


{{Infobox Monster
{{Infobox Monster
| name = Bumblebee
| image = Bumblebee.jpg
| image = Bumblebee.jpg
| image caption = Bumblebee
| image caption = Bumblebee

Revision as of 11:40, 2 August 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
| name = Fafnir
| image = Fafnir.png
| image caption = Fafnir
| job = 
| family = Wyrms
| crystal = Fire
| weaknesses ={{Element|Water}}{{Element|Lightning}}
| resistances = {{element|Fire}}{{element|ice}}
| immunities = 
| absorbs = 
| type = Notorious Monster
| subtype = High Notorious Monster
| tier = 
| title obtained =  Fafnir Slayer (''[[Dragon's Aery]]'')
}}
Fafnir
Fafnir
Job:
Family: Wyrms
Family 2: [[:Category:{{{family2}}}|{{{family2}}}]]
Family 3: [[:Category:{{{family3}}}|{{{family3}}}]]
Crystal: Fire
Weak against: Water WaterLightning Lightning
Resistant to: Fire FireIce Ice
Immune to:
Absorbs:
Notorious Monster
Title Obtained: Fafnir Slayer (Dragon's Aery)


Bumblebee
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: