Difference between revisions of "Template:Clitxt"
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.