Template:Code: Difference between revisions
Jump to navigation
Jump to search
Mailmanmicky (talk | contribs) m (Clarification: Last summary was referring to your revamp of this template. This edit addresses your concern and I agree.) |
Mailmanmicky (talk | contribs) m (Extra clarification: I should note that I agree with the fact that this template should use the code tags, not that Template:kbd should be used instead.) |
||
Line 1: | Line 1: | ||
{{Doc}} | {{Doc}}<includeonly><onlyinclude><code style="color:{{{color|currentcolor}}}; border-radius:3px; user-select:{{#switch:{{{select|}}}|#default=text|0=none|1=all}}; background-color:{{#switch:{{{style}}} | ||
<includeonly><onlyinclude><code style="color:{{{color|currentcolor}}}; border-radius:3px; user-select:{{#switch:{{{select|}}}|#default=text|0=none|1=all}}; background-color:{{#switch:{{{style}}} | |||
|#default = {{{bg|rgb(0,0,0,.35)}}}; padding:2px 3px"> | |#default = {{{bg|rgb(0,0,0,.35)}}}; padding:2px 3px"> | ||
|1 = {{{bg|rgba(0,0,0,.16)}}}; border:1px solid rgba(255,255,255,.1); padding:1px 3px"> | |1 = {{{bg|rgba(0,0,0,.16)}}}; border:1px solid rgba(255,255,255,.1); padding:1px 3px"> |
Revision as of 14:47, 29 April 2023
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.