Template:Input: Difference between revisions

From KDE UserBase Wiki
No edit summary
(Modify styling to resemble old look)
 
(22 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>
<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 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}}}