Jump to content

Template:Input: Difference between revisions

From KDE UserBase Wiki
Pipesmoker (talk | contribs)
No edit summary
RogueScholar (talk | contribs)
Remove in-page documentation in favor of transcluded subpage
 
(20 intermediate revisions by 8 users not shown)
Line 1: Line 1:
<pr<includeonly></includeonly>e style="margin-left: 0em; background-color:lemonchiffon; border:2px dotted #BCBCBC">
{{#tag:syntaxhighlight|{{{1}}}|lang="{{{lang|{{{2|text}}}}}}"{{#if:{{{inline|}}}|&#124;inline="1"}}{{#if:{{{linenums|}}}|&#124;line="1"}}{{#if:{{{start|}}}|&#124;start="{{{start|1}}}"}}}}<noinclude>
{{{1}}}
{{Documentation}}</noinclude>
</pre>
<noinclude>
This template should be used whenever you are indicating input commands.
 
==Usage==
 
<nowiki>{{Input|1=your code, single line or block}}</nowiki>
 
which displays
{{Input|1=your code, single line or block}}
</noinclude>

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