Template:Property: Difference between revisions
From HorizonXI Wiki
(added third parameter to toggle plain display) |
(set default to display none since weapon skill templates don't fill properties if they dont have any) |
||
(2 intermediate revisions by the same user not shown) | |||
Line 8: | Line 8: | ||
| scission = {{#ifeq:{{lc:{{{2|}}}}}|icon|{{#ifeq:{{{3|}}}|plain|[[File:Earth-square.gif|Earth Element|link=]] |[[File:Scission-Icon.gif|Earth Element|link=]]}}|}}<!-- | | 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}}}}]] | -->[[Scission|{{#ifeq:{{{3|}}}|plain|Scis­sion|{{Color|earth|Scis­sion}}}}]] | ||
| reverberation = {{#ifeq:{{lc:{{{2|}}}}}|icon|{{#ifeq:{{{3|}}}|plain|[[File:Water-square.gif| | | 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}}}}]] | -->[[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:{{lc:{{{2|}}}}}|icon|{{#ifeq:{{{3|}}}|plain|[[File:Wind-square.gif|Wind Element|link=]] |[[File:Detonation-Icon.gif|Wind Element|link=]]}}|}}<!-- | ||
Line 38: | Line 38: | ||
--> | --> | ||
| null = | | null = | ||
| #default = | | #default = ''None'' | ||
}}</onlyinclude></includeonly><noinclude>[[Category:Templates|{{PAGENAME}}]] | }}</onlyinclude></includeonly><noinclude>[[Category:Templates|{{PAGENAME}}]] | ||
==Usage== | ==Usage== |
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.