Difference between revisions of "Template:Numbered block"

From EG1004 Lab Manual
Jump to: navigation, search
(remove gap to center equations)
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{#if:{{{1}}}|{{#invoke:String|rep|<dl><dd>|{{#invoke:String|len|s={{{1}}}}}}}}}
{{#if:{{{1}}}|{{#invoke:String|rep|<dl><dd>|{{#invoke:String|len|s={{{1}}}}}}}}}
{| role="presentation" style="border-collapse:collapse; margin:0; border:none;"
{| role="presentation" style="border-collapse:collapse; margin:0; border:none;"
|style="vertical-align:middle; border:{{#if:{{{Border|}}}|thin solid|none}}; padding:0.08em;" class="nowrap"|<div style="margin:0;">{{{2}}}</div>
|style="vertical-align:middle; width:99%; text-align:center; border:{{#if:{{{Border|}}}|thin solid|none}}; padding:0.08em;" class="nowrap"|<div style="margin:0;">{{{2}}}</div>
<div style="margin:0;">
{| role="presentation" style="border-collapse:collapse; margin:0; border:none; width:99%;"
|style="border:{{#if:{{{Border|}}}|thin solid|none}}; padding:0.08em;" rowspan="2"|<p style="margin:0; font-size:4pt;">&nbsp;</p>
|style="width:100%; border:{{#if:{{{Border|}}}|thin solid|none}}; padding:0.08em;"|<p style="margin:0; font-size:1pt;">&nbsp;</p>
|style="border:{{#if:{{{Border|}}}|thin solid|none}}; padding:0.08em;" rowspan="2"|<p style="margin:0; font-size:4pt;">&nbsp;</p>
|-
|style="border-left:{{#if:{{{Border|}}}|thin solid|none}}; border-top:{{{LnSty|0px none #e5e5e5}}}; border-right:{{#if:{{{Border|}}}|thin solid|none}}; border-bottom:{{#if:{{{Border|}}}|thin solid|none}}; padding:0.08em;"|
<p style="margin:0; font-size:1pt;">&nbsp;</p>
|}
</div>
|style="vertical-align:middle; border:{{#if:{{{Border|}}}|thin solid|none}}; padding:0.08em;" class="nowrap"|<p style="margin:0pt;">{{#if:{{{RawN|}}}|{{{3}}}|<b>({{trim|{{{3}}}}})</b>}}</p>
|style="vertical-align:middle; border:{{#if:{{{Border|}}}|thin solid|none}}; padding:0.08em;" class="nowrap"|<p style="margin:0pt;">{{#if:{{{RawN|}}}|{{{3}}}|<b>({{trim|{{{3}}}}})</b>}}</p>
|}{{#if:{{{1}}}|{{#invoke:String|rep|</dd></dl>|{{#invoke:String|len|s={{{1}}}}}}}|}}
|}{{#if:{{{1}}}|{{#invoke:String|rep|</dd></dl>|{{#invoke:String|len|s={{{1}}}}}}}|}}

Latest revision as of 22:21, 25 January 2024

{{#invoke:String|rep|

|{{#invoke:String|len|s={{{1}}}}}}}
{{{2}}}

({{{3}}})

{{#invoke:String|rep|

|{{#invoke:String|len|s={{{1}}}}}}}