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:@@@}}}}]]|, }}|{{#arraymap:{{#show:{{#var:item}}|?Has item type}}|, |@@@|[[@@@]]|, }}}}
{{!}} {{#if:{{{type|}}}|{{#arraymap:{{{type}}}|, |@@@|[[{{ucfirst:{{lc:@@@}}}}]]|, }}|{{#arraymap:{{#show:{{#var:item}}|?Has item type}}|, |@@@|[[@@@]]|, }}}}
{{!}} b
{{!}} {{#if:{{#show:{{#var:item}}|?Has item rarity}}|{{rarity|{{#show:{{#var:item}}|?Has item rarity}}}}}}
{{!}} c
{{!}} c
|\n}}
|\n}}

Revision as of 15:11, 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}}

}