Template:Ephemera: Difference between revisions

From Elanthipedia
Jump to navigation Jump to search
(Created page with "<includeonly>{| class="wikitable" {{#if:{{{rarity|}}} | {{!}} '''Rarity:''' {{!}}{{!}} {{#switch:{{lc:{{{rarity}}}}}|-|none=None|[[Ephemera rarity is::{{{rarity}}}]]}}}} |- {{...")
 
No edit summary
 
(19 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{| class="wikitable"
<includeonly>{| class=wikitable width=67%
{{#if:{{{rarity|}}} | {{!}} '''Rarity:''' {{!}}{{!}} {{#switch:{{lc:{{{rarity}}}}}|-|none=None|[[Ephemera rarity is::{{{rarity}}}]]}}}}
! colspan="2" align="center" | {{#if:{{{name|}}}|[[Ephemera name is::{{{name}}}]]|[[Ephemera name is::{{PAGENAME}}]]}}
|-
|-
{{#if:{{{class|}}} | {{!}} '''Class:''' {{!}}{{!}} {{#switch:{{lc:{{{class}}}}}|-|none=None|[[Ephemera class is::{{{class}}}]]}}}}
{{#if:{{{rarity|}}} | {{!}} width=15% {{!}} '''Rarity:''' {{!}}{{!}} {{#switch:{{lc:{{{rarity}}}}}|-|none=None|[[Ephemera rarity is::{{{rarity}}}]]}}}}
|-
|-
{{#if:{{{energy|}}} | {{!}} '''Energy:''' {{!}}{{!}} {{#switch:{{lc:{{{energy}}}}}|-|none=None|[[Ephemera energy is::{{{rarity}}}]]}}}}
{{#if:{{{class|}}} | {{!}} width=15% {{!}} '''Class:''' {{!}}{{!}} {{#switch:{{lc:{{{class}}}}}|-|none=None|[[Ephemera class is::{{{class}}}]]}}}}
|-
|-
{{#if:{{{description|}}} | {{!}} '''Description:''' {{!}}{{!}} {{#switch:{{lc:{{{description}}}}}|-|none=None|[[Ephemera description is::{{{description}}}]]}}}}
{{#if:{{{energy|}}} | {{!}} width=15% {{!}} '''Energy:''' {{!}}{{!}} {{#switch:{{lc:{{{energy}}}}}|-|none=None|[[Ephemera energy is::{{{energy}}}]]}}}}
|-
{{#if:{{{description|}}} | {{!}} width=15% {{!}} '''Description:''' {{!}}{{!}} {{#switch:{{lc:{{{description}}}}}|-|none=None|[[Ephemera description is::{{{description}}}]]}}}}
|-
{{#if:{{{location|}}} | {{!}} width=15% {{!}} '''Location(s):''' {{!}}{{!}} {{#arraymap:{{{location}}}|,|@@@@|[[Ephemera location is::@@@@|@@@@<br>]] | }}}}
|}
|}
{{cat|Ephemera}}

{{#switch: {{lc:{{{rarity}}}}}
{{#switch: {{lc:{{{rarity}}}}}
| common = {{cat|Common Ephemera}}
| common = {{cat|Common ephemera}}
| uncommon = {{cat|Uncommon Ephemera}}
| uncommon = {{cat|Uncommon ephemera}}
| rare = {{cat|Rare Ephemera}}
| rare = {{cat|Rare ephemera}}
| limited = {{cat|Limited Ephemera}}
| limited = {{cat|Limited ephemera}}
}}
{{#switch: {{lc:{{{class}}}}}
| beast = {{cat|Beast ephemera}}
| construct = {{cat|Construct ephemera}}
| draconic = {{cat|Draconic ephemera}}
| extraplanar = {{cat|Extraplanar ephemera}}
| fae = {{cat|Fae ephemera}}
| humanoid = {{cat|Humanoid ephemera}}
| undead = {{cat|Undead ephemera}}
}}
{{#switch: {{lc:{{{energy}}}}}
| demonic = {{cat|Demonic ephemera}}
| divine = {{cat|Divine ephemera}}
| primal = {{cat|Primal ephemera}}
| psychic = {{cat|Psychic ephemera}}
| sylvan = {{cat|Sylvan ephemera}}
| unattuned = {{cat|Unattuned ephemera}}
}}
}}
{{cat|Ephemera}}
</includeonly>
</includeonly>
<noinclude>==Usage==
<noinclude>==Usage==
Line 21: Line 41:


<pre>{{Ephemera
<pre>{{Ephemera
|name=
|rarity=
|rarity=
|class=
|class=
|energy=
|energy=
|description=
|description=
|location=
}}
}}
</pre>
</pre>
==Notes==
* The name parameter is optional, to be used if page name does not match the name of the ephemeron.
* Location supports multiple values (comma-delimited).
{{cat|Templates}}</noinclude>
{{cat|Templates}}</noinclude>

Latest revision as of 17:36, 19 August 2022

Usage

A template for details about Ephemera.

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

Notes

  • The name parameter is optional, to be used if page name does not match the name of the ephemeron.
  • Location supports multiple values (comma-delimited).