Template:Link: Difference between revisions

From Heroes 3 wiki
Jump to navigation Jump to search
mNo edit summary
(swap parameter order)
 
Line 1: Line 1:
[[{{{1}}}|<span style="color:{{{2|blue}}}">{{{1}}}</span>]]<noinclude>
[[{{{2}}}|<span style="color:{{{1|blue}}}">{{{3|{{{2}}}}}}</span>]]<noinclude>
__NOTOC__
__NOTOC__
==Documentation==
==Documentation==
Line 5: Line 5:


== Examples ==
== Examples ==
* <nowiki>{{link|Dead or Alive|orange}}</nowiki> -> {{link|Dead or Alive|orange}}
* <nowiki>{{link|orange|Dead or Alive|long level}}</nowiki> -> {{link|orange|Dead or Alive|long level}}
* <nowiki>{{link|Proposals|#{{teal 2}}}}</nowiki> -> {{link|Proposals|#{{teal 2}}}}
* <nowiki>{{link|#{{teal 2}}|Proposals}}</nowiki> -> {{link|#{{teal 2}}|Proposals}}


[[Category:Text templates]]
[[Category:Text templates]]
</noinclude>
</noinclude>

Latest revision as of 17:02, 8 May 2024

[[{{{2}}}|{{{2}}}]]

Documentation[edit]

The link template is a simple macro template used to make a link a custom color.

Examples[edit]

  • {{link|orange|Dead or Alive|long level}} -> long level
  • {{link|#{{teal 2}}|Proposals}} -> Proposals