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
changed earth to rock (element), Holy to Light |
changed poison to in game name: toxic |
||
| (One intermediate revision by one other user not shown) | |||
| Line 1: | Line 1: | ||
<includeonly>{{#switch: {{lc:{{{1}}}}} | <includeonly>{{#switch: {{lc:{{{1}}}}} | ||
| rock = {{#if:{{{2|}}}|[[Category:Rock elements]]}}{{ItemLink| | | rock = {{#if:{{{2|}}}|[[Category:Rock elements]]}}{{ItemLink|Rock (element)|{{{1|}}}}} | ||
| electric = {{#if:{{{2|}}}|[[Category:Electric elements]]}}{{ItemLink|{{{1|}}}}} | | electric = {{#if:{{{2|}}}|[[Category:Electric elements]]}}{{ItemLink|{{{1|}}}}} | ||
| dark = {{#if:{{{2|}}}|[[Category:Dark elements]]}}{{ItemLink|{{{1|}}}}} | | dark = {{#if:{{{2|}}}|[[Category:Dark elements]]}}{{ItemLink|{{{1|}}}}} | ||
| Line 7: | Line 7: | ||
| ice = {{#if:{{{2|}}}|[[Category:Ice 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|}}}}} | ||
| | | toxic = {{#if:{{{2|}}}|[[Category:Toxic elements]]}}{{ItemLink|{{{1|}}}}} | ||
| water = {{#if:{{{2|}}}|[[Category:Water elements]]}}{{ItemLink|Water ( | | water = {{#if:{{{2|}}}|[[Category:Water elements]]}}{{ItemLink|Water (element)|{{{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}}


