Difference between revisions of "Template:Test"

From Medivia Online Wiki
Tag: Manual revert
 
(30 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,
--> <tr><th>'''Neutral To:'''</th><td>{{{neutral_to|-}}}</td></tr><!--
  location=Text,
--> {{#if: {{{sounds|}}}|<tr><th>'''Sounds:'''</th><td style="color: #c68210">{{{sounds}}}</td></tr>}} <!--
  monsters=Text,
--> {{#if: {{{task|}}}|<tr><th>'''Task:'''</th><td>{{{task}}}</td></tr>}} <!--
  notes=Text,
--> {{#if: {{{note|}}}|<tr><th>'''Note:'''</th><td>{{{note}}}</td></tr>}} <!--
  vocation=String,
--> {{#if: {{{strategy| {{{strategy_knights| {{{strategy_mages| {{{strategy_archers| }}} }}} }}} }}}| <!--
  team=Integer,
 
  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"> <!--
--> {{#if: {{{loot_very_common|}}}|<tr><th>'''<font color="grey"> Very Common </font>'''</th><td>{{{loot_very_common}}}</td></tr>}} <!--
--> {{#if: {{{loot_common|}}}|<tr><th>'''<font color="white"> Common </font>'''</th><td>{{{loot_common}}}</td></tr>}} <!--
--> {{#if: {{{loot_uncommon|}}}|<tr><th>'''<font color="16ff16"> Uncommon </font>'''</th><td>{{{loot_uncommon}}}</td></tr>}} <!--
--> {{#if: {{{loot_semi-rare|}}}|<tr><th>'''<font color="1E90FF"> Semi-Rare </font>'''</th><td>{{{loot_semi-rare}}}</td></tr>}} <!--
--> {{#if: {{{loot_rare|}}}|<tr><th>'''<font color="#7e02be"> Rare </font>'''</th><td>{{{loot_rare}}}</td></tr>}} <!--
--> {{#if: {{{loot_very_rare|}}}|<tr><th>'''<font color="red"> Very Rare </font>'''</th><td>{{{loot_very_rare}}}</td></tr>}} <!--
--> {{#if: {{{loot_extremely_rare|}}}|<tr><th>'''<font color="gold"> Extremely Rare </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=
|class=
|abilities=
|class=
|pushable=
|push_objects=
|est_max_damage=
|immune_to=
|neutral_to=
|sounds=
|task=
|note=
|strategy=
|strategy_knights=
|strategy_mages=
|strategy_archers=
|loot=
|loot_very_common=
|loot_common=
|loot_uncommon=
|loot_semi-rare=
|loot_rare=
|loot_very_rare=
|loot_extremely_rare=
|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.