Template:Spell page: Difference between revisions

Jump to navigation Jump to search
Adding image/icon fields to cargo
No edit summary
(Adding image/icon fields to cargo)
Line 1: Line 1:
<includeonly>{{#switch: {{{this is an example}}}
<includeonly>{{#switch: {{{this is an example}}}
| yes =
| yes =
| #default = {{PageSeo|image = {{{image}}}|description = {{{seo description|{{{name|{{PAGENAME}} }}} is a {{#ifeq:{{{level}}}
| #default = {{PageSeo|image = {{{icon}}}|description = {{{seo description|{{{name|{{PAGENAME}} }}} is a {{#ifeq:{{{level}}}
| cantrip
| cantrip
| Cantrip ({{{school}}})
| Cantrip ({{{school}}})
Line 267: Line 267:
_table = spells
_table = spells
| name = {{{name|{{#titleparts: {{PAGENAME}} }} }}}
| name = {{{name|{{#titleparts: {{PAGENAME}} }} }}}
| image = {{{image|}}}
| icon = {{#if: {{{icon|}}} | {{{icon}}} | {{#replace:{{#replace:{{#replace:{{#replace:{{#titleparts: {{PAGENAME}} }}|:|}}|/|<nowiki/> <nowiki/>}}|(|<nowiki/> <nowiki/>}}|)|<nowiki/> <nowiki/>}} Icon.webp }}
| spell_level = {{#ifeq:{{{level|}}}|cantrip|0|{{{level|}}} }}
| spell_level = {{#ifeq:{{{level|}}}|cantrip|0|{{{level|}}} }}
| spell_school = {{{school}}}
| spell_school = {{{school}}}
Line 290: Line 292:
_table = spells
_table = spells
| name = String
| name = String
| image = File
| icon = File
| spell_level = String
| spell_level = String
| spell_school = String
| spell_school = String

Navigation menu