Difference between revisions of "Template:Clitxt"

From wiki.emacinc.com
Jump to: navigation, search
m (testing)
m (testing)
Line 15: Line 15:
 
Use the <nowiki>{{clitxts}}</nowiki> tag (CLI Text Stop) to end the text and return to normal wiki text.
 
Use the <nowiki>{{clitxts}}</nowiki> tag (CLI Text Stop) to end the text and return to normal wiki text.
  
</noinclude><code style="background-color:#000000;color:{{#ifeq:{{{fg|}}}|{{{fg|-}}}|{{{fg}}}|#ffffff}};padding-bottom:2px;padding-top:2px;padding-left:5px;padding-right:5px;">
+
</noinclude><code style="background-color:#000000;color:{{#ifeq:{{{fg|}}}|{{{fg|-}}}|{{{fg}}}|#ffffff}};padding-bottom:2px;padding-top:2px;padding-left:3px;padding-right:5px;">

Revision as of 17:25, 12 November 2014

Format Tag for Command-line Text

Use it like this:

{{clitxt|fg=#aa0000}}some red text

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

If no color code is specified, it sets the text color back to bright white:

{{clitxt}}some bright white text

Use the {{clitxts}} tag (CLI Text Stop) to end the text and return to normal wiki text.