Template:Markup/row: Difference between revisions

From WWII Archives

m (1 revision imported)
w>Jonesey95
(restore necessary newline. See test cases page.)
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; 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; 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>

Revision as of 22:08, 1 March 2024

File:Test Template Info-Icon.svg Template documentationcreate · purge ]
This documentation is transcluded from Template:Markup/row/doc.