Template:Gravitation: Difference between revisions

From HorizonXI Wiki
(Created page with "<span style="display:inline-block">File:Gravitation-Icon.gif</span><noinclude>{{PAGENAME}}<br><br>'''Usage:'''<br>Use this template to show gravitation skillchain icon.</noinclude>")
 
mNo edit summary
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
<span style="display:inline-block">[[File:Gravitation-Icon.gif]]</span><noinclude>[[Category:Templates|{{PAGENAME}}]]<br><br>'''Usage:'''<br>Use this template to show gravitation skillchain icon.</noinclude>
<includeonly><onlyinclude><span style="display:inline-block">{{#switch:{{lc:{{{1|}}}}}
| text = [[:Category:Gravitation|{{Color|Dark|Gravi}}{{Color|Earth|tation}}]]
| #default = [[File:Gravitation-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:Gravitation|Gravitation]].
 
Example:
* <nowiki>{{Gravitation}}</nowiki> results in {{Gravitation}}
* <nowiki>{{Gravitation|text}}</nowiki> results in "{{Gravitation|text}}".
<noinclude>

Latest revision as of 13:15, 22 January 2025

Usage

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

Example:

  • {{Gravitation}} results in Gravitation-Icon.gif
  • {{Gravitation|text}} results in "Gravitation".