Difference between revisions of "Template:Icli"

From wiki.emacinc.com
Jump to: navigation, search
m (Added includeonly tag.)
m (Fixed documentation.)
Line 6: Line 6:
 
Use it like this:
 
Use it like this:
  
<nowiki>{{icli | cmd=ls -la}}</nowiki>
+
<nowiki>{{icli | cmd=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}} {{{cmd}}}{{clitxts}}</span></includeonly>

Revision as of 18:16, 12 November 2014

The iCLI Template

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

Use it like this:

{{icli | cmd=ls -la}}