Template:Property: Difference between revisions
From HorizonXI Wiki
m (made icons unclickable and display name on hover) |
(set default to display none since weapon skill templates don't fill properties if they dont have any) |
||
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly><onlyinclude>{{#switch:{{lc:{{{1|}}}}} | <includeonly><onlyinclude>{{#switch:{{lc:{{{1|}}}}} | ||
| transfixion = {{#ifeq:{{lc:{{{2|}}}}}|icon|[[File: | | transfixion = {{#ifeq:{{lc:{{{2|}}}}}|icon|{{#ifeq:{{{3|}}}|plain|[[File:Light-square.gif|Light Element|link=]] |[[File:Transfixion-Icon.gif|Light Element|link=]]}}|}}<!-- | ||
| | -->[[Transfixion|{{#ifeq:{{{3|}}}|plain|Trans­fixion|{{Color|light|Trans­fixion}}}}]] | ||
| | | compression = {{#ifeq:{{lc:{{{2|}}}}}|icon|{{#ifeq:{{{3|}}}|plain|[[File:Dark-square.gif|Dark Element|link=]] |[[File:Compression-Icon.gif|Dark Element|link=]]}}|}}<!-- | ||
| | -->[[Compression|{{#ifeq:{{{3|}}}|plain|Com­pres­sion|{{Color|dark|Com­pres­sion}}}}]] | ||
| liquefaction ={{#ifeq:{{lc:{{{2|}}}}}|icon|{{#ifeq:{{{3|}}}|plain|[[File:Fire-square.gif|Fire Element|link=]] |[[File:Liquefaction-Icon.gif|Fire Element|link=]]}}|}}<!-- | |||
| | -->[[Liquefaction|{{#ifeq:{{{3|}}}|plain|Li­que­fac­tion|{{Color|fire|Li­que­fac­tion}}}}]] | ||
| | | scission = {{#ifeq:{{lc:{{{2|}}}}}|icon|{{#ifeq:{{{3|}}}|plain|[[File:Earth-square.gif|Earth Element|link=]] |[[File:Scission-Icon.gif|Earth Element|link=]]}}|}}<!-- | ||
| | -->[[Scission|{{#ifeq:{{{3|}}}|plain|Scis­sion|{{Color|earth|Scis­sion}}}}]] | ||
| | | reverberation = {{#ifeq:{{lc:{{{2|}}}}}|icon|{{#ifeq:{{{3|}}}|plain|[[File:Water-square.gif|Water Element|link=]] |[[File:Reverberation-Icon.gif|Water Element|link=]]}}|}}<!-- | ||
| | -->[[Reverberation|{{#ifeq:{{{3|}}}|plain|Rever­be­ra­tion|{{Color|water|Rever­be­ra­tion}}}}]] | ||
| | | detonation = {{#ifeq:{{lc:{{{2|}}}}}|icon|{{#ifeq:{{{3|}}}|plain|[[File:Wind-square.gif|Wind Element|link=]] |[[File:Detonation-Icon.gif|Wind Element|link=]]}}|}}<!-- | ||
| | -->[[Detonation|{{#ifeq:{{{3|}}}|plain|De­to­na­tion|{{Color|wind|De­to­na­tion}}}}]] | ||
| | | induration = {{#ifeq:{{lc:{{{2|}}}}}|icon|{{#ifeq:{{{3|}}}|plain|[[File:Ice-square.gif|Ice Element|link=]] |[[File:Induration-Icon.gif|Ice Element|link=]]}}|}}<!-- | ||
| | -->[[Induration|{{#ifeq:{{{3|}}}|plain|In­du­ra­tion|{{Color|ice|In­du­ra­tion}}}}]] | ||
| impaction = {{#ifeq:{{lc:{{{2|}}}}}|icon|{{#ifeq:{{{3|}}}|plain|[[File:Lightning-square.gif|Lightning Element|link=]] |[[File:Impaction-Icon.gif|Lightning Element|link=]]}}|}}<!-- | |||
-->[[Impaction|{{#ifeq:{{{3|}}}|plain|Im­pac­tion|{{Color|lightning|Im­pac­tion}}}}]] | |||
| gravitation = {{#ifeq:{{lc:{{{2|}}}}}|icon|{{#ifeq:{{{3|}}}|plain|[[File:Dark-square.gif|Dark Element|link=]][[File:Earth-square.gif|Earth Element|link=]] |[[File:Gravitation-Icon.gif|Dark Element and Earth Element|link=]]}}|}}<!-- | |||
-->[[Gravitation|{{#ifeq:{{{3|}}}|plain|Gra­vi­ta­tion|{{Color|dark|Gra­vi­}}{{Color|earth|ta­tion}}}}]] | |||
| distortion = {{#ifeq:{{lc:{{{2|}}}}}|icon|{{#ifeq:{{{3|}}}|plain|[[File:Water-square.gif|Water Element|link=]][[File:Ice-square.gif|Ice Element|link=]] |[[File:Distortion-Icon.gif|Water Element and Ice Element|link=]]}}|}}<!-- | |||
-->[[Distortion|{{#ifeq:{{{3|}}}|plain|Dis­tor­tion|{{Color|water|Dis­to}}{{Color|ice|r­tion}}}}]] | |||
| fusion = {{#ifeq:{{lc:{{{2|}}}}}|icon|{{#ifeq:{{{3|}}}|plain|[[File:Light-square.gif|Light Element|link=]][[File:Fire-square.gif|Fire Element|link=]] |[[File:Fusion-Icon.gif|Light Element and Fire Element|link=]]}}|}}<!-- | |||
-->[[Fusion|{{#ifeq:{{{3|}}}|plain|Fu­sion|{{Color|light|Fu­s}}{{Color|fire|ion}}}}]] | |||
| fragmentation = {{#ifeq:{{lc:{{{2|}}}}}|icon|{{#ifeq:{{{3|}}}|plain|[[File:Lightning-square.gif|Lightning Element|link=]][[File:Wind-square.gif|Wind Element|link=]] |[[File:Fragmentation-Icon.gif|Lightning Element and Wind Element|link=]]}}|}}<!-- | |||
-->[[Fragmentation|{{#ifeq:{{{3|}}}|plain|Frag­men­ta­tion|{{Color|lightning|Frag­me}}{{Color|wind|n­ta­tion}}}}]] | |||
| light = {{#ifeq:{{lc:{{{2|}}}}}|icon|{{#ifeq:{{{3|}}}|plain|[[File:Light-square.gif|Light Element|link=]][[File:Fire-square.gif|Fire Element|link=]][[File:Lightning-square.gif|Lightning Element|link=]][[File:Wind-square.gif|Wind Element|link=]] |[[File:Light-Icon.gif|Light, Fire, Lightning and Wind Elements|link=]]}}|}}<!-- | |||
-->[[Light_(Skillchain)|{{#ifeq:{{{3|}}}|plain|Light|{{Color|light|Li}}{{Color|fire|g}}{{Color|lightning|h}}{{Color|wind|t}}}}]] | |||
| darkness = {{#ifeq:{{lc:{{{2|}}}}}|icon|{{#ifeq:{{{3|}}}|plain|[[File:Dark-square.gif|Dark Element|link=]][[File:Earth-square.gif|Earth Element|link=]][[File:Water-square.gif|Water Element|link=]][[File:Ice-square.gif|Ice Element|link=]] |[[File:Dark-Icon.gif|Dark, Earth, Water and Ice Elements|link=]]}}|}}<!-- | |||
-->[[Darkness|{{#ifeq:{{{3|}}}|plain|Dark­ness|{{Color|dark|Da}}{{Color|earth|rk­}}{{Color|water|ne}}{{Color|ice|ss}}}}]] | |||
<!-- old colors for level 2 and 3 deviated from level 1. also transfixion: #999999 and compression: #696969 --> | <!-- old colors for level 2 and 3 deviated from level 1. also transfixion: #999999 and compression: #696969 --> | ||
<!-- | <!-- | ||
Line 24: | Line 38: | ||
--> | --> | ||
| null = | | null = | ||
| #default = | | #default = ''None'' | ||
}}</onlyinclude></includeonly><noinclude>[[Category:Templates|{{PAGENAME}}]] | }}</onlyinclude></includeonly><noinclude>[[Category:Templates|{{PAGENAME}}]] | ||
==Usage== | ==Usage== | ||
<pre> | <pre> | ||
{{Property| | {{Property|<skillchain>|icon|plain}} | ||
</pre> | </pre> | ||
* '''Note:''' Use '''without''' the second parameter to display the text without the icon in front. | * '''Note:''' Parameters ''icon'' and ''plain'' are optional. Use '''without''' the second parameter to display the text without the icon in front. | ||
===Examples with icon=== | |||
*<nowiki>{{Property|Transfixion|icon}}</nowiki> results in {{Property|Transfixion|icon}}. | *<nowiki>{{Property|Transfixion|icon}}</nowiki> results in {{Property|Transfixion|icon}}. | ||
*<nowiki>{{Property|Compression|icon}}</nowiki> results in {{Property|Compression|icon}}. | *<nowiki>{{Property|Compression|icon}}</nowiki> results in {{Property|Compression|icon}}. | ||
Line 47: | Line 62: | ||
*<nowiki>{{Property|Light|icon}}</nowiki> results in {{Property|Light|icon}}. | *<nowiki>{{Property|Light|icon}}</nowiki> results in {{Property|Light|icon}}. | ||
*<nowiki>{{Property|Darkness|icon}}</nowiki> results in {{Property|Darkness|icon}}. | *<nowiki>{{Property|Darkness|icon}}</nowiki> results in {{Property|Darkness|icon}}. | ||
===Examples with icon and plain=== | |||
*<nowiki>{{Property|Transfixion|icon|plain}}</nowiki> results in {{Property|Transfixion|icon|plain}}. | |||
*<nowiki>{{Property|Compression|icon|plain}}</nowiki> results in {{Property|Compression|icon|plain}}. | |||
*<nowiki>{{Property|Liquefaction|icon|plain}}</nowiki> results in {{Property|Liquefaction|icon|plain}}. | |||
*<nowiki>{{Property|Scission|icon|plain}}</nowiki> results in {{Property|Scission|icon|plain}}. | |||
*<nowiki>{{Property|Reverberation|icon|plain}}</nowiki> results in {{Property|Reverberation|icon|plain}}. | |||
*<nowiki>{{Property|Detonation|icon|plain}}</nowiki> results in {{Property|Detonation|icon|plain}}. | |||
*<nowiki>{{Property|Induration|icon|plain}}</nowiki> results in {{Property|Induration|icon|plain}}. | |||
*<nowiki>{{Property|Impaction|icon|plain}}</nowiki> results in {{Property|Impaction|icon|plain}}. | |||
*<nowiki>{{Property|Gravitation|icon|plain}}</nowiki> results in {{Property|Gravitation|icon|plain}}. | |||
*<nowiki>{{Property|Distortion|icon|plain}}</nowiki> results in {{Property|Distortion|icon|plain}}. | |||
*<nowiki>{{Property|Fusion|icon|plain}}</nowiki> results in {{Property|Fusion|icon|plain}}. | |||
*<nowiki>{{Property|Fragmentation|icon|plain}}</nowiki> results in {{Property|Fragmentation|icon|plain}}. | |||
*<nowiki>{{Property|Light|icon|plain}}</nowiki> results in {{Property|Light|icon|plain}}. | |||
*<nowiki>{{Property|Darkness|icon|plain}}</nowiki> results in {{Property|Darkness|icon|plain}}. | |||
===Others=== | |||
*<nowiki>{{Property|null}}</nowiki> results in {{Property|null}}. | *<nowiki>{{Property|null}}</nowiki> results in {{Property|null}}. | ||
*<nowiki>{{Property|<anything else>}}</nowiki> results in {{Property|<anything else>}}. | *<nowiki>{{Property|<anything else>}}</nowiki> results in {{Property|<anything else>}}. | ||
</noinclude> | </noinclude> |
Latest revision as of 22:50, 4 December 2023
Usage
{{Property|<skillchain>|icon|plain}}
- Note: Parameters icon and plain are optional. Use without the second parameter to display the text without the icon in front.
Examples with icon
- {{Property|Transfixion|icon}} results in Transfixion.
- {{Property|Compression|icon}} results in Compression.
- {{Property|Liquefaction|icon}} results in Liquefaction.
- {{Property|Scission|icon}} results in Scission.
- {{Property|Reverberation|icon}} results in Reverberation.
- {{Property|Detonation|icon}} results in Detonation.
- {{Property|Induration|icon}} results in Induration.
- {{Property|Impaction|icon}} results in Impaction.
- {{Property|Gravitation|icon}} results in Gravitation.
- {{Property|Distortion|icon}} results in Distortion.
- {{Property|Fusion|icon}} results in Fusion.
- {{Property|Fragmentation|icon}} results in Fragmentation.
- {{Property|Light|icon}} results in Light.
- {{Property|Darkness|icon}} results in Darkness.
Examples with icon and plain
- {{Property|Transfixion|icon|plain}} results in Transfixion.
- {{Property|Compression|icon|plain}} results in Compression.
- {{Property|Liquefaction|icon|plain}} results in Liquefaction.
- {{Property|Scission|icon|plain}} results in Scission.
- {{Property|Reverberation|icon|plain}} results in Reverberation.
- {{Property|Detonation|icon|plain}} results in Detonation.
- {{Property|Induration|icon|plain}} results in Induration.
- {{Property|Impaction|icon|plain}} results in Impaction.
- {{Property|Gravitation|icon|plain}} results in Gravitation.
- {{Property|Distortion|icon|plain}} results in Distortion.
- {{Property|Fusion|icon|plain}} results in Fusion.
- {{Property|Fragmentation|icon|plain}} results in Fragmentation.
- {{Property|Light|icon|plain}} results in Light.
- {{Property|Darkness|icon|plain}} results in Darkness.
Others
- {{Property|null}} results in .
- {{Property|<anything else>}} results in None.