Difference between revisions of "Template:ARR Infobox Mob"
(fixing formatnum) |
|||
(58 intermediate revisions by 5 users not shown) | |||
Line 1: | Line 1: | ||
− | <noinclude | + | <noinclude>{{/Documentation}}</noinclude><includeonly>{{#if:{{{Species|}}}|{{#vardefine:species|{{{Species|}}}}}|{{#vardefine:species|none}}}}{{#vardefine:genus|{{{Genus|{{Species2Genus|{{#var:species}}}}}}}}}{{#vardefine:class|{{Genus2Class|{{#var:genus}}}}}}{{#vardefine:kingdom|{{Class2Kingdom|{{#var:class}}}}}}{{XIVboxHeader|Patch={{{Patch|}}}|Title={{{Name}}}|Icon={{#if: {{{Icon|}}}|{{{Icon|}}}_Icon.png| {{#ifexist: Image:{{#var:species}}_Icon.png|{{#var:species}}_Icon.png|{{#ifexist: Image:{{#var:genus}}_Icon.png|{{#var:genus}}_Icon.png|Question_mark_stub.png}}}}}}|Iconsize={{{Iconsize|48px}}}|Type=[[:Category:Bestiary|Monster]]|Subtitle=|Icons={{#if:{{{NM|}}}|[[File:NMicon.png|18px|link=Notorious Monster]]}}{{#if:{{{Boss|}}}|[[File:BossIcon.png|18px|link=Boss]]}}{{#if:{{{Miniboss|}}}|[[File:MinibossIcon.png|18px|link=Miniboss]]}}{{#ifexpr: {{PAGESINCAT:{{Fixtick|Open World Monster}}|R}} >0 | [[File:Zoneicon.png|22px|link={{PAGENAME}}#Locations]]}}{{#ifexpr: {{PAGESINCAT:{{Fixtick|Hunting Log: {{SUBPAGENAME}}}}|R}} >0 | [[File:Mob1 Icon.png|18px|link={{PAGENAME}}#Hunting Log]]}}{{#ifexpr: {{PAGESINCAT:{{Fixtick|Quest Involving {{SUBPAGENAME}}}}|R}} >0 | [[File:Mob14 Icon.png|14px|link={{PAGENAME}}#Quests]]}}{{#ifexpr: {{PAGESINCAT:{{Fixtick|{{SUBPAGENAME}}}} Involved in FATE|R}} >0 | [[File:Mob18 Icon.png|19px|link={{PAGENAME}}#FATEs]]}}{{#ifexpr: {{PAGESINCAT:{{Fixtick|Levequest Involving {{SUBPAGENAME}}}}|R}} >0 | [[File:Mob16 Icon.png|14px|link={{PAGENAME}}#Levequests]]}}{{#ifexpr: {{PAGESINCAT:{{Fixtick|{{SUBPAGENAME}}}} Involved in Trial|R}} >0 | [[File:Trialicon.png|16px|link={{PAGENAME}}#Trials]]}}{{#ifexpr: {{PAGESINCAT:{{Fixtick|{{SUBPAGENAME}}}} Needed for Animus Weapon|R}} >0 | [[File:Atma Book Icon Cropped.png|18px|link={{PAGENAME}}#Animus]]}}{{#ifexpr: {{PAGESINCAT:{{fixtick|{{SUBPAGENAME}}}} Involved in Hunt|R}} >0 | [[File:Huntmobicon.png|16px|link={{PAGENAME}}#The Hunt]]}}}} |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | }} | ||
{{!}}- | {{!}}- | ||
|height="12px" width="35%" valign="top" colspan="1"| | |height="12px" width="35%" valign="top" colspan="1"| | ||
− | {{{!}} cellpadding="0" width="100%" cellspacing="0" border="0" | + | {{{!}} cellpadding="0" width="100%" cellspacing="0" border="0" |
{{!}}- | {{!}}- | ||
{{!}}align="center" {{!}}[[:Category:Bestiary|Taxonomy]] | {{!}}align="center" {{!}}[[:Category:Bestiary|Taxonomy]] | ||
{{!}}- | {{!}}- | ||
− | {{!}}{{!}}{{#if:{{#var:kingdom}}|[[: | + | {{!}}{{!}}{{#if:{{#var:kingdom}}|[[:Category:Kingdom:{{#var:kingdom}}|{{#var:kingdom}}]]}} |
{{!}}- | {{!}}- | ||
− | {{!}}style="padding:0em 0em 0em 2em;"{{!}}{{#if:{{#var:class}}|{{color|white|➥}} | + | {{!}}style="padding:0em 0em 0em 2em;"{{!}}{{#if:{{#var:class}}|{{color|white|➥}} [[:Category:Class:{{#var:class}}|{{#var:class}}]]}} |
{{!}}- | {{!}}- | ||
− | {{!}}style="padding:0em 0em 0em 5em;"{{!}}{{#if:{{#var:genus}}|{{color|white|➥}} | + | {{!}}style="padding:0em 0em 0em 5em;"{{!}}{{#if:{{#var:genus}}|{{color|white|➥}} [[:Category:Genus:{{#var:genus}}|{{#var:genus}}]]}} |
{{!}}- | {{!}}- | ||
− | {{!}}style="padding:0em 0em 0em 8em;"{{!}}{{#ifeq:{{#var:species}}| | + | {{!}}style="padding:0em 0em 0em 8em;"{{!}}{{#ifeq:{{#var:species}}|Unique|[[Category:Genus:{{{Genus|}}} has Unique Species]]|}}{{#ifeq:{{#var:species}}|none||{{color|white|➥}} [[:Category:Species:{{#var:species}}|{{#var:species}}]]}} |
{{!}}- | {{!}}- | ||
{{!}}} | {{!}}} | ||
|height="12px" width="35%" valign="top" colspan="1"| | |height="12px" width="35%" valign="top" colspan="1"| | ||
− | {{{!}} cellpadding="0" width="100%" cellspacing="0" border="0" | + | {{{!}} cellpadding="0" width="100%" cellspacing="0" border="0" |
{{!}}- | {{!}}- | ||
{{!}}align="center" {{!}}{{color|white|style=normal|Statistics}} | {{!}}align="center" {{!}}{{color|white|style=normal|Statistics}} | ||
{{!}}- | {{!}}- | ||
− | {{!}}style="height: 1ex;"{{!}}{{color|white|style=normal|Level Range}} | + | {{!}}style="height: 1ex;"{{!}}{{color|white|style=normal|{{#if:{{{High Level|}}}|Level Range|Level}}}} |
{{!}}{{color|white|style=normal|{{{Low Level|}}}{{#if:{{{High Level|}}}|-}}{{{High Level|}}}}} | {{!}}{{color|white|style=normal|{{{Low Level|}}}{{#if:{{{High Level|}}}|-}}{{{High Level|}}}}} | ||
{{!}}- | {{!}}- | ||
+ | {{#if:{{{Element|}}}| | ||
+ | {{!}}style="height: 1ex;"{{!}}{{color|white|style=normal|Element}} | ||
+ | {{!}}{{Element Icon Switch|Element={{{Element}}}}} | ||
+ | {{!}}- | ||
+ | }} | ||
+ | {{#if:{{{Actions|}}}| | ||
+ | {{!}}style="height: 1ex;"{{!}}{{color|white|style=normal|Actions}} | ||
+ | {{!}}{{#arraydefine:actions|{{{Actions|}}}}}{{#arraysort:actions|asc}}{{#arrayprint:actions|{{color|white|style=normal|,}} |@@@@|[[@@@@]]}} | ||
+ | {{!}}- | ||
+ | }} | ||
{{#if:{{{Jobs|}}}| | {{#if:{{{Jobs|}}}| | ||
{{!}}style="height: 1ex;"{{!}}{{color|white|style=normal|Job(s)}} | {{!}}style="height: 1ex;"{{!}}{{color|white|style=normal|Job(s)}} | ||
Line 86: | Line 43: | ||
{{!}}- | {{!}}- | ||
}} | }} | ||
− | {{!}}style="height: 1ex;"{{!}}{{color|white|style=normal|HP Range}} | + | {{!}}style="height: 1ex;"{{!}}{{#if:{{{Low HP|}}}|{{color|white|style=normal|HP {{#if:{{{High HP|}}}|Range}}}} |
− | {{!}}{{color|white|style=normal|{{{Low HP|}}}{{#if:{{{High HP|}}}|-}}{{{High HP|}}}}} | + | {{!}}{{color|white|style=normal|{{formatnum:{{{Low HP|}}}}}{{#if:{{{High HP|}}}|-}}{{formatnum:{{{High HP|}}}}}}}}} |
{{!}}- | {{!}}- | ||
− | {{!}}style="height: 1ex;"{{!}}{{color|white|style=normal|MP Range}} | + | {{!}}style="height: 1ex;"{{!}}{{#if:{{{Low MP|}}}|{{color|white|style=normal|MP {{#if:{{{High MP|}}}|Range}}}} |
− | {{!}}{{color|white|style=normal|{{{Low MP|}}}{{#if:{{{High MP|}}}|-}}{{{High MP|}}}}} | + | {{!}}{{color|white|style=normal|{{formatnum:{{{Low MP|}}}}}{{#if:{{{High MP|}}}|-}}{{formatnum:{{{High MP|}}}}}}}}} |
{{!}}} | {{!}}} | ||
− | |height="12px" width="30%" rowspan="3" valign="top" colspan="1" class="mobimage{{#if:{{{Move Image Up|}}}|up{{{Move Image Up|0}}}}}{{#if:{{{Move Image Left|}}}|left{{{Move Image Left|0}}}}}"|[[File:{{{Image}}}{{ | + | |height="12px" width="30%" rowspan="3" valign="top" colspan="1" class="mobimage{{#if:{{{Move Image Up|}}}|up{{{Move Image Up|0}}}}}{{#if:{{{Move Image Left|}}}|left{{{Move Image Left|0}}}}}"|[[File:{{#if:{{{Image|}}}|{{{Image}}}|{{{Name}}}.png}}{{!}}{{{Image Width|300}}}px]] |
|- | |- | ||
|height="12px" valign="top" colspan="2"|<div style="height: 1ex;"></div><div style="padding: 0px; width:95%; background-color:#EBECF0; border:1px solid #969696;" ></div> | |height="12px" valign="top" colspan="2"|<div style="height: 1ex;"></div><div style="padding: 0px; width:95%; background-color:#EBECF0; border:1px solid #969696;" ></div> | ||
Line 106: | Line 63: | ||
| allowcachedresults=true | | allowcachedresults=true | ||
| dplcache=mobgenus | | dplcache=mobgenus | ||
− | }} | + | }}}}}} |
− | }} | ||
− | }} | ||
|- | |- | ||
{{XIVboxFooter}} | {{XIVboxFooter}} | ||
{{Refreshlink}} | {{Refreshlink}} | ||
{| style="padding:0em 0em 0em 0em; border:none; width:100%; float:left;" | {| style="padding:0em 0em 0em 0em; border:none; width:100%; float:left;" | ||
− | ! align="left" {{!}}<div style="font-size:11px;">Locations</div> | + | ! align="left" {{!}}<div id="Locations" style="font-size:11px;">Locations</div> |
|- | |- | ||
− | + | {{{!}} class="datatable-GEtable sortable" border="0" width="100%" cellpadding="0" cellspacing="2" | |
− | {{{!}} class="datatable-GEtable sortable" border="0" width="100%" cellpadding="0" cellspacing="2" | + | ! width="40%" align="center" class="sortable"{{!}} Zone !! width="10%" class="sortable"{{!}} Level !! width="40%" class="unsortable"{{!}} Drops !! width="10%" class="unsortable"{{!}} Notes |
− | ! width="40%" align="center" class="sortable"{{!}} Zone !! width="10%" class="sortable"{{!}} Level !! width="40%" class="unsortable"{{!}} Drops !! width="10%" class="unsortable"{{!}} Notes | ||
{{{Locations|}}} | {{{Locations|}}} | ||
{{!}}} | {{!}}} | ||
|} | |} | ||
− | {{{!}} cellpadding="0" width="100%" cellspacing="0" border="0" | + | {{{!}} cellpadding="0" width="100%" cellspacing="0" border="0" |
{{!}}- | {{!}}- | ||
{{!}} | {{!}} | ||
− | {{CList2|Title=<span id=" | + | {{CList2|Title=<span id="Hunting Log">Hunting Log</span>|CountCat=Hunting Log: {{fixtick|{{SUBPAGENAME}}}} |
|dpl={{#dpl: | |dpl={{#dpl: | ||
| category=Hunting Log: {{fixtick|{{SUBPAGENAME}}}} | | category=Hunting Log: {{fixtick|{{SUBPAGENAME}}}} | ||
Line 161: | Line 115: | ||
| category={{fixtick|{{SUBPAGENAME}}}} Involved in Trial | | category={{fixtick|{{SUBPAGENAME}}}} Involved in Trial | ||
| includesubpages=false | | includesubpages=false | ||
− | | includepage ={ARR Infobox | + | | includepage ={ARR Infobox Duty} zone dpl |
| table =class="datatable-GEtable sortable" style="width: 100%;",-,Name,Minimum Level | | table =class="datatable-GEtable sortable" style="width: 100%;",-,Name,Minimum Level | ||
| columns=1 | | columns=1 | ||
Line 167: | Line 121: | ||
| tablerow =%% | | tablerow =%% | ||
| allowcachedresults=true | | allowcachedresults=true | ||
− | | dplcache= | + | | dplcache=trials1a |
+ | }}}}{{CList2|Title=<span id="The Hunt">The Hunt</span>|CountCat={{fixtick|{{SUBPAGENAME}}}} Involved in Hunt | ||
+ | |dpl={{#dpl: | ||
+ | | category={{fixtick|{{SUBPAGENAME}}}} Involved in Hunt | ||
+ | | includesubpages=false | ||
+ | | includepage ={ARR Infobox Hunt}:Name | ||
+ | | table =class="GEtable sortable" style="width: 100%;",-,Hunt | ||
+ | | columns=1 | ||
+ | | suppresserrors=true | ||
+ | | tablerow =[[Hunt: %%]] | ||
+ | | allowcachedresults=true | ||
+ | | dplcache=hunting1 | ||
}}}}{{CList2|Title=<span id="Levequests">Levequests</span>|CountCat=Levequest Involving {{fixtick|{{SUBPAGENAME}}}} | }}}}{{CList2|Title=<span id="Levequests">Levequests</span>|CountCat=Levequest Involving {{fixtick|{{SUBPAGENAME}}}} | ||
|dpl={{#dpl: | |dpl={{#dpl: | ||
Line 173: | Line 138: | ||
| includesubpages=false | | includesubpages=false | ||
| includepage = {ARR Infobox Levequest}:Level | | includepage = {ARR Infobox Levequest}:Level | ||
− | | namespace = | + | | namespace = |
| format =,,\n | | format =,,\n | ||
| table =class="GEtable sortable" style="width: 100%;",Levequest,Level | | table =class="GEtable sortable" style="width: 100%;",Levequest,Level | ||
Line 180: | Line 145: | ||
| allowcachedresults=true | | allowcachedresults=true | ||
| dplcache=levequests1 | | dplcache=levequests1 | ||
− | }}}} | + | }}}}{{CList2|Title=<span id="Animus">Animus Book</span>|CountCat={{fixtick|{{SUBPAGENAME}}}} Needed for Animus Weapon |
− | {{# | + | |dpl={{#dpl: |
− | { | + | | category= {{fixtick|{{SUBPAGENAME}}}} Needed for Animus Weapon |
− | + | | includesubpages=false | |
− | + | | includepage = {ARR Infobox Key Item}:Name | |
− | + | | namespace = | |
− | {{ | + | | format =,,\n |
− | }} | + | | table =class="GEtable sortable" style="width: 100%;",-,Book |
− | {{ | + | | tablerow =[[%%]] |
− | {{ | + | | suppresserrors=true |
− | + | | allowcachedresults=true | |
− | + | | dplcache=animus1 | |
− | {{ | + | }}}}{{CList2|Title=Etymology|dpl={{{Etymology|}}}}}{{CList2|Title=Notes|dpl={{{Notes|}}}}} |
+ | {{CList2|Title=Gallery [[File:Image add.png|16px|link=https://ffxiv.gamerescape.com/w/index.php?title=Special:Upload&wpDestFile={{#replace:{{#replace:{{#replace:{{anchorencode:{{PAGENAME}}}}|.27|'}}|.28|(}}|.29|)}}--{{CURRENTTIMESTAMP}}.png|Add Image]]|dpl= | ||
{{#tag:gallery| | {{#tag:gallery| | ||
{{#arraydefine:Images|{{{Images}}}}}{{#arraysort:Images|asc}}{{#arrayslice:Image1|Images|0|1}}{{#arrayslice:Image2|Images|1|1}}{{#arrayslice:Image3|Images|2|1}}{{#arrayslice:Image4|Images|3|1}}{{#arrayslice:Image5|Images|4|1}}{{#arrayslice:Image6|Images|5|1}}{{#arrayslice:Image7|Images|6|1}}{{#arrayslice:Image8|Images|7|1}}{{#arrayslice:Image9|Images|8|1}}{{#arrayslice:Image10|Images|9|1}} | {{#arraydefine:Images|{{{Images}}}}}{{#arraysort:Images|asc}}{{#arrayslice:Image1|Images|0|1}}{{#arrayslice:Image2|Images|1|1}}{{#arrayslice:Image3|Images|2|1}}{{#arrayslice:Image4|Images|3|1}}{{#arrayslice:Image5|Images|4|1}}{{#arrayslice:Image6|Images|5|1}}{{#arrayslice:Image7|Images|6|1}}{{#arrayslice:Image8|Images|7|1}}{{#arrayslice:Image9|Images|8|1}}{{#arrayslice:Image10|Images|9|1}} | ||
Line 205: | Line 171: | ||
{{#arrayprint:Image9||@@@@|File:@@@@}} | {{#arrayprint:Image9||@@@@|File:@@@@}} | ||
{{#arrayprint:Image10||@@@@|File:@@@@}} | {{#arrayprint:Image10||@@@@|File:@@@@}} | ||
+ | {{#dpl: | ||
+ | | dplcache=gallery1 | ||
+ | | allowcachedresults=true | ||
+ | | escapelinks= false | ||
+ | | namespace = File | ||
+ | | titlematch={{Fixtick|{{PAGENAME}}}}--% | ||
+ | | mode=userformat | ||
+ | | listseparators=,%PAGE%{{!}}{{ImageInfo{{!}}%TITLE%}}\n,, | ||
}} | }} | ||
− | + | |widths="110px" | |
− | + | }}}} | |
− | + | {{#if:{{{Patch|}}}||[[Category:Unknown Patch]]}}[[Category:Bestiary]][[Category:Species:{{#var:species}}]][[Category:Genus:{{#var:genus}}]][[Category:Class:{{#var:class}}]][[Category:Kingdom:{{#var:kingdom}}]]{{#if:{{{NM|}}}|[[category:NM]]}}{{#if:{{{Boss|}}}|[[category:Boss]]}}{{#if:{{{Miniboss|}}}|[[category:Miniboss]]}}</includeonly><noinclude>[[Category:Templates|{{PAGENAME}}]]</noinclude>__NOEDITSECTION__ __NOTOC__ | |
− | {{#if: {{{Patch|}}}||[[Category:Unknown Patch]]}}[[ | + | <br><references/> |
− | <references/> |
Revision as of 15:53, 20 January 2019
{{ARR Infobox Mob | Patch = 6.0 | Image = {{subst:PAGENAME}}.png | Move Image Up = | Move Image Left = | Image Width = <!-- Used to override default 300px width. Leave blank if not needed --> | Name = {{subst:PAGENAME}} | Description = <!-- Overall Statistics - LEAVE BLANK if UNKNOWN or not applicable --> | Low Level = <!-- minimum level the mob appears as --> | High Level = <!-- only fill out if there are multiple levels this mob can appear as. Otherwise just use Low Level and leave this field blank --> | Low HP = | High HP = | Low MP = | High MP = | Jobs = | Gender = | NM = <!-- X/Yes if mob is a Notorious Monster --> | Miniboss = <!-- X/Yes if mob is a Mini-boss --> | Boss = <!-- X/Yes if mob is a Boss --> <!-- Only define one of Genus and Species. Must fill out Genus if no Species is known --> | Genus = <!-- Family, such as dodo or spriggan --> | Species = <!-- Divisions of a genus that look slightly different—coblyns (blue) v. doblyns (yellow) --> <!-- Location Specifics - Add new {{ARR Mob Row}} for each additional location. If there are multiple spots in the same location, list the coordinates in the same ARR Mob Row. --> | Locations = <!-- DO NOT PLACE ANYTHING ON THIS LINE. USE 'Location' inside ARR Mob Row. --> {{ARR Mob Row | Location = <!-- Name of Location where mob is ie: Larkscall, The Honey Yard, etc --> | Coordinates = <!-- i.e. 15.1-26.2, etc. Do not fill in this field unless it has a maximum of 3 locations --> | Event = <!-- If mob is part of a Holiday Event, put full name of Event here --> | Elite = <!-- X/Yes if mob is Elite (spiky blue or red icon) --> | Levels = <!-- Level range of mob as it appears at Location --> | Drops = {{Drops|Name=<!--Name-->|<!--Total Kills where Name dropped-->|<!--Total Kills-->}} | Behaviors = <!-- A or P. A is for Aggressive (Red Icon) and P is Passive (Blue Icon) --> <!-- If mob is not normally at Location use the following, depending on what makes mob spawn:--> | Quest = <!-- Do not fill out if it is a quest that has the player hunt mobs which are always on the field --> | Dungeon = | Trial = | Raid = | Levequest = | Guildhest = | FATE = | Deep Dungeon = | Carnivale = <!-- Name of the Blue Mage Carnivale that this mob is found in --> | Treasure Hunt = <!-- For example: during Dragonskin Treasure Map --> | Treasure Dungeon = <!-- For example: during Aquapolis --> | Field Operation = <!-- For example: during Eureka or Bozja --> | VC Dungeon = <!-- For example: during Variant or Criterion Dungeons --> }} | Images = | Etymology = | Notes = <!-- "Drops" EXPLANATION: 'Name' is the Item that drops (Gil, in this example.) 'Count' is the number of the item that can drop at a SINGLE TIME. In this case, 'Count=1-4' means that 1, 2, 3, or 4 gil will drop. The '5' number is the total number of kills that resulted in a drop of Gil. The '15' part is the number of total times you've killed the mob. Ie: You killed the mob 15 times, but they only dropped Gil 5 of those times. Make sure to update both those last numbers to keep accuracy! The Drop Rate % is automatically calculated from those two. There is also a "|qi" that can be added if the drop is a QUEST ITEM ONLY, but it is left out from the above example due to being very rare. --> }}