Template:Code: Difference between revisions
Jump to navigation
Jump to search
Mailmanmicky (talk | contribs) m (Ah... screw it, I'm tired.) |
mNo edit summary |
||
(33 intermediate revisions by 6 users not shown) | |||
Line 1: | Line 1: | ||
{{ | See Also: [[Template:CodeBlock]] | ||
{{doc}} | |||
| | |||
<includeonly><onlyinclude><span style="font-family:monospace; {{#switch:{{{p|{{{preset|}}}}}} | |||
|#default = padding:2px 4px; border-radius:3px; background:rgb(0 0 0 / 26%); | |||
|0 = | |||
}}{{{1 | |1 = padding:2px 4px; border-radius:3px; background:rgb(0 0 0 / 16%); | ||
|2 = padding:1px 3px; border-radius:3px; background:rgb(0 0 0 / 16%); border:1px solid rgb(255 255 255 / 10%); | |||
|3 = padding:1px 3px; border-radius:3px; background:rgb(255 255 255 / 5%); border:1px solid rgb(255 255 255 / 10%); | |||
}} {{#if:{{{select|}}}|user-select:{{{select}}};}} {{{style|}}}">{{#if:{{{highlight|}}}|{{#tag:syntaxhighlight|{{{1}}}|lang={{{highlight}}}|inline=1}}|{{{1}}}}}</span></onlyinclude></includeonly> | |||
[[Category:Formatting templates]] |
Latest revision as of 16:09, 17 August 2025
See Also: Template:CodeBlock
The above documentation is transcluded from Template:Code/doc. (Edit | Page history)
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.