Template:Inline-code

{{{1}}} Template:Documentation

TemplateData

Template:TemplateData header

An inline source code string.

[Edit template data]

Template parameters

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: Extension:SyntaxHighlight#Supported_languages

Default
php
Example
sql
Stringsuggested
Classclass

no description

Stringoptional
IDid

no description

Stringoptional
CSS Stylestyle

no description

Stringoptional