Difference between revisions of "Template:HuntSearch"

From Medivia Online Wiki
Line 10: Line 10:
  |where=1=1
  |where=1=1
   {{#if: {{{min_level|}}} | AND level >= {{{min_level}}} }}
   {{#if: {{{min_level|}}} | AND level >= {{{min_level}}} }}
  {{#if: {{{max_level|}}} | AND level <= {{{max_level}}} }}
   {{#if: {{{location|}}} | AND location LIKE '%{{{location}}}%' }}
   {{#if: {{{location|}}} | AND location LIKE '%{{{location}}}%' }}
   {{#if: {{{monster|}}} | AND monsters HOLDS '{{{monster}}}' }}
   {{#if: {{{monster|}}} | AND monsters HOLDS '{{{monster}}}' }}
Line 17: Line 18:
  |template=HuntCard
  |template=HuntCard
  |named args=yes
  |named args=yes
|order by=level
}}
}}
</includeonly>
</includeonly>

Revision as of 20:42, 22 September 2025

This is the 'HuntSearch' template. It should be called via the Form:HuntingSpotSearch form.