Template:Code: Difference between revisions
Jump to navigation
Jump to search
(removed useless span) |
mNo edit summary |
||
Line 1: | Line 1: | ||
{{Doc}} | {{Doc}} | ||
<includeonly><onlyinclude><code style="border-radius:3px; background-color:{{#switch:{{{p|}}} | <includeonly><onlyinclude><code style="border-radius:3px; background-color:{{#switch:{{{preset|{{{p|}}}}}} | ||
|#default = rgba(0,0,0,.35); padding:2px 3px | |#default = rgba(0,0,0,.35); padding:2px 3px | ||
|0 = unset; padding:0 | |0 = unset; padding:0 | ||
Line 6: | Line 6: | ||
|2 = rgba(0,0,0,.16); border:1px solid rgba(255,255,255,.1); padding:1px 3px | |2 = rgba(0,0,0,.16); border:1px solid rgba(255,255,255,.1); padding:1px 3px | ||
|3 = rgba(255,255,255,.05); border:1px solid rgba(255,255,255,.1); padding:1px 3px | |3 = rgba(255,255,255,.05); border:1px solid rgba(255,255,255,.1); padding:1px 3px | ||
}}; user-select:{{{select|unset}}}; {{{style|}}}">{{#if:{{{highlight|}}}|{{#tag:syntaxhighlight|{{{1}}}|lang={{{highlight}}}|inline=1|style="background-color:transparent;"}}|{{{1}}}}}</code></onlyinclude></includeonly> | }}; user-select:{{{select|unset}}}; {{{style|}}}">{{#if:{{{highlight|}}}|{{#tag:syntaxhighlight|{{{1}}}|lang={{{highlight}}}|inline=1|style="background-color:transparent;"}}|{{{1}}}}}{{Rlb}}</code></onlyinclude></includeonly> |
Revision as of 10:00, 12 April 2024
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.