Template:Test: Difference between revisions
Jump to navigation
Jump to search
Mailmanmicky (talk | contribs) mNo edit summary |
(testing why {{code}} outputs the raw text "{{{1}}}" when a span is the input) |
||
Line 1: | Line 1: | ||
<onlyinclude><includeonly><!-- | <onlyinclude><includeonly><!-- | ||
<!-- Type your code below this comment. Do not remove this comment | <!-- Type your code below this comment. Do not remove this comment<code style="border-radius:3px; background-color:{{#switch:{{{preset|}}} | ||
|#default = rgba(0,0,0,.35); padding:2px 3px | |||
|0 = unset; padding:0 | |||
|1 = rgba(0,0,0,.16); padding:2px 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 | |||
}}; user-select:{{{select|unset}}}; {{{style|}}}">{{{1}}}<span style="user-select:none"></span></code> | |||
</includeonly></onlyinclude>{{doc|nolang=1}}[[category:templates]]<!-- | </includeonly></onlyinclude>{{doc|nolang=1}}[[category:templates]]<!-- |
Revision as of 17:56, 3 August 2023
The above documentation is transcluded from Template:Test/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.