Difference between revisions of "Template:Test"

From Medivia Online Wiki
Tag: Manual revert
 
(14 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<table class="wikitable"><!--
{{#cargo_declare:
--> <tr><th style="width:17%"><div style="font-family: Tahoma; font-weight: normal; word-spacing: -2px; font-size: 11pt; color: #ff9448; text-align: center; text-shadow: #000 1px 0px 1px, #000 0px 0px 1px, #000 0px 0px 1px, #000 0px 0px 1px, #000 0px 0px 1px, #000 0px 0px 1px;text-align: center">{{{name}}}<br>{{{image}}}</div></th><th style="text-align: left;">[[File:Heart.png]] '''Hit Points:''' {{{hp|?}}}<br>[[File:Xp.png]] '''Experience:''' {{{exp}}}<br>[[File:Summon.png]] '''Summon:''' {{{summon|-}}}{{#if: {{{illusionable|}}}|(Illusionable)}}<br>[[File:Convince.png]] '''Convince:''' {{{convince|-}}}</th></tr><!--
|table=HuntingSpots
--> <tr><th>'''Abilities:'''</th><td>{{{abilities|?}}}</td></tr><!--
|fields=
--> <tr><th>'''Class:'''</th><td>{{{class|?}}}</td></tr><!--
  name=String,
--> <tr><th>'''Pushable:'''</th><td>{{#ifeq: {{{pushable|}}}|y|✔️|❌ }}</td></tr><!--
  description=Text,
--> <tr><th>'''Push Objects:'''</th><td>{{#ifeq: {{{push_objects|}}}|y|✔️|❌ }}</td></tr><!--
  level=Integer,
--> <tr><th>'''Est. Max Damage:'''</th><td>{{{est_max_damage|?}}}</td></tr><!--
  exp=Integer,
--> <tr><th>'''Immune To:'''</th><td>{{{immune_to|-}}}</td></tr><!--
  loot=Text,
--> {{#if: {{{resistant_to|}}}|<tr><th>'''Resistant To:'''</th><td>{{{resistant_to}}}</td></tr>}} <!--
  location=Text,
--> {{#if: {{{weak_to|}}}|<tr><th>'''Weak To:'''</th><td>{{{weak_to}}}</td></tr>}} <!--
  monsters=Text,
--> {{#if: {{{sounds|}}}|<tr><th>'''Sounds:'''</th><td style="color: #c68210">{{{sounds}}}</td></tr>}} <!--
  notes=Text,
--> {{#if: {{{task|}}}|<tr><th>'''Task:'''</th><td>{{{task}}}</td></tr>}} <!--
  vocation=String,
--> {{#if: {{{note|}}}|<tr><th>'''Note:'''</th><td>{{{note}}}</td></tr>}} <!--
  team=Integer,
--> {{#if: {{{strategy| {{{strategy_knights| {{{strategy_mages| {{{strategy_archers| }}} }}} }}} }}}| <!--
  strategy=Text
 
}}
--> <tr><th>'''Strategy:'''</th><td>{{{strategy|}}} <!--
--> {{#if: {{{strategy_knights| {{{strategy_mages| {{{strategy_archers| }}} }}} }}}| <!--
--> <table class="wikitable"> <!--
--> {{#if: {{{strategy_knights|}}}|<tr><th>'''[[Knight|Knights]]'''</th><td>{{{strategy_knights}}}</td></tr>}} <!--
--> {{#if: {{{strategy_mages|}}}|<tr><th>'''[[Mage|Mages]] and [[Druid{{!}}Druids]]'''</th><td>{{{strategy_mages}}}</td></tr>}} <!--
--> {{#if: {{{strategy_archers|}}}|<tr><th>'''[[Archer|Archers]]'''</th><td>{{{strategy_archers}}}</td></tr>}} <!--
--> </table></td> }} <!--
--> }} <!--
 
--> <tr><th>'''Loot:'''</th><td>{{{loot|}}} <!--
--> <table class="wikitable"><tr><th style="width:17%"><div style="font-family: Tahoma; font-weight: normal; word-spacing: -2px; font-size: 11pt; color: #ff9448; text-align: center"></div></tr></th><!--
--> {{#if: {{{loot_very_common|}}}|<tr><th>'''<font color="#aaaaaa"> {{#tip-text:Very Common|base loot chance is higher than 15% (on 1x loot rate)}} </font>'''</th><td>{{{loot_very_common}}}</td></tr>}} <!--
--> {{#if: {{{loot_common|}}}|<tr><th>'''<font color="#ffffff"> {{#tip-text:Common|base loot chance is equal or lower than 15% (on 1x loot rate)}} </font>'''</th><td>{{{loot_common}}}</td></tr>}} <!--
--> {{#if: {{{loot_uncommon|}}}|<tr><th>'''<font color="#00ff00"> {{#tip-text:Uncommon|base loot chance is equal or lower than 6% (on 1x loot rate)}} </font>'''</th><td>{{{loot_uncommon}}}</td></tr>}} <!--
--> {{#if: {{{loot_semi-rare|}}}|<tr><th>'''<font color="#0096e0"> {{#tip-text:Semi-Rare|base loot chance is equal or lower than 2% (on 1x loot rate)}} </font>'''</th><td>{{{loot_semi-rare}}}</td></tr>}} <!--
--> {{#if: {{{loot_rare|}}}|<tr><th>'''<font color="#7e02be"> {{#tip-text:Rare|base loot chance is equal or lower than 0.6% (on 1x loot rate)}} </font>'''</th><td>{{{loot_rare}}}</td></tr>}} <!--
--> {{#if: {{{loot_very_rare|}}}|<tr><th>'''<font color="#fe2712"> {{#tip-text:Very Rare|base loot chance is equal or lower than 0.3% (on 1x loot rate)}} </font>'''</th><td>{{{loot_very_rare}}}</td></tr>}} <!--
--> {{#if: {{{loot_extremely_rare|}}}|<tr><th>'''<font color="#ffff66"> {{#tip-text:Extremely Rare|base loot chance is equal or lower than 0.1% (on 1x loot rate)}} </font>'''</th><td>{{{loot_extremely_rare}}}</td></tr>}} <!--
--> </table></td> <!--
 
--> {{#if: {{{skinnable|}}}|<tr><th>'''Skinnable:'''</th><td>{{{skinnable}}}</td></tr>}} <!--
--> {{#if: {{{location|}}}|<tr><th>'''Location:'''</th><td>{{{location}}}</td></tr>}} <!--
--> </table>
 
Go back to [[Creatures]].
<noinclude>===Usage===
<pre>{{Monster
|name=
|image=
|hp=
|exp=
|summon=
|illusionable=
|convince=
|abilities=
|class=
|pushable=
|push_objects=
|est_max_damage=
|immune_to=
|resistant_to=
|weak_to=
|sounds=
|task=
|note=
|strategy=
|strategy_knights=
|strategy_mages=
|strategy_archers=
|loot=
|loot_very_common<nowiki><!--grey--></nowiki>=
|loot_common<nowiki><!--white--></nowiki>=
|loot_uncommon<nowiki><!--green--></nowiki>=
|loot_semi-rare<nowiki><!--blue--></nowiki>=
|loot_rare<nowiki><!--purple--></nowiki>=
|loot_very_rare<nowiki><!--red--></nowiki>=
|loot_extremely_rare<nowiki><!--yellow--></nowiki>=
|skinnable=
|location=
}}</pre></noinclude>

Latest revision as of 14:48, 22 September 2025

Error: "table" cannot be used as a Cargo field name, because it is an SQL keyword.