Difference between revisions of "Template:Clitxt"

From wiki.emacinc.com
Jump to: navigation, search
m (Undo revision 3771 by Mdean (talk))
m (testing)
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:{{{fg}}};">
+
</noinclude><code style="background-color:#000000;color:{{#ifeq:{{{fg|}}}|{{{fg|-}}}|{{{fg}}}|#ffffff}};">

Revision as of 16:11, 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.