Template:Magic for job: Difference between revisions
From Horizon Wiki Mirror
Content deleted Content added
imported>Kaimoon0 mNo edit summary |
imported>Kaimoon0 m column gap |
||
| (9 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
<includeonly><div id="magic-for-job-label" style="text-align: center; border: #aaa solid; border-width: 1px |
<includeonly><div id="magic-for-job-label" style="text-align: center; border: #aaa solid; border-width: 1px; padding: 0.3em 0.4em; font-weight: bold; background: #afc7cf;">{{{label|Spell List for {{{1|{{PAGENAME}}}}} (Level, Name)}}}</div> |
||
<dl aria-labelledby="magic-for-job-label" style="margin: 0; column-width: |
<dl aria-labelledby="magic-for-job-label" style="margin: 0; column-width: min( 24ch, 35vw ); column-gap: min( 2em, 2vw );"> |
||
{{#cargo_query: |
{{#cargo_query: |
||
tables=MagicJobs,Magic |
tables=MagicJobs,Magic |
||
|join on=MagicJobs.Magic=Magic. |
|join on=MagicJobs.Magic=Magic._pageName |
||
|fields=MagicJobs.Level=level, |
|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 |
||
Latest revision as of 08:56, 15 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: Table MagicJobs not found.
Custom label
{{Magic for job|Bard|label=Song List for Bard (Level, Name)}}
Song List for Bard (Level, Name)
Error: Table MagicJobs not found.