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 = | + | | 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= | + | {{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=" | + | {{!}}align="left" {{!}}[[:Category:Bestiary|Higher Taxonomy Ranks]] |
{{!}}- | {{!}}- | ||
− | {{!}}{{!}}{{#if:{{#var:kingdom}}| | + | {{!}}{{!}}{{#if:{{#var:kingdom}}|[[:category:Kingdom:{{#var:kingdom}}|{{#var:kingdom}}]]}} |
{{!}}- | {{!}}- | ||
− | {{!}}style="padding:0em 0em 0em 2em;"{{!}}{{#if:{{#var:class}}|{{color|white|➥}}}}{{#if:{{#var:class}}| | + | {{!}}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:{{#var:genus}}|{{color|white|➥}}}}{{#if:{{#var:genus}}| | + | {{!}}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:{{#var:species}}|{{color|white|➥}}}}{{#if:{{#var:species}}| | + | {{!}}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"| | + | |height="12px" width="33%" valign="top" colspan="1"|[[:Category:Bestiary|Lower Taxonomy Ranks]] |
{{color|white|➥}} | {{color|white|➥}} | ||
− | {{#dpl: | + | {{#ifexpr: {{PAGESINCAT:{{Fixtick|{{SUBPAGENAME}}}} has Unique Species|R}} >0 | [[:Category:Species:Unique|Unique]]|}}{{#dpl: |
− | | category= | + | | 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 ={{ | + | | tablerow =[[:Category:{{#switch:{{lc:{{{Taxonomy Level|}}}}}|kingdom=Class|class=Genus|#default=Species}}:%%{{!}}%%]]<br> |
}} | }} | ||
− | |height="12px" width="34%" valign="top" colspan="1"| | + | |height="12px" width="34%" valign="top" colspan="1"|Common Drops |
− | |||
{{#arraydefine:familydrops|{{#dpl: | {{#arraydefine:familydrops|{{#dpl: | ||
| category={{PAGENAME}} | | category={{PAGENAME}} | ||
Line 56: | 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}}}| | + | |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 | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | | | ||
− | | | ||
− | | | ||
− | |||
− | {{CList|Title=Monsters | ||
− | |dpl={{#dpl: | ||
| category={{{1|{{PAGENAME}}}}} | | category={{{1|{{PAGENAME}}}}} | ||
− | | dplcache=mobfamilyslisting-{{{1|{{PAGENAME}}}}}- | + | | 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= | ||
− | |dpl= {{# | ||
− | {{ | ||
− | | | ||
| notcategory=Outdated 1.x Articles | | notcategory=Outdated 1.x Articles | ||
− | | | + | | includepage = {ARR Infobox Mob Action}:Name:Description |
− | + | | format =,,\n | |
− | | format | + | | tablesortcol= 1 |
− | | | + | | 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= | + | <br style="clear:left;"/><references/>[[Category:Bestiary]]</includeonly><noinclude>[[Category:Templates|{{PAGENAME}}]]</noinclude>__NOEDITSECTION__ __NOTOC__ |
− | |dpl={{ | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | </includeonly><noinclude>[[Category: |
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 = }}