Template:Ncolor: Difference between revisions

From 118Wiki
Jump to navigation Jump to search
(updating instructions for current character page naming policy)
(Added third parameter)
 
Line 1: Line 1:
<includeonly>{{#if: {{{3|}}}
<includeonly>{{#if: {{{3|}}}
|[[{{{3}}}, {{{2}}}|<font color={{{1}}}>{{{2}}} {{{3}}}</font>]]
|[[{{{2}}}|<font color={{{1}}}>{{{3}}}</font>]]
|[[{{{2}}}|<font color={{{1}}}>{{{2}}}</font>]]
|[[{{{2}}}|<font color={{{1}}}>{{{2}}}</font>]]
}}</includeonly><noinclude>
}}</includeonly><noinclude>
Line 14: Line 14:


{{ncolor|darkgoldenrod|Starfleet Corps of Engineers}}
{{ncolor|darkgoldenrod|Starfleet Corps of Engineers}}
You can also change the text of the link by adding a third parameter:
<pre>{{ncolor|darkgoldenrod|Starfleet Corps of Engineers|SCE}}</pre>
{{ncolor|darkgoldenrod|Starfleet Corps of Engineers|SCE}}


[[Category:Templates]]
[[Category:Templates]]
</noinclude>
</noinclude>

Latest revision as of 21:09, 15 March 2019

This template gives a link to a character's page in a specified color instead of blue.

{{ncolor|teal|Tenzin Zhou}}

Tenzin Zhou

You can also use this template to make ANY link a specific color rather than blue:

{{ncolor|darkgoldenrod|Starfleet Corps of Engineers}}

Starfleet Corps of Engineers

You can also change the text of the link by adding a third parameter:

{{ncolor|darkgoldenrod|Starfleet Corps of Engineers|SCE}}

SCE