Template:Input: Difference between revisions

From KDE UserBase Wiki
mNo edit summary
(Modify styling to resemble old look)
 
(24 intermediate revisions by 7 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>
which displays
<pr<includeonly></includeonly>e style="margin-left: 4em; background-color:aliceblue; border:2px dotted #BCBCBC">
{{Input|1=your code, single line or block}}
{{{1}}}
 
</pre><noinclude>
== See also ==
---------------------------
 
Included content ends here:
* [[Template:Output]] - similar box for outlining some output
</noinclude>
[[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}}}