Difference between revisions of "Template:Drops list"

From Final Fantasy XIV Online Wiki
Jump to navigation Jump to search
m
m
Line 6: Line 6:
-->{{#ifeq:{{#explode:{{#var:drop}}|,|1}}|true|  [[File:Starred Bag.png|20px|This item is guaranteed to drop.|link=]]}}
-->{{#ifeq:{{#explode:{{#var:drop}}|,|1}}|true|  [[File:Starred Bag.png|20px|This item is guaranteed to drop.|link=]]}}
{{!}} {{#if:{{{type|}}}|{{#arraymap:{{{type}}}|, |@@@|[[{{ucfirst:{{lc:@@@}}}}]]|,&nbsp;}}|{{#arraymap:{{#show:{{{1}}}|?Has item type}}|, |@@@|[[@@@]]|,&nbsp;}}}}<!--
{{!}} {{#if:{{{type|}}}|{{#arraymap:{{{type}}}|, |@@@|[[{{ucfirst:{{lc:@@@}}}}]]|,&nbsp;}}|{{#arraymap:{{#show:{{{1}}}|?Has item type}}|, |@@@|[[@@@]]|,&nbsp;}}}}<!--
-->{{!!}} {{#if:{{#show:{{{1}}}|?Has item rarity}}|{{rarity|{{#show:{{{1}}}|?Has item rarity}}}}|<!--
-->{{!}} b
-->{{#if:{{{rarity|}}}|{{#arraymap:{{#show:{{{1}}}|?Has subobject|link=none}}|, |@@@|{{#ifeq:{{#show:@@@|?Has item rarity}}|{{ucfirst:{{lc:{{{rarity}}}}}}}|{{#if:{{#varexists:dtr{{{1}}}{{#show:@@@|?Has item rarity}}}}||{{rarity|{{#show:@@@|?Has item rarity}}{{#vardefine:dtr{{{1}}}{{#show:@@@|?Has item rarity}}}}}}}}}}}}<!--
-->{{!}}{{#arraymap:{{#show:{{{1}}}|?Has subobject|link=none}}|, |@@@|{{#if:{{#varexists:dtr{{{1}}}{{#show:@@@|?Has item rarity}}}}||{{rarity|{{#show:@@@|?Has item rarity}}{{#vardefine:dtr{{{1}}}{{#show:@@@|?Has item rarity}}}}}}}}|,&nbsp;}}}}}}<!--
-->{{!!}} style="text-align:center;" | {{#if:{{{2|}}}|{{{2}}}|1}}<!--
{{!}} b
{{!}} c
{{!}} c
|\n}}
|\n}}

Revision as of 15:04, 28 September 2018

Usage

Generates a list of drops for a certain creature. Uses {{Drops table header}} for header.

{{Drops list}}
{{Drops list|show-levels=}}

Parameters

Unnamed parameter 1
Query term. Defaults to {{PAGENAME}}.
show-levels
Optional. Adds a column header for Creature level. Default is hidden if there is only one level for the creature.

Examples

{{Drops list|JustATempPage}}

}