Template:Markup/row: Difference between revisions

From IxWiki
Jump to navigation Jump to search
mp>Altercari
changing background colour to match <pre>
>Sohom Datta
fixing compatibility with dark mode, feel free to rv if it breaks something
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
<noinclude>{| style="border-width:medium;"</noinclude><includeonly>{{#if:{{{c1|value}}}|&#32;
<noinclude>{| style="border-width:medium;"</noinclude><includeonly>{{#if:{{{c1|value}}}|&#32;
{{!-}}
{{!-}}
{{!}}style{{=}}"background:#f8f9fa ; border:1px solid #eaecf0 ; padding:9px 5px 5px; vertical-align:top;"{{!}} <!--
{{!}}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{{=}}"background:#f8f9fa ; border:1px solid #eaecf0 ; padding:5px; vertical-align:top;"{{!}} <!--
    |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="border-width:1px;border-style:solid none none none;border-color:#ddd; padding:5px; vertical-align:text-top;"|  
|style="border-width:1px; border-style:solid none none none; border-color:#ddd; padding:5px; vertical-align:text-top;"|  
|style="border-width:1px;border-style:solid none none none;border-color:#ddd; padding:5px; vertical-align:text-top;"|  
|style="border-width:1px; border-style:solid none none none; border-color:#ddd; padding:5px; vertical-align:text-top;"|  
|-
|-
|}</noinclude>
|}{{Documentation}}</noinclude>

Latest revision as of 17:05, 7 June 2024