Difference between revisions of "Template:Color Link"

From HeRO Wiki
Jump to: navigation, search
(Created page with "<includeonly>[[{{{2}}}|<span style="color:{{{1}}};">{{{3|{{{2}}}}}}</span>]]</includeonly><noinclude>__NOTOC__ This template is used to create a link to another wiki page with...")
 
(Blanked the page)
 
Line 1: Line 1:
<includeonly>[[{{{2}}}|<span style="color:{{{1}}};">{{{3|{{{2}}}}}}</span>]]</includeonly><noinclude>__NOTOC__
 
This template is used to create a link to another wiki page without being color forced.
 
  
==Usage==
 
<pre>{{Colorlink|color or #hex|destination|text}}</pre>
 
*'''color or #hex''' is the color to be used.
 
*'''destination''' is the destination page.
 
*'''text''' is the visible text.
 
 
===Example===
 
{|class=wikitable
 
|<code><nowiki>{{Colorlink|red|Main Page|The first page}}</nowiki></code>||{{Colorlink|red|Main Page|The first page}}
 
|-
 
|<code><nowiki>{{Colorlink|blue|Swordman|A first class}}</nowiki></code>||{{Colorlink|blue|Swordman|A first class}}
 
|-
 
|<code><nowiki>{{Colorlink|#008000|Experience#Mechanics|Experience mechanics}}</nowiki></code>||{{Colorlink|#008000|Experience#Mechanics|Experience mechanics}}
 
|}
 
 
[[Category:Templates]]
 
</noinclude>
 

Latest revision as of 01:55, 22 August 2023