Difference between revisions of "Template:ARR Infobox Mob Family"
(80 intermediate revisions by 5 users not shown) | |||
Line 1: | Line 1: | ||
<noinclude><pre> | <noinclude><pre> | ||
{{ARR Infobox Mob Family | {{ARR Infobox Mob Family | ||
− | | Name = | + | | Name = |
| Description = | | Description = | ||
| Taxonomy Level = <!-- one of: Species, Genus, Class, Kingdom --> | | Taxonomy Level = <!-- one of: Species, Genus, Class, Kingdom --> | ||
+ | <!-- Important! Only fill in one of Kingdom, Class, Genus --> | ||
+ | <!-- Fill in which ever one is directly above the taxa this page is for --> | ||
| Kingdom = | | Kingdom = | ||
| Class = | | Class = | ||
| Genus = | | Genus = | ||
− | |||
| Etymology = | | Etymology = | ||
| Raimdelle Codex = | | Raimdelle Codex = | ||
| Notes = | | Notes = | ||
}} | }} | ||
− | </pre></noinclude> | + | </pre></noinclude><includeonly>{{#switch:{{lc:{{{Taxonomy Level|}}}}}|kingdom={{#vardefine:kingdom|{{{Name|}}}}}[[Category:Kingdom]]|class={{#vardefine:class|{{{Name|}}}}}{{#vardefine:kingdom|{{{Kingdom|}}}}}[[Category:Class]][[Category:Kingdom:{{{Kingdom|}}}]]|genus={{#vardefine:genus|{{{Name|}}}}}{{#vardefine:class|{{{Class|}}}}}{{#vardefine:kingdom|{{Class2Kingdom|{{#var:class}}}}}}[[Category:Genus]][[Category:Class:{{{Class|unknown class}}}]][[Category:Kingdom:{{#var:kingdom}}]]|species={{#vardefine:species|{{{Name|}}}}}{{#vardefine:genus|{{{Genus|}}}}}{{#vardefine:class|{{Genus2Class|{{#var:genus}}}}}}{{#vardefine:kingdom|{{Class2Kingdom|{{#var:class}}}}}}[[Category:Species]][[Category:Genus:{{#var:genus}}]][[Category:Class:{{#var:class}}]][[Category:Kingdom:{{#var:kingdom}}]] |
− | {{#switch:{{lc:{{{Taxonomy Level|}}}}} | + | |}} |
− | |kingdom= | + | {{XIVboxHeader|Title={{{Name|}}}|Type=[[:Category:Bestiary|{{{Taxonomy Level}}}]]|Icon={{#if:{{{Icon|}}}|{{{Icon}}}|{{#ifeq:{{{No Icon|}}}|X|Question_mark_stub.png|{{#ifexist:File:{{{Name}}} Icon.png|{{{Name}}} Icon.png|{{#ifexist:File:{{{Genus}}} Icon.png|{{{Genus}}} Icon.png|Beastiary Icon2.png}}}}}}}}}} |
− | |class= | + | |- |
− | | | + | |height="12px" width="33%" valign="top" colspan="1"| |
− | | | ||
− | |||
− | {{ | ||
− | {{{ | ||
− | |||
− | |||
− | {{ | ||
− | {{ | ||
− | {{ | ||
− | {{ | ||
− | {{ | ||
− | {{ | ||
{{{!}} cellpadding="0" width="100%" cellspacing="0" border="0" | {{{!}} cellpadding="0" width="100%" cellspacing="0" border="0" | ||
{{!}}- | {{!}}- | ||
− | {{!}}align=" | + | {{!}}align="left" {{!}}[[:Category:Bestiary|Higher Taxonomy Ranks]] |
{{!}}- | {{!}}- | ||
− | {{!}}{{!}}{{#if:{{ | + | {{!}}{{!}}{{#if:{{#var:kingdom}}|[[:category:Kingdom:{{#var:kingdom}}|{{#var:kingdom}}]]}} |
{{!}}- | {{!}}- | ||
− | {{!}}style="padding:0em 0em 0em 2em;"{{!}}{{#if:{{ | + | {{!}}style="padding:0em 0em 0em 2em;"{{!}}{{#if:{{#var:class}}|{{color|white|➥}}}}{{#if:{{#var:class}}|[[:category:Class:{{#var:class}}|{{#var:class}}]]}} |
{{!}}- | {{!}}- | ||
− | {{!}}style="padding:0em 0em 0em 5em;"{{!}}{{#if:{{ | + | {{!}}style="padding:0em 0em 0em 5em;"{{!}}{{#if:{{#var:genus}}|{{color|white|➥}}}}{{#if:{{#var:genus}}|[[:category:Genus:{{#var:genus}}|{{#var:genus}}]]}} |
{{!}}- | {{!}}- | ||
− | {{!}}style="padding:0em 0em 0em 8em;"{{!}}{{#if:{{ | + | {{!}}style="padding:0em 0em 0em 8em;"{{!}}{{#if:{{#var:species}}|{{color|white|➥}}}}{{#if:{{#var:species}}|[[:category:Species:{{#var:species}}|{{#var:species}}]]}} |
{{!}}- | {{!}}- | ||
{{!}}} | {{!}}} | ||
− | + | |height="12px" width="33%" valign="top" colspan="1"|[[:Category:Bestiary|Lower Taxonomy Ranks]] | |
− | {{{ | + | {{color|white|➥}} |
− | {{ | + | {{#ifexpr: {{PAGESINCAT:{{Fixtick|{{SUBPAGENAME}}}} has Unique Species|R}} >0 | [[:Category:Species:Unique|Unique]]|}}{{#dpl: |
− | {{ | + | | category={{SUBPAGENAME}} |
− | {{!}} | + | | category={{#switch:{{lc:{{{Taxonomy Level|}}}}}|kingdom=Class|class=Genus|#default=Species}} |
− | + | | notcategory=Outdated 1.x Articles | |
+ | | namespace=14 | ||
+ | | distinct=strict | ||
+ | | suppresserrors=true | ||
+ | | allowcachedresults=true | ||
+ | | includepage ={ARR Infobox Mob Family}:Name | ||
+ | | mode=inline | ||
+ | | format = , | ||
+ | | suppresserrors=true | ||
+ | | tablerow =[[:Category:{{#switch:{{lc:{{{Taxonomy Level|}}}}}|kingdom=Class|class=Genus|#default=Species}}:%%{{!}}%%]]<br> | ||
+ | }} | ||
+ | |height="12px" width="34%" valign="top" colspan="1"|Common Drops | ||
{{#arraydefine:familydrops|{{#dpl: | {{#arraydefine:familydrops|{{#dpl: | ||
| category={{PAGENAME}} | | category={{PAGENAME}} | ||
Line 57: | Line 57: | ||
| mode=inline | | mode=inline | ||
| format = , | | format = , | ||
− | | tablerow = %% ! , }}|!}}{{#arrayunique:familydrops}}{{#arraydefine:familydropscount|{{#arrayprint:familydrops|,|@@@@|<span style="color:white;">({{nts|{{#dpl:| category={{fixtick|@@@@}} Dropped by Mob| category=Bestiary| includematch = /\{{!}}\s*Name\s*=\s*{{fixtick|@@@@}}[\}\{{!}}]/| format = ,,| namespace = | suppresserrors=true| resultsfooter= %PAGES%}}}})</span> [[File:@@@@_Icon.png|18px|link=@@@@]] | + | | tablerow = %% ! , }}|!}}{{#arrayunique:familydrops}}{{#arraydefine:familydropscount|{{#arrayprint:familydrops|,|@@@@|<span style="color:white;">({{nts|{{#dpl:| category={{fixtick|@@@@}} Dropped by Mob| category=Bestiary| includematch = /\{{!}}\s*Name\s*=\s*{{fixtick|@@@@}}[\}\{{!}}]/| format = ,,| namespace = | suppresserrors=true| resultsfooter= %PAGES%}}}})</span> [[File:@@@@_Icon.png|18px|link=@@@@]] [[@@@@]]}}}}{{#arraysort:familydropscount|desc}}{{#arrayslice:familydropscounttop|familydropscount|0|5}}{{#arrayprint:familydropscounttop|<br>}} |
− | + | |- | |
− | + | |height="12px" width="100%" valign="top" colspan="3"|{{#if:{{{Description|}}}|{{{Description}}}|{{#dpl: | |
− | + | | title= Category:{{#var:class|x}} | |
− | |||
− | |||
− | {{#dpl: | ||
− | | title= Category:{{ | ||
| namespace = | | namespace = | ||
− | | includepage ={Infobox Mob Family}:Description | + | | includepage ={ARR Infobox Mob Family}:Description |
| mode=inline | | mode=inline | ||
| format = ,<div style="color:white;text-align:left;">,</div> | | format = ,<div style="color:white;text-align:left;">,</div> | ||
Line 74: | Line 70: | ||
}} | }} | ||
}} | }} | ||
− | {{ | + | {{XIVboxFooter}}{{Refreshlink}} |
− | {{ | + | {{#ifeq:{{{Taxonomy Level}}}|Kingdom||{{#ifeq:{{{Taxonomy Level}}}|Class||{{CList|Title=Monsters|dpl={{#dpl: |
− | {{ | + | | category={{{1|{{PAGENAME}}}}} |
− | {{ | + | | dplcache=mobfamilyslisting-{{{1|{{PAGENAME}}}}}-13ac |
− | + | | namespace = | |
− | {{ | + | | notcategory=Outdated 1.x Articles |
− | { | + | | includepage = {ARR Mob Row} dpl3 |
− | + | | format =,,\n | |
− | + | | tablesortcol= 1 | |
− | {{ | + | | table =class="GEtable sortable" style="width: 100%;",Name,Levels,Zone,class="unsortable"{{!}}Info |
− | {{ | + | | suppresserrors=true |
− | {{ | + | | allowcachedresults=true |
− | {{#ifeq:{{{Taxonomy Level|}}}|Genus|{{CList|Title=Actions|dpl={{#dpl: | + | }}}}}}}}{{CList|Title=Etymology|dpl={{{Etymology|}}}}}{{CList|Title=Raimdelle Codex|dpl={{{Raimdelle Codex|}}}}}{{#ifeq:{{{Taxonomy Level|}}}|Genus|{{CList|Title=Actions|dpl={{#dpl: |
| category={{{1|{{PAGENAME}}}}} Actions | | category={{{1|{{PAGENAME}}}}} Actions | ||
| dplcache=mobfamilysactions-{{{1|{{PAGENAME}}}}}-1e | | dplcache=mobfamilysactions-{{{1|{{PAGENAME}}}}}-1e | ||
Line 97: | Line 93: | ||
| suppresserrors=true | | suppresserrors=true | ||
| allowcachedresults=true | | allowcachedresults=true | ||
− | }}}}}} | + | }}}}}}{{CList|Title=Notes|dpl={{{Notes|}}}}} |
− | {{CList|Title= | + | <br style="clear:left;"/><references/>[[Category:Bestiary]]</includeonly><noinclude>[[Category:Templates|{{PAGENAME}}]]</noinclude>__NOEDITSECTION__ __NOTOC__ |
− | |dpl={{ | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− |
Revision as of 16:00, 17 December 2021
{{ARR Infobox Mob Family | Name = | Description = | Taxonomy Level = <!-- one of: Species, Genus, Class, Kingdom --> <!-- Important! Only fill in one of Kingdom, Class, Genus --> <!-- Fill in which ever one is directly above the taxa this page is for --> | Kingdom = | Class = | Genus = | Etymology = | Raimdelle Codex = | Notes = }}