Difference between revisions of "Template:Drops list"

From Final Fantasy XIV Online Wiki
Jump to navigation Jump to search
m
m
Line 2: Line 2:
-->{{Drops table header|show-levels={{{show-levels|}}}}}
-->{{Drops table header|show-levels={{{show-levels|}}}}}
{{#arraymap:{{#var:drop_data}}|&&|@@@|{{!}}- {{#vardefine:drop|{{#sub:{{#replace:@@@|  (|, }}|0|-1}}}}
{{#arraymap:{{#var:drop_data}}|&&|@@@|{{!}}- {{#vardefine:drop|{{#sub:{{#replace:@@@|  (|, }}|0|-1}}}}
{{!}} {{#var:drop_data}} - {{cname|{{#explode:{{#var:drop}}|,|0}}}}
{{!}} {{#var:drop_data}} - {{Item icon|{{#explode:{{#var:drop}}|,|0}}}} <!--
-->{{#ifeq:{{#vardefineecho:fate|{{#explode:{{#var:drop}}|,|2}}}}|?||&nbsp; [[File:Notorious monster FATE (map icon).png|24px|This item is dropped by the fate {{#var:fate}}.|link={{#var:fate}}]]}}<!--
-->{{#ifeq:{{#explode:{{#var:drop}}|,|1}}|true|&nbsp; [[File:Starred Bag.png|20px|This item is guaranteed to drop.|link=]]}}
{{!}} a
{{!}} a
{{!}} b
{{!}} b
Line 9: Line 11:
|}<!--
|}<!--
-->|No drops found for such creature.}}</includeonly><noinclude>
-->|No drops found for such creature.}}</includeonly><noinclude>
 
<!-- Has item drop, Is fixed, Has fate requirement, Has minimum quantity output, Has maximum quantity output, Has minimum creature level, Has maximum creature level -->
== Usage ==
== Usage ==
Generates a list of drops for a certain creature. Uses {{tl|Drops table header}} for header.
Generates a list of drops for a certain creature. Uses {{tl|Drops table header}} for header.

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

}