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

From Final Fantasy XIV Online Wiki
Jump to navigation Jump to search
m
 
(15 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly>|-  
<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}}}}<!--
| {{cname|{{{1}}}}}
-->{{#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>}}}}
| {{{2|}}}
| {{cname|{{{2}}}}}
| [[{{{3|}}}]]
| {{#ifeq:{{#var:creature_level}}|0||{{#var:creature_level}}}}
| {{#if:{{{5|}}}|[[{{{5}}}]]|[[{{{4|}}}]]}}
| {{#show:{{{2}}}|?Has race}}
| {{#show:{{{2}}}|?Has clan}}
| {{#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:
#PAGENAME
#PAGENAME
#Has NPC level
#Has item drop creature object
#Has race
 
#Located in
Creature details are queried with <code><nowiki>{{#show}}</nowiki></code>.
#Located in instance


[[Category:Semantic result templates]]
[[Category:Semantic result templates]]
</noinclude>
</noinclude>

Latest revision as of 16:32, 29 September 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}}.