Jump to content

Template:Input: Difference between revisions

From KDE UserBase Wiki
Siebrand (talk | contribs)
No edit summary
RogueScholar (talk | contribs)
Remove in-page documentation in favor of transcluded subpage
 
(27 intermediate revisions by 8 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|your code, single line or block}}</nowiki>
 
Included content begins here:
-----------------------------
</noinclude>
<pr<includeonly></includeonly>e style="margin-left: 4em; background-color:aliceblue; border:2px dotted #BCBCBC">
{{{1}}}
</pre><noinclude>
---------------------------
Included content ends here:
</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