Template:MdCode: Difference between revisions
Jump to navigation
Jump to search
m (Redirected page to Template:Code) Tag: New redirect |
m (Restored, but will be removed in the future.) Tag: Removed redirect |
||
| Line 1: | Line 1: | ||
{{DISPLAYTITLE:Template: Markdown One-Line Code}} | |||
<onlyinclude><includeonly>{{#switch:{{{1}}} | |||
|#default=<code style="background: {{{background|rgb(0,0,0,.35)}}}; border-radius: 4px; color: {{{color|#b9b7b5}}}; padding: 2px 3px;">{{{1|}}}</code> | |||
|oneclick=<code style="background: {{{background|rgb(0,0,0,.35)}}}; border-radius: 4px; color: {{{color|#b9b7b5}}}; padding: 2px 3px; user-select: all;">{{{2|}}}</code> | |||
|desaturated=<code style="background-color: rgb(0,0,0,.16); border-radius: 4px; padding: 2px 3px;">{{{2|}}}</code> | |||
|desaturated-oneclick=<code style="background-color: rgb(0,0,0,.16); border-radius: 4px; padding: 2px 3px; user-select: all;">{{{2|}}}</code> | |||
|outline=<code style="background-color: rgba(0,0,0,.16); border: 1px solid rgba(255,255,255,.1); border-radius: 4px; padding: 1px 3px;">{{{2|}}}</code> | |||
|outline-oneclick=<code style="background-color: rgba(0,0,0,.16); border: 1px solid rgba(255,255,255,.1); border-radius: 4px; padding: 1px 3px; user-select: all;">{{{2|}}}</code> | |||
}}</includeonly></onlyinclude>{{doc}} | |||
Revision as of 11:54, 23 January 2023
The above documentation is transcluded from Template:MdCode/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.