Template:Code: Difference between revisions
Jump to navigation
Jump to search
(A big template change without backwards compatibility, because without it, nothing will break. The only noticeable thing is that the styles will not work until they are replaced with {{{preset}}}.) |
m (Added ability to type "nowiki=true", which will apply <nowiki> to the inserted text) |
||
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|}}}">{{{1|}}}<span style="user-select:none"></span></code></onlyinclude></includeonly> | }}; user-select:{{{select|unset}}}; {{{style|}}}">{{#if:{{{nowiki|}}}|<nowiki>{{{1}}}</nowiki>|{{{1}}}}}<span style="user-select:none"></span></code></onlyinclude></includeonly> |
Revision as of 18:08, 10 May 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.