Difference between revisions of "Template:Test"

From Medivia Online Wiki
(Replaced content with "{{#tag:span|{{{pretext|}}}<span class="mw-customtoggle-{{{map_id|mapbox}}}" style="cursor:pointer;">{{{toggle|SHOW MAP}}}</span>|style=white-space:nowrap;}}<nowiki /><!-- prevent newline becoming <pre> --> <div class="mw-collapsible mw-collapsed" id="mw-customcollapsible-{{{map_id|mapbox}}}" style="margin-top:0.3em;"> {{#mapper:{{{x|2048}}}|{{{y|-2047}}}|{{{z|7}}}|{{{zoom|5}}}|{{{width|100%}}}|{{{height|500px}}}}} </div>")
Tag: Replaced
Line 1: Line 1:
{{#tag:span|{{{pretext|}}}<span class="mw-customtoggle-{{{map_id|mapbox}}}" style="cursor:pointer;">{{{toggle|SHOW MAP}}}</span>|style=white-space:nowrap;}}<nowiki /><!-- prevent newline becoming <pre> -->


<div class="mw-collapsible mw-collapsed" id="mw-customcollapsible-{{{map_id|mapbox}}}" style="margin-top:0.3em;">
{{#cargo_declare:
{{#mapper:{{{x|2048}}}|{{{y|-2047}}}|{{{z|7}}}|{{{zoom|5}}}|{{{width|100%}}}|{{{height|500px}}}}}
  |table=HuntingSpots
</div>
  |fields=
    name=String,
    description=Text,
    level=Integer,
    exp=Integer,
    loot=Text,
    location=Text,
    monsters=Text,
    notes=Text,
    vocation=String,
    team=Integer,
    strategy=Text,
    strategy_warriors=Text,
    strategy_mages=Text,
    strategy_sorcerer=Text,
    strategy_cleric=Text,
    strategy_scouts=Text,
    strategy_team=Text
  }}
 
 
{{#cargo_store:
|table=HuntingSpots
|name={{{name|}}}
|description={{{description|}}}
|level={{{level|}}}
|exp={{{exp|}}}
|loot={{{loot|}}}
|location={{{location|}}}
|monsters={{{monsters|}}}
|notes={{{notes|}}}
|vocation={{{vocation|Any}}}
|team={{{team|0}}}
|strategy={{{strategy|}}}
|strategy_warriors={{{strategy_warriors|}}}
|strategy_mages={{{strategy_mages|}}}
|strategy_sorcerer={{{strategy_sorcerer|}}}
|strategy_cleric={{{strategy_cleric|}}}
|strategy_scouts={{{strategy_scouts|}}}
|strategy_team={{{strategy_team|}}}
}}

Revision as of 14:44, 22 September 2025

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