Template:Ephemera: Difference between revisions

From Elanthipedia
Jump to navigation Jump to search
No edit summary
No edit summary
 
(5 intermediate revisions by the same user not shown)
Line 10: Line 10:
{{#if:{{{description|}}} | {{!}} width=15% {{!}} '''Description:''' {{!}}{{!}} {{#switch:{{lc:{{{description}}}}}|-|none=None|[[Ephemera description is::{{{description}}}]]}}}}
{{#if:{{{description|}}} | {{!}} width=15% {{!}} '''Description:''' {{!}}{{!}} {{#switch:{{lc:{{{description}}}}}|-|none=None|[[Ephemera description is::{{{description}}}]]}}}}
|-
|-
{{#if:{{{location|}}} | {{!}} width=15% {{!}} '''Location:''' {{!}}{{!}} {{#arraymap:{{{location}}}|,|@@@@|[[Ephemera location is::@@@@|<br>@@@@]] | }}}}
{{#if:{{{location|}}} | {{!}} width=15% {{!}} '''Location(s):''' {{!}}{{!}} {{#arraymap:{{{location}}}|,|@@@@|[[Ephemera location is::@@@@|@@@@<br>]] | }}}}
|}
|}
{{cat|Ephemera}}
{{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}}
}}
}}
</includeonly>
</includeonly>
Line 32: Line 49:
}}
}}
</pre>
</pre>
==Notes==
The name parameter is optional, to be used if page name does not match the name of the ephemeron.
* 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).