Difference between revisions of "Template:Drops list"

From Final Fantasy XIV Online Wiki
Jump to navigation Jump to search
m
m
Line 1: Line 1:
<includeonly>{{#if:{{#vardefineecho:drop_data|{{#show:{{{1|{{#titleparts:{{BASEPAGENAME}}}}}}}|?Drops|link=none|sep=&&}}}}|<!--
<includeonly>{{#if:{{#vardefineecho:drop_data|{{#show:{{{1|{{#titleparts:{{BASEPAGENAME}}}}}}}|?Drops|link=none|sep=&&}}}}|<!--
-->{{Drops list header|show-levels={{{show-levels|}}}}}
-->{{Drops list header|show-levels={{{show-levels|}}}}}
{{#arraymap:{{#var:drop_data}}|&&|@@@|{{!}}-
{{#arraymap:{{#var:drop_data}}|&&|@@@|{{!}}- {{#vardefine:drop_data|{{#sub:{{#replace:@@@|  (|, }}|0|-1}}}}
{{!}} @@@
{{!}} {{cname|{{#explode:@@@|,|0}}}}
{{!}} a
{{!}} a
{{!}} b
{{!}} b

Revision as of 00:30, 28 September 2018


Usage

Generates a list of drops for a certain creature. {{Drops list result format}}, and uses {{Drops list 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}}

}