Template:Ncolored: Difference between revisions

From 118Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<includeonly>{{#if: {{{2|}}}
<includeonly>{{#if: {{{3|}}}
|[[{{{2}}}, {{{1}}}|<font style="{{TextColor|{{{3|}}}}}">{{{1}}} {{{2}}}</font>]]
|[[{{{2}}}|<font style="{{TextColor|{{{1|}}}}}">{{{3}}}</font>]]
|[[{{{1}}}|<font style="{{TextColor|{{{3|}}}}}">{{{1}}}</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>

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