Difference between revisions of "Template:Dropped by result format"

From Final Fantasy XIV Online Wiki
Jump to navigation Jump to search
m
(Show coordinates next to location, if available)
Line 1: Line 1:
<includeonly>|- {{#vardefine:creature_location|{{#show:{{{2}}}|?Located in|link=none}}}}{{#vardefine:creature_instance|{{#show:{{{2}}}|?Located in instance|link=none}}}}{{#vardefine:creature_level|{{#show:{{{2}}}|?Has NPC level}}}}
<includeonly>|- {{#vardefine:creature_location|{{#show:{{{2}}}|?Located in|link=none}}}}{{#vardefine:creature_instance|{{#show:{{{2}}}|?Located in instance|link=none}}}}{{#vardefine:creature_level|{{#show:{{{2}}}|?Has NPC level}}}}<!--
-->{{#vardefine:creature_coordinates|{{#ifeq:{{#show:{{{2}}}|?Has x coordinate}}|||<small>({{#show:{{{2}}}|?Has x coordinate}}{{#ifeq:{{#show:{{{2}}}|?Has y coordinate}}|||,{{#show:{{{2}}}|?Has y coordinate}}{{#ifeq:{{#show:{{{2}}}|?Has z coordinate}}|||,{{#show:{{{2}}}|?Has z coordinate}}}}}})</small>}}}}
| {{cname|{{{2}}}}}
| {{cname|{{{2}}}}}
| {{#ifeq:{{#var:creature_level}}|0||{{#var:creature_level}}}}
| {{#ifeq:{{#var:creature_level}}|0||{{#var:creature_level}}}}
| {{#show:{{{2}}}|?Has race}}
| {{#show:{{{2}}}|?Has race}}
| {{#if:{{#var:creature_instance}}|[[File:{{ucfirst:{{#show:{{#var:creature_instance}}|?Has duty type}}}}.png|20px|Dungeon creature|link=]] {{cname|{{#var:creature_instance}}}}|{{cname|{{#var:creature_location}}}}}}
| {{#if:{{#var:creature_instance}}|[[File:{{ucfirst:{{#show:{{#var:creature_instance}}|?Has duty type}}}}.png|20px|Dungeon creature|link=]] {{cname|{{#var:creature_instance}}}}|{{cname|{{#var:creature_location}}}}{{#var:creature_coordinates}}}}
</includeonly><noinclude>
</includeonly><noinclude>
This is a semantic result template for use in {{tl|Dropped by}}.  The input parameters generated by the semantic query are:
This is a semantic result template for use in {{tl|Dropped by}}.  The input parameters generated by the semantic query are:

Revision as of 08:39, 11 February 2022

This is a semantic result template for use in {{Dropped by}}. The input parameters generated by the semantic query are:

  1. PAGENAME
  2. Has item drop creature object

Creature details are queried with {{#show}}.