Template:Distortion: Difference between revisions

From HorizonXI Wiki
(Created page with "<span style="display:inline-block">File:Distortion-Icon.gif</span><noinclude>{{PAGENAME}}<br><br>'''Usage:'''<br>Use this template to show distortion skillchain icon.</noinclude>")
Tag: visualeditor-wikitext
 
No edit summary
Line 1: Line 1:
<span style="display:inline-block">[[File:Distortion-Icon.gif]]</span><noinclude>[[Category:Templates|{{PAGENAME}}]]<br><br>'''Usage:'''<br>Use this template to show distortion skillchain icon.</noinclude>
<includeonly><onlyinclude><span style="display:inline-block">{{#switch:{{lc:{{{1|}}}}}
| text = [[:Category:Distortion|{{Color|water|Disto}}{{Color|Ice|rtion}}]]
| #default = <span style="display:inline-block">[[File:Distortion-Icon.gif]]</span>
}}</span>
</onlyinclude></includeonly>[[Category:Templates|{{PAGENAME}}]]<!--
 
--><noinclude>
==Usage==
A simple template which replicates the text color or icon of the [[:Category:Skillchain|skillchain]] [[:Category:Distortion|Distortion]].
 
Example:
* <nowiki>{{Distortion}}</nowiki> results in {{Distortion}}
* <nowiki>{{Distortion|text}}</nowiki> results in "{{Distortion_Text}}".
<noinclude>

Revision as of 12:40, 22 January 2025

Usage

A simple template which replicates the text color or icon of the skillchain Distortion.

Example:

  • {{Distortion}} results in Distortion-Icon.gif