Template:Magic for job: Difference between revisions
From HorizonXI Wiki
m (query icon) |
(query magic type and element) |
||
| Line 4: | Line 4: | ||
tables=MagicJobs,Magic | tables=MagicJobs,Magic | ||
|join on=MagicJobs.Magic=Magic._pageName | |join on=MagicJobs.Magic=Magic._pageName | ||
|fields=MagicJobs.Level=level,Magic._pageName=page,Magic.Name=name,Magic.Icon=icon,Magic.HorizonChanges=changes | |fields=MagicJobs.Level=level,Magic._pageName=page,Magic.Name=name,Magic.Icon=icon,Magic.type=type,Magic.element=element,Magic.HorizonChanges=changes | ||
|where=MagicJobs.Job='{{{1|{{PAGENAME}}}}}' | |where=MagicJobs.Job='{{{1|{{PAGENAME}}}}}' | ||
|sort by=MagicJobs.Level,Magic.Name | |sort by=MagicJobs.Level,Magic.Name | ||
Revision as of 05:58, 13 October 2025
Template documentation
|
|---|
| Note: portions of the template sample may not be visible without values provided. |
| View or edit this documentation. (About template documentation) |
| Editors can experiment in this template's sandbox and test case pages. |
Displays a list of magic learned by a job, and the level each becomes usable.
Usage
Basic
{{Magic for job}}
(displays using current page title for job)
Specified job
{{Magic for job|White Mage}}
Spell List for White Mage (Level, Name)
Error: No field named "type" found for the database table "Magic".
Custom label
{{Magic for job|Bard|label=Song List for Bard (Level, Name)}}
Song List for Bard (Level, Name)
Error: No field named "type" found for the database table "Magic".
