Template:Ncolored: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
(rewritten to conform with Template:Ncolor syntax) |
||
Line 1: | Line 1: | ||
<includeonly>{{#if: {{{ | <includeonly>{{#if: {{{3|}}} | ||
|[[{{{ | |[[{{{3}}}, {{{2}}}|<font style="{{TextColor|{{{1|}}}}}">{{{2}}} {{{3}}}</font>]] | ||
|[[{{{ | |[[{{{2}}}|<font style="{{TextColor|{{{1|}}}}}">{{{2}}}</font>]] | ||
}}</includeonly><noinclude> | }}</includeonly><noinclude> | ||
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.). | 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> |
Revision as of 06:12, 14 August 2016
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}}