Template:Code

From Not a Wiki

{{{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