Difference between revisions of "Template:Clitxt"

From wiki.emacinc.com
Jump to: navigation, search
m (Tweaked)
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:{{#if: {{{fg}}}|#ffffff|#ff00ff}};">

Revision as of 15:08, 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.