Template:Ncolored: Difference between revisions
Jump to navigation
Jump to search
(created a colored link template) |
No edit summary |
||
(4 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
<includeonly>{{#if: {{{ | <includeonly>{{#if: {{{3|}}} | ||
|[[{{{2 | |[[{{{2}}}|<font style="{{TextColor|{{{1|}}}}}">{{{3}}}</font>]] | ||
|[[{{{ | |[[{{{2}}}|<font style="{{TextColor|{{{1|}}}}}">{{{2}}}</font>]] | ||
}}</includeonly><noinclude> | }}</includeonly><noinclude> | ||
Same function as the [[Template: | Same function as the [[Template:Ncolor]] but lets you use the standard rank color names (red, gold, etc.) instead of the actual HTML color names (maroon, darkgoldenrod, etc.). | ||
<pre>{{Ncolored|Red|Ceciri Ariadust}}</pre> | |||
{{Ncolored|Red|Ceciri Ariadust}} | |||
Also works for a link to any other page: | |||
<pre>{{Ncolored|Teal|Starfleet Medical}}</pre> | |||
{{Ncolored|Teal|Starfleet Medical}} | |||
[[Category:Templates]] | [[Category:Templates]] | ||
</noinclude> | </noinclude> |
Latest revision as of 21:13, 15 March 2019
Same function as the Template:Ncolor but lets you use the standard rank color names (red, gold, etc.) instead of the actual HTML color names (maroon, darkgoldenrod, etc.).
{{Ncolored|Red|Ceciri Ariadust}}
Also works for a link to any other page:
{{Ncolored|Teal|Starfleet Medical}}