Difference between revisions of "Template:Numbered block"
From EG1004 Lab Manual
(2 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; width:99%; border:{{#if:{{{Border|}}}|thin solid|none}}; padding:0.08em;" class="nowrap"|<div style="margin:0;">{{{2}}} | |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="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|len|s={{{1}}}}}}}