Template:Gravitation: Difference between revisions

From HorizonXI Wiki
No edit summary
mNo edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<includeonly><onlyinclude><span style="display:inline-block">{{#switch:{{lc:{{{1|}}}}}
<includeonly><onlyinclude><span style="display:inline-block">{{#switch:{{lc:{{{1|}}}}}
| text = [[:Category:Gravitation|{{Color|Dark|Gravi}}{{Color|Earth|tation}}]]
| text = [[:Category:Gravitation|{{Color|Dark|Gravi}}{{Color|Earth|tation}}]]
| #default = <span style="display:inline-block">[[File:Gravitation-Icon.gif]]</span>
| #default = [[File:Gravitation-Icon.gif]]
}}</span>
}}</span></onlyinclude></includeonly>[[Category:Templates|{{PAGENAME}}]]<!--
</onlyinclude></includeonly>[[Category:Templates|{{PAGENAME}}]]<!--


--><noinclude>
--><noinclude>
Line 11: Line 10:
Example:
Example:
* <nowiki>{{Gravitation}}</nowiki> results in {{Gravitation}}
* <nowiki>{{Gravitation}}</nowiki> results in {{Gravitation}}
* <nowiki>{{Gravitation|text}}</nowiki> results in "{{Gravitation_Text}}".
* <nowiki>{{Gravitation|text}}</nowiki> results in "{{Gravitation|text}}".
<noinclude>
<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".