Template:Ephemera: Difference between revisions

From Elanthipedia
Jump to navigation Jump to search
No edit summary
No edit summary
Line 2: Line 2:
! colspan="2" align="center" | {{#if:{{{name|}}}|[[Ephemera name is::{{{name}}}]]|[[Ephemera name is::{{PAGENAME}}]]}}
! colspan="2" align="center" | {{#if:{{{name|}}}|[[Ephemera name is::{{{name}}}]]|[[Ephemera name is::{{PAGENAME}}]]}}
|-
|-
{{#if:{{{rarity|}}} | {{!}} '''Rarity:''' {{!}}{{!}} {{#switch:{{lc:{{{rarity}}}}}|-|none=None|[[Ephemera rarity is::{{{rarity}}}]]}}}}
{{#if:{{{rarity|}}} | width=20% | {{!}} '''Rarity:''' {{!}}{{!}} {{#switch:{{lc:{{{rarity}}}}}|-|none=None|[[Ephemera rarity is::{{{rarity}}}]]}}}}
|-
|-
{{#if:{{{class|}}} | {{!}} '''Class:''' {{!}}{{!}} {{#switch:{{lc:{{{class}}}}}|-|none=None|[[Ephemera class is::{{{class}}}]]}}}}
{{#if:{{{class|}}} | width=20% |{{!}} '''Class:''' {{!}}{{!}} {{#switch:{{lc:{{{class}}}}}|-|none=None|[[Ephemera class is::{{{class}}}]]}}}}
|-
|-
{{#if:{{{energy|}}} | {{!}} '''Energy:''' {{!}}{{!}} {{#switch:{{lc:{{{energy}}}}}|-|none=None|[[Ephemera energy is::{{{energy}}}]]}}}}
{{#if:{{{energy|}}} | width=20% | {{!}} '''Energy:''' {{!}}{{!}} {{#switch:{{lc:{{{energy}}}}}|-|none=None|[[Ephemera energy is::{{{energy}}}]]}}}}
|-
|-
{{#if:{{{description|}}} | {{!}} '''Description:''' {{!}}{{!}} {{#switch:{{lc:{{{description}}}}}|-|none=None|[[Ephemera description is::{{{description}}}]]}}}}
{{#if:{{{description|}}} | width=20% | {{!}} '''Description:''' {{!}}{{!}} {{#switch:{{lc:{{{description}}}}}|-|none=None|[[Ephemera description is::{{{description}}}]]}}}}
|}
|}



Revision as of 18:05, 16 August 2022

Usage

A template for details about Ephemera.

{{Ephemera
  |name=
  |rarity=
  |class=
  |energy=
  |description=
}}

The name parameter is optional, to be used if page name does not match the name of the ephemeron.