Difference between revisions of "Template:HuntSearch"

From Medivia Online Wiki
Line 7: Line 7:
  |tables=HuntingSpots
  |tables=HuntingSpots
  |fields=name=Name, minlevel=MinLevel, maxlevel=MaxLevel, team=Team, exp=EXP, loot=Loot, difficulty=Difficulty, background=Image, premium=Premium, notes=Notes, knight=Knight,mage=Mage,druid=Druid,archer=Archer,position=Position
  |fields=name=Name, minlevel=MinLevel, maxlevel=MaxLevel, team=Team, exp=EXP, loot=Loot, difficulty=Difficulty, background=Image, premium=Premium, notes=Notes, knight=Knight,mage=Mage,druid=Druid,archer=Archer,position=Position
  |where=1=1
  |where=1=1 AND CHAR_LENGTH(name) > 0
   {{#if: {{{min_level|}}} | AND minlevel >= {{{min_level}}} }}
   {{#if: {{{min_level|}}} | AND minlevel >= {{{min_level}}} }}
   {{#if: {{{max_level|}}} | AND maxlevel <= {{{max_level}}} }}
   {{#if: {{{max_level|}}} | AND maxlevel <= {{{max_level}}} }}
Line 14: Line 14:
  | Duo  = AND team=2
  | Duo  = AND team=2
  | Trio  = AND team=3
  | Trio  = AND team=3
| All = AND team > 0
  | #default =
  | #default =
}}
}}
Line 21: Line 22:
  | Mage  = AND mage=1
  | Mage  = AND mage=1
  | Archer = AND archer=1
  | Archer = AND archer=1
| All =
  | #default =
  | #default =
}}
}}

Revision as of 08:34, 12 January 2026

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