Template:Input: Difference between revisions

From KDE UserBase Wiki
No edit summary
(Modify styling to resemble old look)
 
(28 intermediate revisions by 8 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.


Included content begins here:
==Usage==
-----------------------------
 
</noinclude>
<nowiki>{{Input|1=your code, single line or block}}</nowiki>
<pr<includeonly>e</includeonly> style="margin-left: 4em; background-color:aliceblue; border:2px dotted #BCBCBC">
 
{{{1}}}
which displays
</pre><noinclude>
{{Input|1=your code, single line or block}}
---------------------------
 
Included content ends here:
== See also ==
</noinclude>
 
* [[Template:Output]] - similar box for outlining some output
[[Category:Template]]
 
----
</noinclude><pr<includeonly></includeonly>e style="background-color:lightyellow;">{{{1}}}</pre>

Latest revision as of 09:37, 30 August 2023

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}}}