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 |
casing |
||
| 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 8: | Line 8: | ||
| plant = {{#if:{{{2|}}}|[[Category:Plant elements]]}}{{ItemLink|{{{1|}}}}} | | plant = {{#if:{{{2|}}}|[[Category:Plant elements]]}}{{ItemLink|{{{1|}}}}} | ||
| poison = {{#if:{{{2|}}}|[[Category:Poison elements]]}}{{ItemLink|{{{1|}}}}} | | poison = {{#if:{{{2|}}}|[[Category:Poison 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. | ||
Revision as of 10:40, 28 November 2025
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}}


