Jump to content

Template:Input: Difference between revisions

From KDE UserBase Wiki
Claus chr (talk | contribs)
use syntaxhighlight
RogueScholar (talk | contribs)
Remove in-page documentation in favor of transcluded subpage
 
(10 intermediate revisions by 6 users not shown)
Line 1: Line 1:
<noinclude>
{{#tag:syntaxhighlight|{{{1}}}|lang="{{{lang|{{{2|text}}}}}}"{{#if:{{{inline|}}}|&#124;inline="1"}}{{#if:{{{linenums|}}}|&#124;line="1"}}{{#if:{{{start|}}}|&#124;start="{{{start|1}}}"}}}}<noinclude>
This template should be used whenever you are indicating input commands.
{{Documentation}}</noinclude>
 
==Usage==
 
<nowiki>{{Input|1=your code, single line or block}}</nowiki>
 
which displays
{{Input|1=your code, single line or block}}
 
== See also ==
 
* [[Template:Output]] - similar box for outlining some output
[[Category:Template]]
----
<pr<includeonly></includeonly>e style="margin-left: 0em; background-color:lemonchiffon; border:2px dotted #BCBCBC;">{{{1}}}</pre>
 
</noinclude><syntaxhighlight lang="text">{{{1}}}</syntaxhighlight>

Latest revision as of 10:33, 25 February 2025

{{{1}}}
Template information icon Template documentation [edit] [purge]

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

Usage

{{Input|1=your code, single line or block|lang=language tag}} which displays:

your code, single line or block

See also