Difference between revisions of "Template:HuntSearch"

From Medivia Online Wiki
Line 6: Line 6:
{{#cargo_query:
{{#cargo_query:
  |tables=HuntingSpots
  |tables=HuntingSpots
  |fields=name=Name, minlevel=MinLevel, maxlevel=MaxLevel, team=Team, vocations=Vocations, exp=EXP, loot=Loot, difficulty=Difficulty, background=Background, premium=Premium, notes = Notes
  |fields=name=Name, minlevel=MinLevel, maxlevel=MaxLevel, team=Team, vocations=Vocations, exp=EXP, loot=Loot, difficulty=Difficulty, background=Background, premium=Premium, notes=Notes
  |where=1=1
  |where=1=1
   {{#if: {{{min_level|}}} | AND minlevel >= {{{min_level}}} }}
   {{#if: {{{min_level|}}} | AND minlevel >= {{{min_level}}} }}
Line 15: Line 15:
  |template=HuntCard
  |template=HuntCard
  |named args=yes
  |named args=yes
  |order by=max_level
  |order by=exp
}}
}}
</includeonly>
</includeonly>

Revision as of 09:46, 23 September 2025

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