Difference between revisions of "Template:Dropped by result format"
Jump to navigation
Jump to search
m |
Freedom4556 (talk | contribs) |
||
(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|{{{ | -->{{#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}}}}} | ||
| | | {{#ifeq:{{#var:creature_level}}|0||{{#var:creature_level}}}} | ||
| {{# | | {{#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 | #Has item drop creature object | ||
Creature details are queried with <code><nowiki>{{#show}}</nowiki></code>. | |||
# | |||
[[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:
- PAGENAME
- Has item drop creature object
Creature details are queried with {{#show}}
.