Template:Infobox Monster: Difference between revisions

From HorizonXI Wiki
m (added remaining jobs to job parameter switch.)
mNo edit summary
 
(34 intermediate revisions by 2 users not shown)
Line 1: Line 1:
[[Category:Templates|{{PAGENAME}}]]
[[Category:Templates|{{PAGENAME}}]]
<includeonly><onlyinclude>__NOTOC__<!--
<includeonly><onlyinclude> {{Infobox Monster/Help|{{{1}}}}}<!--
 
Cheat sheet that is only visible during preview
-->{{#switch:{{{1|}}}|bp|boilerplate={{Preview Only Infobox|<pre>{{Infobox Monster
| image =
| image caption =
| job =
| family =
| family2 =
| family3 =
| crystal =
| weaknesses =
| resistances =
| immunities =
| absorbs =
| type =
| subtype =
| tier =
| title obtained =
}}</pre>
|disable={{{1|}}}}}<!--
-->|#default={{Preview Only Infobox|<pre>{{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 =
}}
</pre>|disable={{{1|}}}}}}}<!--
 
End of preview only infobox part
start of categorizations


-->{{categorize|{{{1|}}}|[[Category:Bestiary]]{{#if:{{{family|}}}{{{family2}}}{{{family3}}}|[[Category:{{{family|}}}]]}}{{#switch:{{lc:{{{type|}}}}}
-->{{categorize|{{{1|}}}|[[Category:Bestiary]]{{#if:{{{family|}}}{{{family2}}}{{{family3}}}|[[Category:{{{family|}}}]]}}{{#switch:{{lc:{{{type|}}}}}
Line 70: Line 27:
|title=Category:{{{family3}}}
|title=Category:{{{family3}}}
|include={Infobox Mob Family}:System
|include={Infobox Mob Family}:System
}}]]}}|}}<!--  
}}]]}}|}}<!--
 
categorization based on spawn conditions
-->{{categorize|{{{1|}}}|{{#switch:{{lc:{{{spawn}}}}}<!--
-->| timed spawn | timed = [[Category:Timed Spawn Notorious Monsters]]<!--
-->| forced spawn | forced = [[Category:Forced Spawn Notorious Monsters]]<!--
-->| lottery spawn | lottery = [[Category:Lottery Spawn Notorious Monsters]]<!--
-->| non-standard = [[Category:Non-standard Notorious Monsters]]<!--
-->| unknown Spawn | unknown = [[Category:Notorious Monsters with Unknown Spawn Conditions]]<!--
-->| mission = [[Category:Mission Notorious Monsters]]<!--
-->| quest = [[Category:Quest Notorious Monsters]]<!--
-->}}}}<!--
 
categorization based on exp camp type
-->{{categorize|{{{1|}}}|{{#switch:{{lc:{{{exp party type}}}}}<!--
-->| magic burst mob | magic burst monster | mb mob | mb monster = [[Category:Magic Burst Monsters]]<!--
-->| alpha exp camp | alpha camp | alpha = [[Category:Alpha EXP Camps]]<!--
-->| shatter exp camp | shatter camp | shatter = [[Category:Shatter EXP Camps]]<!--
-->}}}}<!--


Categorization End  
Categorization End  
Line 81: Line 56:
|- {{#if:{{{job|}}}||style="display: none;"}}
|- {{#if:{{{job|}}}||style="display: none;"}}
! [[Job]]:
! [[Job]]:
| {{#switch:{{lc:{{{job|}}}}}<!--
| {{#switch:{{lc:{{{job|}}}}}
-->|war|WAR|[[WAR]] = [[Warrior]]|monk|MNK|[[MNK]] = [[Monk]]|thf|THF|[[THF]] = [[Thief]]|blm|BLM|[[BLM]] = [[Black Mage]]|whm|WHM|[[WHM]] = [[White Mage]]|rdm|RDM|[[RDM]] = [[Red Mage]]|pld|PLD|[[PLD]] = [[Paladin]]|drk|DRK|[[DRK]] = [[Dark Knight]]|rng|RNG|[[RNG]] = [[Ranger]]|brd|BRD|[[BRD]] = [[Bard]]|bst|BST|[[BST]] = [[Beastmaster]]|smn|SMN|[[SMN]] = [[Summoner]]|drg|DRG|[[DRG]] = [[Dragoon]]|nin|NIN|[[NIN]] = [[Ninja]]|sam|SAM|[[SAM]] = [[Samurai]]|pup|PUP|[[PUP]] = [[Puppetmaster]]|blu|BLU|[[BLU]] = [[Blue Mage]]|cor|COR|[[COR]] = [[Corsair]]|DNC|DNC|[[DNC]] = [[Dancer]]|sch|SCH|[[SCH]] = [[Scholar]]|run|RUN|[[RUN]] = [[Rune Fencer]]|geo|GEO|[[GEO]] = [[Geomancer]]|{{{job}}}}}
|war|[[war]] = [[Warrior]]
|mnk|[[mnk]] = [[Monk]]
|thf|[[thf]] = [[Thief]]
|blm|[[blm]] = [[Black Mage]]
|whm|[[whm]] = [[White Mage]]
|rdm|[[rdm]] = [[Red Mage]]
|pld|[[pld]] = [[Paladin]]
|drk|[[drk]] = [[Dark Knight]]
|rng|[[rng]] = [[Ranger]]
|brd|[[brd]] = [[Bard]]
|bst|[[bst]] = [[Beastmaster]]
|smn|[[smn]] = [[Summoner]]
|drg|[[drg]] = [[Dragoon]]
|nin|[[nin]] = [[Ninja]]
|sam|[[sam]] = [[Samurai]]
|pup|[[pup]] = [[Puppetmaster]]
|blu|[[blu]] = [[Blue Mage]]
|cor|[[cor]] = [[Corsair]]
|DNC|[[dnc]] = [[Dancer]]
|sch|[[sch]] = [[Scholar]]
|run|[[run]] = [[Rune Fencer]]
|geo|[[geo]] = [[Geomancer]]
|#default={{{job}}}}}
|-
|-
! width=150px | [[Bestiary|Family]]:
! width=150px | [[Bestiary|Family]]:
Line 110: Line 107:
! style="text-align: center;" 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 | hyper empty notorious monster = {{Colorlink|NM|Hyper Empty Notorious Monster|Hyper Empty Notorious Monster (Tier {{#switch:{{{tier|}}}|1|I = I|2|II = II|3|III = III|4|IV = IV|5|V = V|#default = ??}})}}
| hyper empty notorious monster = {{Colorlink|NM|Hyper Empty Notorious Monster}}
| zeni notorious monster = {{Colorlink|NM|Zeni Notorious Monsters|Zeni Notorious Monster (Tier {{#switch:{{{tier|}}}|1|I = I|2|II = II|3|III = III|4|IV = IV|5|V = V|#default = ??}})}}
| zeni notorious monster = {{Colorlink|NM|Zeni Notorious Monsters|Zeni Notorious Monster (Tier {{#switch:{{{tier|}}}|1|I = I|2|II = II|3|III = III|4|IV = IV|5|V = V|#default = ??}})}}
| voidwalker notorious monster = {{Colorlink|NM|Voidwalker Notorious Monsters|Voidwalker Notorious Monster (Tier {{#switch:{{{tier|}}}|1|I = I|2|II = II|3|III = III|4|IV = IV|#default = ?? {{Information Needed|{{{1|}}}}} }})}}
| voidwalker notorious monster = {{Colorlink|NM|Voidwalker Notorious Monsters|Voidwalker Notorious Monster (Tier {{#switch:{{{tier|}}}|1|I = I|2|II = II|3|III = III|4|IV = IV|#default = ?? {{Information Needed|{{{1|}}}}} }})}}
Line 118: Line 114:
| #default = {{{type}}}
| #default = {{{type}}}
}}
}}
|- {{#if:{{{spawn|}}}||style="display: none;"}}
! [[:Category:Notorious Monsters|Spawn Type]]:
| {{#switch:{{lc:{{{spawn|}}}}}
| timed spawn | timed = [[:Category:Timed Spawn Notorious Monsters|{{{spawn}}}]]
| forced spawn | forced = [[:Category:Forced Spawn Notorious Monsters|{{{spawn}}}]]
| lottery spawn | lottery = [[:Category:Lottery Spawn Notorious Monsters|{{{spawn}}}]]
| non-standard = [[:Category:Non-standard Notorious Monsters|{{{spawn}}}]]
| unknown spawn | Unknown = [[:Category:Notorious Monsters with Unknown Spawn Conditions|{{{spawn}}}]]
| mission = [[:Category:Mission Notorious Monsters|{{{spawn}}}]]
| quest = [[:Category:Quest Notorious Monsters]]|{{{spawn}}}
| #default = }}
|- {{#if:{{{title obtained|}}}||style="display: none;"}}
|- {{#if:{{{title obtained|}}}||style="display: none;"}}
! [[Titles|Title Obtained]]:  
! [[Titles|Title Obtained]]:  
| {{{title obtained}}}
| {{{title obtained}}}
|}</div></div>
|- {{#if:{{{exp party type|}}}||style="display: none;"}}
! [[:Category:EXP Party Type|EXP Party Type]]:
| {{#switch:{{lc:{{{exp party type|}}}}}
| magic burst mob | magic burst monster | mb mob | mb monster = [[:Category:Magic Burst Monsters|Magic Burst Monster]] {{changes|These era+ types of monster are unique to Horizon.}}
| alpha exp camp | alpha camp | alpha = [[:Category:Alpha EXP Camps|Alpha Camp]] {{changes|These era+ types of monster are unique to Horizon.}}
| shatter exp camp | shatter camp | shatter = [[:Category:Shatter EXP Camps|Shatter Camp]] {{changes|These era+ types of monster are unique to Horizon.}}
| #default = {{verification}}}}
|}
 
<!-- the following parameters are phantom parameters that are used on mob pages which fall into the magic burst mob, shatter & alpha exp camp categories. Users define these parameters to trigger their appearance in dpl tables on their respective category pages. These parameters could be also be used for other purposes at a later date, hence their record being listed here.
 
{{{mob 1 level}}}
{{{mob 1 area}}}
{{{mob 2 level}}}
{{{mob 2 area}}}
{{{mob 3 level}}}
{{{mob 3 area}}}
{{{mob 4 level}}}
{{{mob 4 area}}}
{{{mob 5 level}}}
{{{mob 5 area}}}
{{{mob 6 level}}}
{{{mob 6 area}}}
{{{mob 7 level}}}
{{{mob 7 area}}}
{{{mob 8 level}}}
{{{mob 8 area}}}
-->
</div></div>
</onlyinclude></includeonly>
</onlyinclude></includeonly>
==Usage==
==Usage==
 
{{Infobox Monster/Documentation}}
Header information for a {{Cl|Bestiary}} monster entry.
 
* See Also: [[Template:Monster Information]]
 
===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 {{fontaccent|<nowiki>{{Infobox Monster|bp}}</nowiki>}} and copy the boilerplate from the preview only)
 
* <u>Basics</u>
** '''image:''' Filename of the monster image.<br/>If one is not available, ''leave this blank.'' It will insert the {{Tl|Mob-image-stub}} template.
** '''image caption:''' ''Optional.'' Caption for the image.
** '''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.
** '''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}}
* <u>Physical and Magical Traits</u>
** ''Important'': For {{Cl|Notorious Monsters}}, do not use these parameters. Instead, use {{Tl|NM-Notes}}
** '''weaknesses''', '''resistances''', '''immunities''', '''absorbs'''{{Spc}}
* <u>Notorious Monster</u>
** ''These parameters are only used for {{Cl|Notorious Monsters}}.''
** '''type:''' Monster type. Used for notorious monster types.<br/>Valid values: ''nm, notorious monster, znm, zeni notorious monster, vnm, voidwalker notorious monster, campaign leader, mega boss''<br/>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.<br/>Valid values: ''1, I, 2, II, 3, III, 4, IV, 5, V''<br/>An invalid value will result in '''??''' {{Information Needed|nc}} being displayed.{{Spc}}
** '''title obtained:''' ''Optional.'' Title obtained for defeating the monster.
 
===Examples===
<pre>
{{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]]'')
}}
</pre>
{{Infobox Monster|nc
| 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]]'')
}}
 
<pre>
{{Infobox Monster
| name = Bumblebee
| image = Bumblebee.jpg
| image caption = Bumblebee
| job = [[Warrior]]
| family = Bees
| crystal = Wind
| weaknesses = {{element|Ice}} {{Piercing}}
}}
</pre>
{{Infobox Monster
| name = Bumblebee
| image = Bumblebee.jpg
| image caption = Bumblebee
| job = [[Warrior]]
| family = Bees
| crystal = Wind
| weaknesses = {{element|Ice}} {{Piercing}}
| resistances =
| immunities =
| absorbs =
| type =
| subtype =
| tier =
| title obtained =
}}

Latest revision as of 00:37, 12 November 2024


Usage

no 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.
    • spawn: Optional. To be used on notorious monsters. Valid values are: Timed, Forced, Lottery, Unknown, Non-Standard, Mission & Quest. Also auto-categorizes.
    • title obtained: Optional. Title obtained for defeating the monster.
  • Additional Parameters
    • exp party type: Optional. To be used for the era+ exp camp types such as Magic Burst Monsters, Shatter EXP Camps and Alpha EXP Camp. Also auto-categorizes.
    • mob # level: Optional. To be used in conjunction with the "exp party type" parameter. When used it will auto-populate on their respective category pages. Can use numbers 1 through to 8 eg. "mob 1 level".
    • mob # area: Optional. To be used in conjunction with the "exp party type" parameter. When used it will auto-populate on their respective category pages. Can use numbers 1 through to 8 eg. "mob 1 area".

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
Spawn Type:
Title Obtained: Fafnir Slayer (Dragon's Aery)
EXP Party Type: Verification Needed


{{Infobox Monster
| name = Bumblebee
| image = Bumblebee.jpg
| image caption = Bumblebee
| job = [[Warrior]]
| family = Bees
| crystal = Wind
| weaknesses = {{element|Ice}} {{Piercing}}
}}
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:
Spawn Type:
Title Obtained:
EXP Party Type: Verification Needed