Jump to content

Template:Input: Difference between revisions

From KDE UserBase Wiki
Claus chr (talk | contribs)
Modify styling to resemble old look
RogueScholar (talk | contribs)
Upgrade to use SyntaxHighlight extension which supports Vector 2022 skin's dark mode
Line 1: Line 1:
<noinclude>
<syntaxhighlight lang="{{{lang|{{{2|text}}}}}}">{{{1}}}</syntaxhighlight><noinclude>{{Documentation|content=
This template should be used whenever you are indicating input commands.
This template should be used whenever you are indicating input commands.


==Usage==
== Usage ==
 
<syntaxhighlight lang="wikitext" inline>{{Input|1=your code, single line or block|lang=language tag}}</syntaxhighlight>
<nowiki>{{Input|1=your code, single line or block}}</nowiki>


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


== See also ==
== See also ==
* [[Template:Output]] - a similar box for presenting some example output
}}


* [[Template:Output]] - similar box for outlining some output
[[Category:Template]]
[[Category:Template]]
 
</noinclude>
----
</noinclude><pr<includeonly></includeonly>e style="background-color:lightyellow;">{{{1}}}</pre>

Revision as of 10:08, 25 February 2025

{{{1}}}

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

{{{1}}}

See also