Template:Tl: Difference between revisions

From Heroes 3 wiki
Jump to navigation Jump to search
Legate (talk | contribs)
add the ability to color the links
Turnam (talk | contribs)
make tl not override default link color style
 
Line 1: Line 1:
{{[[Template:{{{1}}}|<span style="color:{{{2|blue}}}">{{{1}}}</span>]]}}<noinclude>
{{[[Template:{{{1}}}|{{#if:{{{2|}}}|<span style="color:{{{2}}}">{{{1}}}</span>|{{{1}}}}}]]}}<noinclude>
__NOTOC__
__NOTOC__
==Documentation==
==Documentation==
Line 8: Line 8:
* {{tl|Blue 2|red}}
* {{tl|Blue 2|red}}
* {{tl|Blue 3|green}}
* {{tl|Blue 3|green}}
* {{tl|Blue 4|#F7DE7B}}


==Sources==
==Sources==

Latest revision as of 00:28, 23 March 2025

{{[[Template:{{{1}}}|{{{1}}}]]}}

Documentation[edit | hide | hide all]

The template link template is a simple macro template used to display a template name as a link surrounded by braces, thus showing how the template name would be used in code. Its primary use is in instruction and documentation.

Examples[edit | hide]

Sources[edit | hide]

wikipedia:Template:tl