Update 1.2.2 is here! Tier 2 HENMs, Horizon Adventuring Assistance Program and much more!
Template:Element: Difference between revisions
From HorizonXI Wiki
(Created page with "<noinclude>{{ #ifeq:{{NAMESPACE}}|{{ns:Template}}| {{PAGENAME}} }} {{Tocright}} ==Usage== * Displays an icon matching the element, as well as giving it a sortable hidden text. * Use this template if you don't want the image alternate text to read "''Resist vs. ____''". * If the element is omitted, {{Information Needed|nc}} is shown. ===Syntax=== {{CssPre|0||0.1|tag=code|b=n|t=y |content=<nowiki>Element|<type>|<showtext></nowiki> }} ===Par...") Tag: visualeditor-wikitext |
m (replaced csspre template in the documentation with ordinary pre tags) |
||
Line 11: | Line 11: | ||
===Syntax=== | ===Syntax=== | ||
{{ | <pre>{{Element|<type>|<showtext>}}</pre> | ||
===Parameters=== | ===Parameters=== |
Revision as of 17:51, 16 November 2023
Usage
- Displays an icon matching the element, as well as giving it a sortable hidden text.
- Use this template if you don't want the image alternate text to read "Resist vs. ____".
Syntax
{{Element|<type>|<showtext>}}
Parameters
- type: The type of element to display the icon for.
- showtext: Set this to Y to output the element name in front of the icon.
All Elements
Element Only | With Name | ||
---|---|---|---|
Code | Output | Code | Output |
{{Element|Fire}} | ![]() |
{{Element|Fire|Y}} | Fire ![]() |
{{Element|Ice}} | ![]() |
{{Element|Ice|Y}} | Ice ![]() |
{{Element|Wind}} | ![]() |
{{Element|Wind|Y}} | Wind ![]() |
{{Element|Earth}} | ![]() |
{{Element|Earth|Y}} | Earth ![]() |
{{Element|Lightning}} | ![]() |
{{Element|Lightning|Y}} | Lightning ![]() |
{{Element|Water}} | ![]() |
{{Element|Water|Y}} | Water ![]() |
{{Element|Light}} | ![]() |
{{Element|Light|Y}} | Light ![]() |
{{Element|Dark}} | ![]() |
{{Element|Dark|Y}} | Dark ![]() |
Code | Output | Code | Output |
{{Element|Fusion}} | ![]() ![]() |
{{Element|Fusion|Y}} | Fusion ![]() ![]() |
{{Element|Fragmentation}} | ![]() ![]() |
{{Element|Fragmentation|Y}} | Fragmentation ![]() ![]() |
{{Element|Gravitation}} | ![]() ![]() |
{{Element|Gravitation|Y}} | Gravitation ![]() ![]() |
{{Element|Distortion}} | ![]() ![]() |
{{Element|Distortion|Y}} | Distortion ![]() ![]() |
Code | Output | Code | Output |
First 4 elements are: Fire > Ice > Wind > Earth (see elemental resistances or elemental spell list) | |||
{{Element|First4}} | ![]() ![]() ![]() ![]() |
{{Element|First4|Y}} | First4 ![]() ![]() ![]() ![]() |
Last 4 elements are: Lightning > Water > Light > Dark (see elemental resistances or elemental spell list) | |||
{{Element|Last4}} | ![]() ![]() ![]() ![]() |
{{Element|Last4|Y}} | Last4 ![]() ![]() ![]() ![]() |
{{Element|AllLight}} | ![]() ![]() ![]() ![]() |
{{Element|AllLight|Y}} | Lightness ![]() ![]() ![]() ![]() |
{{Element|AllDark}} | ![]() ![]() ![]() ![]() |
{{Element|AllDark|Y}} | Darkness ![]() ![]() ![]() ![]() |
{{Element|All}} | ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
{{Element|All|Y}} | All ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |