Difference between revisions of "Template:Color"

From Underrail Wiki
Jump to navigation Jump to search
m (Protected "Template:Color": internal wiki page (‎[edit=sysop] (indefinite) ‎[move=sysop] (indefinite)))
m
Line 1: Line 1:
 
<span style="color:{{{1}}};">{{{2}}}</span><noinclude>
 
<span style="color:{{{1}}};">{{{2}}}</span><noinclude>
[[Category:Templates]]
+
[[Category:General wiki templates]]
  
 
= Documentation =
 
= Documentation =
Line 7: Line 7:
 
=== Syntax ===
 
=== Syntax ===
 
<code><nowiki>{{color|html color name or hex color|your text}}</nowiki></code>
 
<code><nowiki>{{color|html color name or hex color|your text}}</nowiki></code>
 +
 +
=== Example ===
 +
<code><nowiki>{{color|red|Hello world!}}</nowiki></code> results in {{color|red|Hello world!}}
 
</noinclude>
 
</noinclude>

Revision as of 11:27, 2 August 2013

{{{2}}}

Documentation

This is a simple template for inputting colored pieces of text.

Syntax

{{color|html color name or hex color|your text}}

Example

{{color|red|Hello world!}} results in Hello world!