Difference between revisions of "Template:HuntingZone"
From Medivia Online Wiki
| (46 intermediate revisions by the same user not shown) | |||
| Line 7: | Line 7: | ||
|exp={{{exp|}}} | |exp={{{exp|}}} | ||
|team={{{team|}}} | |team={{{team|}}} | ||
| | |knight={{{knight|}}} | ||
|archer={{{archer|}}} | |||
|druid={{{druid|}}} | |||
|mage={{{mage|}}} | |||
|loot={{{loot|}}} | |loot={{{loot|}}} | ||
|difficulty={{{difficulty|}}} | |difficulty={{{difficulty|}}} | ||
|premium={{{premium|0}}} | |premium={{{premium|0}}} | ||
|requirements={{{requirements|}}} | |requirements={{{requirements|}}} | ||
| | |position={{{position|}}} | ||
|monsters={{{monsters|}}} | |monsters={{{monsters|}}} | ||
|supplies={{{ | |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| • }}{{VocIcon|Archer}}}}{{#ifexpr:{{{druid|0}}}=1|{{#ifexpr:{{{knight|0}}}+{{{archer|0}}}>0| • }}{{VocIcon|Druid}}}}{{#ifexpr:{{{mage|0}}}=1|{{#ifexpr:{{{knight|0}}}+{{{archer|0}}}+{{{druid|0}}}>0| • }}{{VocIcon|Mage}}}}{{#ifexpr:{{{novus|0}}}=1|{{#ifexpr:{{{knight|0}}}+{{{archer|0}}}+{{{druid|0}}}+{{{mage|0}}}>0| • }}{{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|}}}| • }}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|}}}| • }}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|}}}| • }}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 28: | Line 103: | ||
|exp=Integer, | |exp=Integer, | ||
|team=Integer, | |team=Integer, | ||
| | |knight=Integer, | ||
|archer=Integer, | |||
|druid=Integer, | |||
|mage=Integer, | |||
|novus=Integer, | |||
|loot=String, | |loot=String, | ||
|difficulty=Integer, | |difficulty=Integer, | ||
|premium=Integer, | |premium=Integer, | ||
|requirements=Text, | |requirements=Text, | ||
| | |position=Text, | ||
|monsters=Text, | |monsters=Text, | ||
|supplies=Text, | |supplies=Text, | ||
| Line 41: | Line 118: | ||
}} | }} | ||
</noinclude> | </noinclude> | ||
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.