Template:Ncolored: Difference between revisions

From 118Wiki
Jump to navigation Jump to search
(rewritten to conform with Template:Ncolor syntax)
No edit summary
 
Line 1: Line 1:
<includeonly>{{#if: {{{3|}}}
<includeonly>{{#if: {{{3|}}}
|[[{{{3}}}, {{{2}}}|<font style="{{TextColor|{{{1|}}}}}">{{{2}}} {{{3}}}</font>]]
|[[{{{2}}}|<font style="{{TextColor|{{{1|}}}}}">{{{3}}}</font>]]
|[[{{{2}}}|<font style="{{TextColor|{{{1|}}}}}">{{{2}}}</font>]]
|[[{{{2}}}|<font style="{{TextColor|{{{1|}}}}}">{{{2}}}</font>]]
}}</includeonly><noinclude>
}}</includeonly><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}}

Ceciri Ariadust

Also works for a link to any other page:

{{Ncolored|Teal|Starfleet Medical}}

Starfleet Medical