Difference between revisions of "Template:Icli"

From wiki.emacinc.com
Jump to: navigation, search
m (Fixed documentation.)
m (Improved.)
Line 6: Line 6:
 
Use it like this:
 
Use it like this:
  
  <nowiki>{{icli | cmd=ls -la}}</nowiki>
+
  <nowiki>{{icli | ls -la}}</nowiki>
  
</noinclude><includeonly><span style="padding-bottom:2px;padding-top:2px;padding-left:3px;padding-right:5px;background-color:#000000;">{{clitxt|fg=#aa0000}}root{{clitxts}}{{clitxt|fg=#ffffff}}@{{clitxts}}{{clitxt|fg=#00aaaa}}som9x25{{clitxts}}{{clitxt|fg=#ffffff}}:{{clitxts}}{{clitxt|fg=#54ffff}}~{{clitxts}}{{clitxt|fg=#ffff55}}#{{clitxts}}{{clitxt}} {{{cmd}}}{{clitxts}}</span></includeonly>
+
</noinclude><includeonly><span style="padding-bottom:2px;padding-top:2px;padding-left:3px;padding-right:5px;background-color:#000000;">{{clitxt|fg=#aa0000}}root{{clitxts}}{{clitxt|fg=#ffffff}}@{{clitxts}}{{clitxt|fg=#00aaaa}}som9x25{{clitxts}}{{clitxt|fg=#ffffff}}:{{clitxts}}{{clitxt|fg=#54ffff}}~{{clitxts}}{{clitxt|fg=#ffff55}}#{{clitxts}}{{clitxt}} {{{1}}}{{clitxts}}</span></includeonly>

Revision as of 18:18, 12 November 2014

The iCLI Template

This template displays the passed argument, cmd, at a simulated command line, inline.

Use it like this:

{{icli | ls -la}}