Template:Markup/row: Difference between revisions
Jump to navigation
Jump to search
Use "top" rather than "text-top" for an edge case at Template:Vivarium |
fixing compatibility with dark mode, feel free to rv if it breaks something |
||
Line 1: | Line 1: | ||
<noinclude> | <noinclude>{| style="border-width:medium;"</noinclude><includeonly>{{#if:{{{c1|value}}}|  | ||
{{!-}} | |||
{ | {{!}}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|}}}"{{!}} <!-- | ||
</noinclude>{{# | -->{{#switch:{{{tag|}}} | ||
| | |none = {{{c1|[markup]}}}<!-- mark up --> | ||
|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|}}}"}} | ||
{{!}} style=" | |#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'']}}} | ||
{{ | </div> | ||
}}</includeonly><!-- | |||
--><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;"| | |||
|- | |||
|}{{Documentation}}</noinclude> |