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
 
mNo edit summary
 
(2 intermediate revisions by the same user not shown)
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 = [[File:Distortion-Icon.gif]]
}}</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>

Latest revision as of 13:14, 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
  • {{Distortion|text}} results in "Distortion".