Template:Markup/row: Difference between revisions
Jump to navigation
Jump to search
>Tholme No edit summary |
>Sohom Datta fixing compatibility with dark mode, feel free to rv if it breaks something |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
<noinclude>{| style=" | <noinclude>{| style="border-width:medium;"</noinclude><includeonly>{{#if:{{{c1|value}}}|  | ||
{{!-}} | {{!-}} | ||
{{!}}style{{=}}" | {{!}}style{{=}}"background:#f8f9fa; background:var(--background-color-interactive-subtle, #f8f9fa); color:var(--color-base, #000); border:1px solid #eaecf0; padding:9px 5px 5px; vertical-align:top; {{{col1style|}}}"{{!}} <!-- | ||
-->{{#tag:pre |{{{c1|[markup]}}}|style="margin:0;border:none;padding:0; word-wrap:break-word; white-space:-moz-pre-wrap;white-space:-o-pre-wrap;white-space:-pre-wrap;white-space:pre-wrap; {{{c1style|}}}"}} | -->{{#switch:{{{tag|}}} | ||
{{!}}style{{=}}" | |none = {{{c1|[markup]}}}<!-- mark up --> | ||
--><div style="{{{c2style|}}}"> | |syntaxhighlight = {{#tag:syntaxhighlight |{{{c1|[markup]}}}<!-- mark up -->|lang="wikitext"|inline=1|style="margin:0; border:none; padding:0; word-wrap:break-word; white-space:-moz-pre-wrap; white-space:-o-pre-wrap; white-space:-pre-wrap; white-space:pre-wrap; {{{c1style|}}}"}} | ||
||pre = {{#tag:pre |{{{c1|[markup]}}}<!-- mark up -->|style="margin:0; border:none; padding:0; word-wrap:break-word; white-space:-moz-pre-wrap; white-space:-o-pre-wrap; white-space:-pre-wrap; white-space:pre-wrap; {{{c1style|}}}"}} | |||
|#default = {{#tag:{{{tag}}} |{{{c1|[markup]}}}<!-- mark up -->|style="{{{c1style|}}}"}} | |||
}} | |||
{{!}}style{{=}}"background:#f8f9fa; background:var(--background-color-interactive-subtle, #f8f9fa); color:var(--color-base, #000); border:1px solid #eaecf0; padding:5px; vertical-align:top; {{{col2style|}}}"{{!}} <!-- | |||
--><div style="{{{c2style|}}}"><!-- renders as --> | |||
{{{c2|[''rendering'']}}} | {{{c2|[''rendering'']}}} | ||
</div> | </div> | ||
Line 11: | Line 16: | ||
--><noinclude> | --><noinclude> | ||
|- | |- | ||
|style=" | |style="border-width:1px; border-style:solid none none none; border-color:#ddd; padding:5px; vertical-align:text-top;"| | ||
|style=" | |style="border-width:1px; border-style:solid none none none; border-color:#ddd; padding:5px; vertical-align:text-top;"| | ||
|- | |- | ||
|}</noinclude> | |}{{Documentation}}</noinclude> |