Please note that some information on this wiki is still based on the demo version.
If you notice any errors, feel free to correct them.

Template:ElementDisplay: Difference between revisions

From Super Fantasy Kingdom Official Wiki
wgg>Cadaei
Created page with "<includeonly>{{#switch: {{lc:{{{1}}}}} | holy = {{#if:{{{2|}}}|Category:Holy elements}}{{ItemLink|{{{1|}}}}} | fire = {{#if:{{{2|}}}|Category:Fire elements}}{{ItemLink|{{{1|}}}}} | plant = {{#if:{{{2|}}}|Category:Plant elements}}{{ItemLink|{{{1|}}}}} | poison = {{#if:{{{2|}}}|Category:Poison elements}}{{ItemLink|{{{1|}}}}} | dark = {{#if:{{{2|}}}|Category:Dark elements}}{{ItemLink|{{{1|}}}}} | electric = {{#if:{{{2|}}}|Category:Electric elements}}..."
 
changed poison to in game name: toxic
 
(4 intermediate revisions by 4 users not shown)
Line 1: Line 1:
<includeonly>{{#switch: {{lc:{{{1}}}}}
<includeonly>{{#switch: {{lc:{{{1}}}}}
| holy = {{#if:{{{2|}}}|[[Category:Holy elements]]}}{{ItemLink|{{{1|}}}}}
| rock = {{#if:{{{2|}}}|[[Category:Rock elements]]}}{{ItemLink|Rock (element)|{{{1|}}}}}
| electric = {{#if:{{{2|}}}|[[Category:Electric elements]]}}{{ItemLink|{{{1|}}}}}
| dark = {{#if:{{{2|}}}|[[Category:Dark elements]]}}{{ItemLink|{{{1|}}}}}
| fire = {{#if:{{{2|}}}|[[Category:Fire elements]]}}{{ItemLink|{{{1|}}}}}
| fire = {{#if:{{{2|}}}|[[Category:Fire elements]]}}{{ItemLink|{{{1|}}}}}
| light = {{#if:{{{2|}}}|[[Category:Light elements]]}}{{ItemLink|{{{1|}}}}}
| ice = {{#if:{{{2|}}}|[[Category:Ice elements]]}}{{ItemLink|{{{1|}}}}}
| plant = {{#if:{{{2|}}}|[[Category:Plant elements]]}}{{ItemLink|{{{1|}}}}}
| plant = {{#if:{{{2|}}}|[[Category:Plant elements]]}}{{ItemLink|{{{1|}}}}}
| poison = {{#if:{{{2|}}}|[[Category:Poison elements]]}}{{ItemLink|{{{1|}}}}}
| toxic = {{#if:{{{2|}}}|[[Category:Toxic elements]]}}{{ItemLink|{{{1|}}}}}
| dark = {{#if:{{{2|}}}|[[Category:Dark elements]]}}{{ItemLink|{{{1|}}}}}
| water = {{#if:{{{2|}}}|[[Category:Water elements]]}}{{ItemLink|Water (element)|{{{1|}}}}}
| electric = {{#if:{{{2|}}}|[[Category:Electric elements]]}}{{ItemLink|{{{1|}}}}}
| #default = {{{1|}}}
| #default = {{{1|}}}
}}</includeonly><noinclude>Displays an element type. If the type is known, [[Template:ItemLink]] is used, if also the second argument is not empty, the category of the element type is added to the page.
}}</includeonly><noinclude>Displays an element type. If the type is known, [[Template:ItemLink]] is used, if also the second argument is not empty, the category of the element type is added to the page.

Latest revision as of 15:18, 27 June 2026

Displays an element type. If the type is known, Template:ItemLink is used, if also the second argument is not empty, the category of the element type is added to the page.

{{ElementDisplay|fire}}

fire