Template:Markup/row: Difference between revisions
EnWikiAdmin (talk | contribs) m 1 revision imported |
EnWikiAdmin (talk | contribs) m 1 revision imported |
||
(One intermediate revision by one other user not shown) | |||
Line 1: | Line 1: | ||
<noinclude>{| style="border-width:medium;"</noinclude><includeonly>{{#if:{{{c1|value}}}|  | <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: | {{!}}style{{=}}"background:#f8f9fa; background:var(--background-color-interactive-subtle, #f8f9fa); color:var(--color-base, #000); border:1px solid #eaecf0; padding:{{{padding|5px}}}; vertical-align:top; {{{col1style|}}}"{{!}} <!-- | ||
-->{{#switch:{{{tag|}}} | --><div class="template-markup-wrapper">{{#switch:{{{tag|}}} | ||
|none = {{{c1|[markup]}}}<!-- mark up --> | |none = {{{c1|[markup]}}}<!-- mark up --> | ||
|syntaxhighlight = {{#tag:syntaxhighlight |{{{c1|[markup]}}}<!-- mark up -->|lang="wikitext"|inline=1|style=" | |syntaxhighlight = {{#tag:syntaxhighlight |{{{c1|[markup]}}}<!-- mark up -->|lang="wikitext"|inline=1|style="{{{c1style|}}}"|class="template-markup"}} | ||
||pre = {{#tag:pre |{{{c1|[markup]}}}<!-- mark up -->|style=" | ||pre = {{#tag:pre |{{{c1|[markup]}}}<!-- mark up -->|style="{{{c1style|}}}"|class="template-markup"}} | ||
|#default = {{#tag:{{{tag}}} |{{{c1|[markup]}}}<!-- mark up -->|style="{{{c1style|}}}"}} | |#default = {{#tag:{{{tag}}} |{{{c1|[markup]}}}<!-- mark up -->|style="{{{c1style|}}}"}} | ||
}} | }}</div> | ||
{{!}}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|}}}"{{!}} <!-- | {{!}}style{{=}}"background:#f8f9fa; background:var(--background-color-interactive-subtle, #f8f9fa); color:var(--color-base, #000); border:1px solid #eaecf0; padding:{{{padding|5px}}}; vertical-align:top; {{{col2style|}}}"{{!}} <!-- | ||
--><div style="{{{c2style|}}}"><!-- renders as --> | --><div style="{{{c2style|}}}" class="template-markup-wrapper"><!-- renders as --> | ||
{{{c2|[''rendering'']}}} | {{{c2|[''rendering'']}}} | ||
</div> | </div> |