Jump to content

Template:Input: Difference between revisions

From KDE UserBase Wiki
Gallaecio (talk | contribs)
Trying to avoid the unnecesary line break again.
RogueScholar (talk | contribs)
Remove in-page documentation in favor of transcluded subpage
 
(15 intermediate revisions by 7 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
 
----
</noinclude><pr<includeonly></includeonly>e style="margin-left: 0em; background-color:lemonchiffon; border:2px dotted #BCBCBC">{{{1}}}</pre>

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