Difference between revisions of "Template:HuntingZone"

From Medivia Online Wiki
 
(37 intermediate revisions by the same user not shown)
Line 17: Line 17:
   |position={{{position|}}}
   |position={{{position|}}}
   |monsters={{{monsters|}}}
   |monsters={{{monsters|}}}
   |supplies={{{monsters|}}}
   |supplies={{{supplies|}}}
   |notes={{{notes|}}}
   |notes={{{notes|}}}
}}
}}
<includeonly>
{| class="hunt-card hz-card"
|-
| class="hunt-left" |
  <div class="hunt-img">{{#formlink:form=Quote|link text=[[File:{{{Image|Dynahall.png}}}|link=|frameless|class=hunt-bg]]}}</div>
  <div class="hunt-header-text">
    <div class="hunt-name">{{{name|Unknown spawn|link=PageLink}}}</div>
    <div class="hunt-voc">[{{#switch:{{{team|}}}|1=Solo|2=Duo|3=Trio|#default=Team: {{{team|?}}}}}]{{#ifexpr:{{{knight|0}}}=1|{{VocIcon|Knight}}}}{{#ifexpr:{{{archer|0}}}=1|{{#ifexpr:{{{knight|0}}}=1|&nbsp;•&nbsp;}}{{VocIcon|Archer}}}}{{#ifexpr:{{{druid|0}}}=1|{{#ifexpr:{{{knight|0}}}+{{{archer|0}}}>0|&nbsp;•&nbsp;}}{{VocIcon|Druid}}}}{{#ifexpr:{{{mage|0}}}=1|{{#ifexpr:{{{knight|0}}}+{{{archer|0}}}+{{{druid|0}}}>0|&nbsp;•&nbsp;}}{{VocIcon|Mage}}}}{{#ifexpr:{{{novus|0}}}=1|{{#ifexpr:{{{knight|0}}}+{{{archer|0}}}+{{{druid|0}}}+{{{mage|0}}}>0|&nbsp;•&nbsp;}}{{VocIcon|Novus}}}}{{#ifexpr:{{{knight|0}}}+{{{archer|0}}}+{{{druid|0}}}+{{{mage|0}}}+{{{novus|0}}}=0|?}}{{#ifexpr:{{{premium|0}}}=1| <span class="hz-pill hz-premium">Premium</span>}}</div>
  </div>
| class="hunt-right" |
  <div class="stat-grid">
    <div class="stat-box">
      <div class="stat-label">Level</div>
      <div class="stat-value">{{{minlevel|?}}} to {{{maxlevel|?}}}</div>
    </div>
    <div class="stat-box">
      <div class="stat-label">EXP/H</div>
      <div class="stat-value">{{#ifexpr: {{{exp|0}}} < 1000  | {{{exp|0}}} / H  | {{#expr: floor({{{exp|0}}} / 1000)}} K/H}}
      </div>
    </div>
    <div class="stat-box">
      <div class="stat-label">Difficulty</div>
      <div class="stat-value">{{#switch: {{{difficulty|}}}|1=Very Easy|2=Easy|3=Normal|4=Hard|5=Very Hard|#default={{{difficulty|?}}}}}
      </div>
    </div>
    <div class="stat-box">
      <div class="stat-label">Loot</div>
      <div class="stat-value">{{#switch: {{{loot|}}}|1=High Waste|2=Small Waste|3=Break even|4=Small Profit|5=High Profit|#default={{{loot|?}}}}}
      </div>
    </div>
  </div>
|}
<div class="hz-details">
  <div class="hz-details-title">Details</div>
  <div class="hz-details-grid">
      <div class="hz-row">
        <div class="hz-key">Requirements</div>
        <div class="hz-val">{{{requirements|None}}}</div>
      </div>
    {{#if:{{{position|}}}|<div class="hz-row"><div class="hz-key">Location</div><div class="hz-val">{{{category}}} {{Mapper|x={{#explode:{{{position}}}|,|0}}|y={{#explode:{{{position}}}|,|1}}|z={{#explode:{{{position}}}|,|2}}}}</div></div>}}
    {{#if: {{{monsters|}}} |
      <div class="hz-row">
        <div class="hz-key">Monsters</div>
        <div class="hz-val">{{{monsters}}}</div>
      </div>
    }}
    {{#if: {{{spawntime|}}} |
      <div class="hz-row">
        <div class="hz-key">Spawntime</div>
        <div class="hz-val">{{{spawntime}}}</div>
      </div>
    }}
{{#if:{{{exp_1|}}}{{{exp_2|}}}{{{exp_3|}}}{{{exp_4|}}}|<div class="hz-row"><div class="hz-key">EXP/H</div><div class="hz-val">{{#if:{{{exp_1|}}}|Solo (<span style="color:#9bd7e9">{{#ifexpr:{{{exp_1|0}}}<1000|{{{exp_1}}} / H|{{#expr:floor({{{exp_1}}}/1000)}} K/H}}</span>)}}{{#if:{{{exp_2|}}}|{{#if:{{{exp_1|}}}| &nbsp;•&nbsp; }}Duo (<span style="color:#9bd7e9">{{#ifexpr:{{{exp_2|0}}}<1000|{{{exp_2}}} / H|{{#expr:floor({{{exp_2}}}/1000)}} K/H}}</span>)}}{{#if:{{{exp_3|}}}|{{#if:{{{exp_1|}}}{{{exp_2|}}}| &nbsp;•&nbsp; }}Trio (<span style="color:#9bd7e9">{{#ifexpr:{{{exp_3|0}}}<1000|{{{exp_3}}} / H|{{#expr:floor({{{exp_3}}}/1000)}} K/H}}</span>)}}{{#if:{{{exp_4|}}}|{{#if:{{{exp_1|}}}{{{exp_2|}}}{{{exp_3|}}}| &nbsp;•&nbsp; }}Team (<span style="color:#9bd7e9">{{#ifexpr:{{{exp_4|0}}}<1000|{{{exp_4}}} / H|{{#expr:floor({{{exp_4}}}/1000)}} K/H}}</span>)}}</div></div>}}
      <div class="hz-row">
        <div class="hz-key">Supplies</div>
        <div class="hz-val">{{{supplies|}}}</div>
      </div>
      <div class="hz-row hz-notes">
        <div class="hz-key">Notes</div>
        <div class="hz-val">{{{notes}}}</div>
      </div>
  </div>
</div>
</includeonly>
<noinclude>
<noinclude>
{{#cargo_declare:
{{#cargo_declare:
Line 33: Line 107:
   |druid=Integer,
   |druid=Integer,
   |mage=Integer,
   |mage=Integer,
  |novus=Integer,
   |loot=String,
   |loot=String,
   |difficulty=Integer,
   |difficulty=Integer,
Line 43: Line 118:
}}
}}
</noinclude>
</noinclude>
<noinclude>
<pre>{{HuntingZone |
  |background=
  |name=
  |minlevel=
  |maxlevel=
  |exp=
  |team=
  |knight=
  |archer=
  |druid=
  |mage=
  |loot=
  |difficulty=
  |premium=
  |requirements=
  |position=
  |monsters=
  |supplies=
  |notes=
}}</pre>
</noinclude>
<table class="wikitable"><!--
--> <tr><th style="text-align: center; width:130px" rowspan=2>{{{image|[[File:32px-Important_Icon.png]]}}}</th><th><big><br>{{{name}}}<br></big></th></tr><!--
--> <tr><td>{{{description}}}</td></tr><!--
--> <tr><th>'''Recommended Level:'''</th><td>{{{level}}}</td></tr><!--
--> <tr><th>'''Loot:'''</th><td>{{{loot}}}</td></tr><!--
--> <tr><th>'''Experience:'''</th><td>{{{exp}}}</td></tr><!--
--> <tr><th>'''Location:'''</th><td>{{{location}}}</td></tr><!--
--> <tr><th>'''Be prepared<br>to face:'''</th><td>{{{monsters}}}</td></tr><!--
--> {{#if: {{{strategy|}}}|<tr><th>'''Strategy:'''</th><td>{{{strategy}}}</td></tr>}} <!--
--> {{#if: {{{strategy_warriors| {{{strategy_mages| {{{strategy_sorcerer| {{{strategy_cleric| {{{strategy_scouts| {{{strategy_team| }}} }}} }}} }}} }}} }}}| <!--
--> <table class="wikitable"><!--
--> {{#if: {{{strategy_warriors|}}}|<tr><th>'''[[Warrior|Warriors]]'''</th><td>{{{strategy_warriors}}}</td></tr>}} <!--
--> {{#if: {{{strategy_mages|}}}|<tr><th>'''[[Sorcerer|Sorcerers]] and [[Cleric{{!}}Clerics]]'''</th><td>{{{strategy_mages}}}</td></tr>}} <!--
--> {{#if: {{{strategy_sorcerer|}}}|<tr><th>'''[[Sorcerer|Sorcerers]]'''</th><td>{{{strategy_sorcerer}}}</td></tr>}} <!--
--> {{#if: {{{strategy_cleric|}}}|<tr><th>'''[[Cleric{{!}}Clerics]]'''</th><td>{{{strategy_cleric}}}</td></tr>}} <!--
--> {{#if: {{{strategy_scouts|}}}|<tr><th>'''[[Scout|Scouts]]'''</th><td>{{{strategy_scouts}}}</td></tr>}} <!--
--> {{#if: {{{strategy_team|}}}|<tr><th>'''Teamhunt'''</th><td>{{{strategy_team}}}</td></tr>}} <!--
--> </table></td> }} <!--
--> <!--
--> {{#if: {{{notes|}}}|<tr><th>'''Notes:'''</th><td>{{{notes}}}</td></tr>}}<!--
--> </table>

Latest revision as of 10:24, 12 January 2026



This template defines the table "HuntingSpots". View table. A replacement table has been generated for this table; View replacement table.