Template:Input: Difference between revisions

From KDE Wiki Sandbox
No edit summary
m (fix for new theme)
 
(21 intermediate revisions by 6 users not shown)
Line 2: Line 2:
This template should be used whenever you are indicating input commands.
This template should be used whenever you are indicating input commands.


Usage: <nowiki>{{Input|1=your code, single line or block}}</nowiki>
==Usage==


Included content begins here:
<nowiki>{{Input|1=your code, single line or block}}</nowiki>
-----------------------------
</noinclude>
<pr<includeonly></includeonly>e style="margin-left: 4em; background-color:lemonchiffon; border:2px dotted #BCBCBC">
{{{1}}}
</pre><noinclude>
---------------------------
Included content ends here:
</noinclude>


<noinclude>
which displays
which displays
{{Input|1=your code, single line or block}}</noinclude>
{{Input|1=your code, single line or block}}
 
== See also ==
 
* [[Template:Output]] - similar box for outlining some output
[[Category:Template]]
 
----
</noinclude><pr<includeonly></includeonly>e class="ml-0 pre-input">{{{1}}}</pre>

Latest revision as of 20:40, 13 July 2019

This template should be used whenever you are indicating input commands.

Usage

{{Input|1=your code, single line or block}}

which displays

your code, single line or block

See also


{{{1}}}