Content deleted Content added
Created page with "{{#if: {{{blcok|}}}|<syntaxhighlight lang="{{{lang|javascript}}}" line="1"> {{{1|}}} </syntaxhighlight> |<code style="direction: ltr">{{{1|}}}</code>}}" |
No edit summary |
||
| Line 1: | Line 1: | ||
{{#if: {{{ |
{{#if: {{{block|}}}|<syntaxhighlight lang="{{{lang|javascript}}}" line="1"> |
||
{{{1|}}} |
{{{1|}}} |
||
</syntaxhighlight> |
</syntaxhighlight> |
||
|<code style="direction: ltr">{{{1|}}}</code>}} |
|<code style="direction: ltr">{{{1|}}}</code>}} |
||
<noinclude> |
|||
<templatedata> |
|||
{ |
|||
"params": { |
|||
"1": { |
|||
"label": "code", |
|||
"type": "content", |
|||
"required": true, |
|||
"suggested": true |
|||
}, |
|||
"lang": { |
|||
"label": "code language", |
|||
"type": "string", |
|||
"suggested": true |
|||
}, |
|||
"block": { |
|||
"label": "code block (yes/empty)", |
|||
"type": "boolean", |
|||
"deprecated": true, |
|||
"suggested": true |
|||
} |
|||
}, |
|||
"description": "template for code lines and blocks", |
|||
"paramOrder": [ |
|||
"1", |
|||
"block", |
|||
"lang" |
|||
] |
|||
} |
|||
</templatedata> |
|||
</noinclude> |
|||
Revision as of 14:01, 17 August 2021
template for code lines and blocks
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| code | 1 | no description | Content | required |
| code block (yes/empty) | block | no description | Boolean | deprecated |
| code language | lang | no description | String | suggested |