Difference between revisions of "Template:Dropped by result format"
Jump to navigation
Jump to search
m |
Freedom4556 (talk | contribs) |
||
(3 intermediate revisions by one other user not shown) | |||
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}}}}}} | | {{#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: |
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:
- PAGENAME
- Has item drop creature object
Creature details are queried with {{#show}}
.