Template:Markup/row: Difference between revisions

From pronounmail wiki
Jump to navigation Jump to search
Use "top" rather than "text-top" for an edge case at Template:Vivarium
 
m 1 revision imported
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<noinclude>
<noinclude>{| style="border-width:medium;"</noinclude><includeonly>{{#if:{{{c1|value}}}|&#32;
<languages />
{{!-}}
{{(}}{{!}} style="width:90%; border-width: medium;"
{{!}}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:<translate></translate>
-->{{#switch:{{{tag|}}}
| =
    |none = {{{c1|[markup]}}}<!-- mark up -->
<br />
    |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="width:50%; background-color: #f9f9f9; border-width: 1px; padding: 5px; border-style: solid none none solid; border-color: #ddd; vertical-align:top;" {{!}} {{#tag:pre|{{{cell1|<translate><!--T:1--> Markup</translate>}}}| style="border: none; margin:0; padding: 0; word-wrap: break-word; white-space: pre-wrap"}}
    |#default = {{#tag:{{{tag}}} |{{{c1|[markup]}}}<!-- mark up -->|style="{{{c1style|}}}"}}
{{!}} style="width:50%; background-color: #f9f9f9; border-width: 1px; padding: 5px; border-style: solid solid none solid; border-color: #ddd; vertical-align:top;" {{!}} {{{cell2|<translate><!--T:2--> Renders</translate>}}}
    }}
| #default=
{{!}}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|}}}"{{!}} <!--
  {{#invoke:Template translation|renderTranslatedTemplate|template=Template:Markup/row|noshift=1|uselang={{int:lang}}}}
--><div style="{{{c2style|}}}"><!-- renders as -->
}}<noinclude>
{{{c2|[''rendering'']}}}
{{!}}-
</div>
{{!}} style="width:50%; border-width: 1px; padding: 5px; border-style: solid none none none; border-color: #ddd; vertical-align:top;" {{!}}
}}</includeonly><!--
{{!}} style="width:50%; border-width: 1px; padding: 5px; border-style: solid none none none; border-color: #ddd; vertical-align:top;" {{!}}
 
{{!}}{{)}}
--><noinclude>
{{documentation}}
|-
</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>

Latest revision as of 02:19, 2 September 2024