Difference between revisions of "Template:Color"

From NEStalgia
Jump to: navigation, search
(Created page with "<span style="color:#{{#switch:{{{1|}}} |R|r=fa6464 |G|g=64fa64 |B|b=64c8fa |#default=333333 }};">{{{2|}}}</span> <noinclude> ==Documentation== This template is a shorthand for c...")
 
m
 
Line 4: Line 4:
 
|B|b=64c8fa
 
|B|b=64c8fa
 
|#default=333333
 
|#default=333333
}};">{{{2|}}}</span>
+
}};">{{{2|}}}</span><noinclude>
 
 
<noinclude>
 
 
==Documentation==
 
==Documentation==
 
This template is a shorthand for coloring keywords like in the game.
 
This template is a shorthand for coloring keywords like in the game.
 
<div style="background-color:#141414; color:#fafafa; font-weight:bold;">
 
<div style="background-color:#141414; color:#fafafa; font-weight:bold;">
 
*<nowiki>{{Color|R|Red text}}</nowiki> will produce {{Color|R|Red text}}.
 
*<nowiki>{{Color|R|Red text}}</nowiki> will produce {{Color|R|Red text}}.
*<nowiki>{{Color|G|Green text}}</nowiki> will produce {{Color|B|Green text}}.
+
*<nowiki>{{Color|G|Green text}}</nowiki> will produce {{Color|G|Green text}}.
 
*<nowiki>{{Color|B|Blue text}}</nowiki> will produce {{Color|B|Blue text}}.</div>
 
*<nowiki>{{Color|B|Blue text}}</nowiki> will produce {{Color|B|Blue text}}.</div>
 
</noinclude>
 
</noinclude>

Latest revision as of 21:38, 26 April 2014

Documentation

This template is a shorthand for coloring keywords like in the game.

  • {{Color|R|Red text}} will produce Red text.
  • {{Color|G|Green text}} will produce Green text.
  • {{Color|B|Blue text}} will produce Blue text.