Template:Code: Difference between revisions
Jump to navigation
Jump to search
(Added fake comment see if its fixes anything) |
(The problem was that it was forcing syntaxhighlight, which doesn't apply some required logic, resulting in things like not interpreting links as such. The solution is to default to no syntax highlighting) |
||
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|}}}">{{#ifeq:{{{highlight}}}|1|{#tag:syntaxhighlight|{{{1}}}|lang={{{lang}}}|inline=1|style="background-color:transparent;"}}|{{{1}}}}}<span style="user-select:none"></span></code></onlyinclude></includeonly> | ||
Revision as of 10:39, 9 August 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.