Difference between revisions of "Template:ARR Infobox Mob Family"

(54 intermediate revisions by 5 users not shown)
Line 1: Line 1:
 
<noinclude><pre>
 
<noinclude><pre>
 
{{ARR Infobox Mob Family
 
{{ARR Infobox Mob Family
| Name = {{subst:SUBPAGENAME}}
+
| Name =  
 
| Description =  
 
| Description =  
 
| Taxonomy Level = <!-- one of: Species, Genus, Class, Kingdom -->
 
| Taxonomy Level = <!-- one of: Species, Genus, Class, Kingdom -->
Line 15: Line 15:
 
</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}}]]
 
</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}}]]
 
|}}
 
|}}
{{XIVboxHeader|Title={{{Name|}}}|Type={{dl|:Category:Bestiary|{{{Taxonomy Level}}}}}|Icon={{{Name|}}}_Icon.png}}
+
{{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}}}}}}}}}}
 
|-
 
|-
 
|height="12px" width="33%" valign="top" colspan="1"|
 
|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="center" {{!}}{{dl|:Category:Bestiary|Higher Taxonomy Ranks}}
+
{{!}}align="left" {{!}}[[:Category:Bestiary|Higher Taxonomy Ranks]]
 
{{!}}-
 
{{!}}-
{{!}}{{!}}{{#if:{{#var:kingdom}}|{{dl|:category:{{#var:kingdom}}|{{#var:kingdom}}}}}}
+
{{!}}{{!}}{{#if:{{#var:kingdom}}|[[:category:Kingdom:{{#var:kingdom}}|{{#var:kingdom}}]]}}
 
{{!}}-
 
{{!}}-
{{!}}style="padding:0em 0em 0em 2em;"{{!}}{{#if:{{#var:class}}|{{color|white|&#10149;}}}}{{#if:{{#var:class}}|{{dl|:category:{{#var:class}}|{{#var:class}}}}}}
+
{{!}}style="padding:0em 0em 0em 2em;"{{!}}{{#if:{{#var:class}}|{{color|white|&#10149;}}}}{{#if:{{#var:class}}|[[:category:Class:{{#var:class}}|{{#var:class}}]]}}
 
{{!}}-
 
{{!}}-
{{!}}style="padding:0em 0em 0em 5em;"{{!}}{{#if:{{#var:genus}}|{{color|white|&#10149;}}}}{{#if:{{#var:genus}}|{{dl|:category:{{#var:genus}}|{{#var:genus}}}}}}
+
{{!}}style="padding:0em 0em 0em 5em;"{{!}}{{#if:{{#var:genus}}|{{color|white|&#10149;}}}}{{#if:{{#var:genus}}|[[:category:Genus:{{#var:genus}}|{{#var:genus}}]]}}
 
{{!}}-
 
{{!}}-
{{!}}style="padding:0em 0em 0em 8em;"{{!}}{{#if:{{#var:species}}|{{color|white|&#10149;}}}}{{#if:{{#var:species}}|{{dl|:category:{{#var:species}}|{{#var:species}}}}}}
+
{{!}}style="padding:0em 0em 0em 8em;"{{!}}{{#if:{{#var:species}}|{{color|white|&#10149;}}}}{{#if:{{#var:species}}|[[:category:Species:{{#var:species}}|{{#var:species}}]]}}
 
{{!}}-
 
{{!}}-
 
{{!}}}
 
{{!}}}
|height="12px" width="33%" valign="top" colspan="1"|{{dl|:Category:Bestiary|Lower Taxonomy Ranks}}
+
|height="12px" width="33%" valign="top" colspan="1"|[[:Category:Bestiary|Lower Taxonomy Ranks]]
 
{{color|white|&#10149;}}
 
{{color|white|&#10149;}}
{{#dpl:
+
{{#ifexpr: {{PAGESINCAT:{{Fixtick|{{SUBPAGENAME}}}} has Unique Species|R}} >0 | [[:Category:Species:Unique|Unique]]|}}{{#dpl:
|  category=Genus:{{SUBPAGENAME}}
+
|  category={{SUBPAGENAME}}
|  category=Species
+
|  category={{#switch:{{lc:{{{Taxonomy Level|}}}}}|kingdom=Class|class=Genus|#default=Species}}
 
|  notcategory=Outdated 1.x Articles
 
|  notcategory=Outdated 1.x Articles
 +
|  namespace=14
 +
|  distinct=strict
 
|  suppresserrors=true
 
|  suppresserrors=true
 
|  allowcachedresults=true
 
|  allowcachedresults=true
Line 43: Line 45:
 
| format  = ,
 
| format  = ,
 
| suppresserrors=true
 
| suppresserrors=true
| tablerow ={{dl{{!}}:Category:%%{{!}}%%}}<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
+
| tablerow =[[:Category:{{#switch:{{lc:{{{Taxonomy Level|}}}}}|kingdom=Class|class=Genus|#default=Species}}:%%{{!}}%%]]<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
 
}}
 
}}
|height="12px" width="34%" valign="top" colspan="1"|<span style="text-align:top;">Common Drops</span>
+
|height="12px" width="34%" valign="top" colspan="1"|Common Drops
{{RightBox|
 
 
{{#arraydefine:familydrops|{{#dpl:  
 
{{#arraydefine:familydrops|{{#dpl:  
 
| category={{PAGENAME}}
 
| category={{PAGENAME}}
Line 56: Line 57:
 
| mode=inline
 
| mode=inline
 
| format  = ,
 
| format  = ,
| tablerow = %% ! ,&nbsp;}}|!}}{{#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=@@@@]] {{dl|@@@@}}}}}}{{#arraysort:familydropscount|desc}}{{#arrayslice:familydropscounttop|familydropscount|0|5}}{{#arrayprint:familydropscounttop|<br>}}
+
| tablerow = %% ! ,&nbsp;}}|!}}{{#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>&nbsp;[[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}}}|
+
|height="12px" width="100%" valign="top" colspan="3"|{{#if:{{{Description|}}}|{{{Description}}}|{{#dpl:
{{#dpl:
 
 
|  title= Category:{{#var:class|x}}
 
|  title= Category:{{#var:class|x}}
 
|  namespace    =  
 
|  namespace    =  
Line 71: Line 70:
 
}}
 
}}
 
}}
 
}}
{{XIVboxFooter}}
+
{{XIVboxFooter}}{{Refreshlink}}
{{Refreshlink}}
+
{{#ifeq:{{{Taxonomy Level}}}|Kingdom||{{#ifeq:{{{Taxonomy Level}}}|Class||{{CList|Title=Monsters|dpl={{#dpl:  
{{#ifeq:{{{Taxonomy Level|}}}|Genus|{{CList|Title=Actions|dpl={{#dpl:  
 
|  category={{{1|{{PAGENAME}}}}} Actions
 
|  dplcache=mobfamilysactions-{{{1|{{PAGENAME}}}}}-1e
 
|  notcategory=Outdated 1.x Articles
 
|  includepage = {ARR Infobox Mob Action}:Name:Description
 
|  format      =,,\n
 
|  tablesortcol= 1
 
|  table      =class="GEtable sortable" style="width: 100%;",-,Name,class="unsortable"{{!}}Description
 
| tablerow = [[%%]],%%
 
| suppresserrors=true
 
| allowcachedresults=true
 
}}}}}}
 
{{CList|Title=Monsters
 
|dpl={{#dpl:  
 
 
|  category={{{1|{{PAGENAME}}}}}
 
|  category={{{1|{{PAGENAME}}}}}
|  dplcache=mobfamilyslisting-{{{1|{{PAGENAME}}}}}-1e
+
|  dplcache=mobfamilyslisting-{{{1|{{PAGENAME}}}}}-13ac
 
|  namespace    =  
 
|  namespace    =  
 
|  notcategory=Outdated 1.x Articles
 
|  notcategory=Outdated 1.x Articles
|  includepage = {Mob Row} dpl3
+
|  includepage = {ARR Mob Row} dpl3
 
|  format      =,,\n
 
|  format      =,,\n
 
|  tablesortcol= 1
 
|  tablesortcol= 1
Line 97: Line 82:
 
|  suppresserrors=true
 
|  suppresserrors=true
 
|  allowcachedresults=true
 
|  allowcachedresults=true
}}}}
+
}}}}}}}}{{CList|Title=Etymology|dpl={{{Etymology|}}}}}{{CList|Title=Raimdelle Codex|dpl={{{Raimdelle Codex|}}}}}{{#ifeq:{{{Taxonomy Level|}}}|Genus|{{CList|Title=Actions|dpl={{#dpl:  
{{CList|Title=Etymology|dpl={{{Etymology|}}}}}
+
|  category={{{1|{{PAGENAME}}}}} Actions
{{CList|Title=Raimdelle Codex|dpl={{{Raimdelle Codex|}}}}}
+
dplcache=mobfamilysactions-{{{1|{{PAGENAME}}}}}-1e
{{CList|Title=Screen Shots
 
|dpl= {{#tag:gallery|
 
{{#dpl:
 
category={{{1|{{PAGENAME}}}}}
 
 
|  notcategory=Outdated 1.x Articles
 
|  notcategory=Outdated 1.x Articles
dplcache=mobfamilysimages-{{{1|{{PAGENAME}}}}}-4
+
|  includepage = {ARR Infobox Mob Action}:Name:Description
| includepage ={ARR Infobox Mob}:Image:Images
+
| format     =,,\n
| format =,,\n\n
+
| tablesortcol= 1
| secseparators    = File:
+
|  table      =class="GEtable sortable" style="width: 100%;",-,Name,class="unsortable"{{!}}Description
 +
| tablerow = [[%%]],%%
 
|  suppresserrors=true
 
|  suppresserrors=true
 
|  allowcachedresults=true
 
|  allowcachedresults=true
}}}}}}
+
}}}}}}{{CList|Title=Notes|dpl={{{Notes|}}}}}
{{CList|Title={{{Taxonomy Level|}}} {{SUBPAGENAME}}
+
<br style="clear:left;"/><references/>[[Category:Bestiary]]</includeonly><noinclude>[[Category:Templates|{{PAGENAME}}]]</noinclude>__NOEDITSECTION__ __NOTOC__
|dpl={{#dpl:
 
|  category={{{Taxonomy Level|}}}:{{SUBPAGENAME}}
 
|  category=Species{{!}}Genus{{!}}Class{{!}}Kingdom
 
|  notcategory=Outdated 1.x Articles
 
|  suppresserrors=true
 
|  allowcachedresults=true
 
|  includepage ={ARR Infobox Mob Family}:Name
 
| format  =,,\n\n
 
}}}}
 
{{CList|Title=Notes|dpl={{{Notes|}}}}}
 
</includeonly><noinclude>[[Category:Template|{{PAGENAME}}]]</noinclude>__NOEDITSECTION__ __NOTOC__
 

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 = 
}}