Template:Input: Difference between revisions
Appearance
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> | |||
< | |||
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 | |||
}} | |||
[[Category:Template]] | [[Category:Template]] | ||
</noinclude> | |||
</noinclude |
Revision as of 10:08, 25 February 2025
{{{1}}}
- This documentation is transcluded from Template:Input/doc. (edit | history)
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
- Template:Output - a similar box for presenting some example output