Difference between revisions of "Template:Clitxt"

From wiki.emacinc.com
Jump to: navigation, search
m (testing)
m (Undo revision 3771 by Mdean (talk))
Line 9: Line 9:
  
 
Passing <code>fg=#aa0000</code> sets the text color to red.
 
Passing <code>fg=#aa0000</code> sets the text color to red.
</noinclude><code style="background-color:#000000;color:{{#if: {{{fg}}}|#ffffff|#ff00ff}};">
+
</noinclude><code style="background-color:#000000;color:{{{fg}}};">

Revision as of 16:09, 12 November 2014

Format Tag for Command-line Text

Use it like this:


{{clitxt|fg=#aa0000}}

Passing fg=#aa0000 sets the text color to red.