Template:Code

From Not a Wiki
Revision as of 22:33, 26 July 2023 by Fifo F (talk | contribs) (Text replacement - "MediaWikiWiki" to "mw")
(diff) ← Previous revision | Latest revision (diff) | Next revision → (diff)

{{{1}}}

Usage

An inline source code string.

Template parameters[Edit template data]

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Code1 code

The code to display.

Stringrequired
Language2 lang

The programming language of the source code. List of valid values is at: [[mw:Extension:SyntaxHighlight#Supported_languages]]

Default
text
Stringsuggested
Classclass

no description

Stringoptional
IDid

no description

Stringoptional
CSS Stylestyle

no description

Stringoptional