Template:5e Spell Data: Difference between revisions
mNo edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
<includeonly> | <includeonly> | ||
---- | ---- | ||
<div style="display:block; overflow:auto; max-width:90vw; padding:0 0.5em; font-size:0.75rem;"> | |||
<div style="display:block; overflow:auto; max-width:90vw; font-size:0.75rem;"> | '''''Spell data ''''' <span class="mw-customtoggle-myDivision-SpellData"><sup>+</sup></span> | ||
{{#cargo_query: | <div class="mw-collapsible mw-collapsed" id="mw-customcollapsible-myDivision-SpellData>{{#cargo_query: | ||
tables=5e_Spell,Pages_Info | tables=5e_Spell,Pages_Info | ||
|join on=5e_Spell._pageName=Pages_Info._pageName | |join on=5e_Spell._pageName=Pages_Info._pageName | ||
Line 12: | Line 12: | ||
|format=table | |format=table | ||
|more results text=More Spells | |more results text=More Spells | ||
}}</div></includeonly><noinclude> | }}</div><!--collapsable--></div></div></includeonly><noinclude> | ||
===Syntax=== | ===Syntax=== | ||
<pre>{{5e Spell Data|optSpellName}}</pre> | <pre>{{5e Spell Data|optSpellName}}</pre> |
Revision as of 13:04, 7 December 2020
Syntax
{{5e Spell Data|optSpellName}}
Note: For spell names with an apostrophe ('), you must double the apostrophe ('').
Add'l Entries
|hid= <!--blank or true-->
Spell data +
Function: CargoSQLQuery::run Query: SELECT `rly2_cargo__Pages_Info`.`_pageID` AS `cargo_backlink_page_id_Pages_Info`,`rly2_cargo__5e_Spell`.`_pageID` AS `cargo_backlink_page_id_5e_Spell`,CONCAT( '', `rly2_cargo__5e_Spell`.`Spell_Name`, '' ) AS `Spell`,`rly2_cargo__5e_Spell`.`Level` AS `Level`,`rly2_cargo__5e_Spell`.`School` AS `School`,`rly2_cargo__5e_Spell`.`Action_Type` AS `Casting`,`rly2_cargo__5e_Spell`.`Spell_Range` AS `Range`,`Component__full` AS `VSM`,`rly2_cargo__5e_Spell`.`Valuable_Component` AS `VC`,`rly2_cargo__5e_Spell`.`Consumable_Component` AS `CC`,`Casters__full` AS `Casters`,`rly2_cargo__5e_Spell`.`Canon_Spell` AS `Canon`,`Sources__full` AS `Sources` FROM `rly2_cargo__5e_Spell` LEFT OUTER JOIN `rly2_cargo__Pages_Info` ON ((`rly2_cargo__5e_Spell`.`_pageName`=`rly2_cargo__Pages_Info`.`_pageName`)) WHERE `rly2_cargo__5e_Spell`.`Spell_Name`='5e Spell Data' AND (`rly2_cargo__Pages_Info`.`Hidden`=0 or `rly2_cargo__Pages_Info`.`Hidden` IS NULL) ORDER BY `rly2_cargo__5e_Spell`.`Sort_Text` LIMIT 100
Spell data +
Function: CargoSQLQuery::run Query: SELECT `rly2_cargo__Pages_Info`.`_pageID` AS `cargo_backlink_page_id_Pages_Info`,`rly2_cargo__5e_Spell`.`_pageID` AS `cargo_backlink_page_id_5e_Spell`,CONCAT( '', `rly2_cargo__5e_Spell`.`Spell_Name`, '' ) AS `Spell`,`rly2_cargo__5e_Spell`.`Level` AS `Level`,`rly2_cargo__5e_Spell`.`School` AS `School`,`rly2_cargo__5e_Spell`.`Action_Type` AS `Casting`,`rly2_cargo__5e_Spell`.`Spell_Range` AS `Range`,`Component__full` AS `VSM`,`rly2_cargo__5e_Spell`.`Valuable_Component` AS `VC`,`rly2_cargo__5e_Spell`.`Consumable_Component` AS `CC`,`Casters__full` AS `Casters`,`rly2_cargo__5e_Spell`.`Canon_Spell` AS `Canon`,`Sources__full` AS `Sources` FROM `rly2_cargo__5e_Spell` LEFT OUTER JOIN `rly2_cargo__Pages_Info` ON ((`rly2_cargo__5e_Spell`.`_pageName`=`rly2_cargo__Pages_Info`.`_pageName`)) WHERE `rly2_cargo__5e_Spell`.`Spell_Name`='Acid Arrow' AND (`rly2_cargo__Pages_Info`.`Hidden`=0 or `rly2_cargo__Pages_Info`.`Hidden` IS NULL) ORDER BY `rly2_cargo__5e_Spell`.`Sort_Text` LIMIT 100