Mudanças entre as edições de "Predefinição:NumBlk"

De Wiki Coolab
Ir para navegação Ir para pesquisar
NumBlk>Justin545
(change to better category)
m (62 edições )
 
(45 revisões intermediárias por 17 usuários não estão sendo mostradas)
Linha 1: Linha 1:
<includeonly>{{{1}}}{|style="border-collapse:collapse; background:none; width:100%; height:1px" border="0"
+
<includeonly>{{#if:{{{1}}}|{{#invoke:String|rep|<dl><dd>|{{str len|{{{1}}}}}}}|}}
 +
{|style="border-collapse:collapse; background:none; 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%; border:{{#if:{{{Border|}}}|thin solid|none}}; padding:0.08em;"|
 +
<div style="margin:0;">
 +
{|style="border-collapse:collapse; background:none; 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>
 
|-
 
|-
|nowrap rowspan="2"|{{{2}}}&nbsp;
+
|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;"|
|style="padding-top:0pt; padding-bottom:0pt; font-size:1pt;"|&nbsp;
+
<p style="margin:0; font-size:1pt;">&nbsp;</p>
|nowrap rowspan="2" align="right"|&nbsp;{{#if:{{{RowN|}}}|{{{3}}}|'''({{{3}}})'''}}
+
|}
|-
+
</div>
|style="padding-top:0pt; padding-bottom:0pt; font-size:1pt; border-top:{{{LnSty|3px dotted #cccccc}}}; width:99%;"|&nbsp;
+
|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>|{{str len|{{{1}}}}}}}|}}</includeonly><noinclude>{{Documentation}}</noinclude>
|}</includeonly><noinclude>This template creates a numbered block which is usually used to number mathematical formulae.<br>
 
== Parameter ==
 
All parameters of this template are required.<br>
 
'''<nowiki>{{{1}}}</nowiki>''': Specify indentation. The more colons (:) you put, the further indented the block will be. This parameter can be empty if no indentation is needed.<br>
 
'''<nowiki>{{{2}}}</nowiki>''': The body or content of the block.<br>
 
'''<nowiki>{{{3}}}</nowiki>''': Specify the block number.<br>
 
'''<nowiki>{{{RowN}}}</nowiki>''': Assigned with a non-empty or non-whitespaced string to remove the formatting on the number and the parentheses surround the number.<br>
 
'''<nowiki>{{{LnSty}}}</nowiki>''': Specify the line style.
 
 
 
== Example ==
 
<pre>{{NumBlk||<math>\bold{a}(t)=\frac{d}{dt}\bold{v}(t)</math>|3.5}}</pre>
 
{{NumBlk||<math>\bold{a}(t)=\frac{d}{dt}\bold{v}(t)</math>|3.5}}
 
<pre>{{NumBlk|:|<math>\bold{a}(t)=\frac{d}{dt}\bold{v}(t)</math>|1}}</pre>
 
{{NumBlk|:|<math>\bold{a}(t)=\frac{d}{dt}\bold{v}(t)</math>|1}}
 
<pre>{{NumBlk|::|<math>\bold{a}(t)=\frac{d}{dt}\bold{v}(t)</math>|13.7}}</pre>
 
{{NumBlk|::|<math>\bold{a}(t)=\frac{d}{dt}\bold{v}(t)</math>|13.7}}
 
<pre>{{NumBlk|:::|<math>\bold{a}(t)=\frac{d}{dt}\bold{v}(t)</math>|1.2}}</pre>
 
{{NumBlk|:::|<math>\bold{a}(t)=\frac{d}{dt}\bold{v}(t)</math>|1.2}}
 
<pre>{{NumBlk|:|<math>\mathbf{a}(t)=\lim_{\Delta t \to 0}\frac{\mathbf{v}(t+\Delta t)-\mathbf{v}(t)}{\Delta t}
 
=\frac{\mathrm{d}\mathbf{v}}{\mathrm{d}t}</math>|Eq. 5}}</pre>
 
{{NumBlk|:|<math>\mathbf{a}(t)=\lim_{\Delta t \to 0}\frac{\mathbf{v}(t+\Delta t)-\mathbf{v}(t)}{\Delta t}
 
=\frac{\mathrm{d}\mathbf{v}}{\mathrm{d}t}</math>|Eq. 5}}
 
<pre>{{NumBlk|1=:|2=<math>\bold{a}(t)=\frac{d}{dt}\bold{v}(t)</math>|3=3.5}}</pre>
 
{{NumBlk|1=:|2=<math>\bold{a}(t)=\frac{d}{dt}\bold{v}(t)</math>|3=3.5}}
 
<pre>{{NumBlk|1=:|2=<math>\bold{a}(t)=\frac{d}{dt}\bold{v}(t)</math>|3=3.5|RowN=.}}</pre>
 
{{NumBlk|1=:|2=<math>\bold{a}(t)=\frac{d}{dt}\bold{v}(t)</math>|3=3.5|RowN=.}}
 
<pre>{{NumBlk|1=:|2=<math>\bold{a}(t)=\frac{d}{dt}\bold{v}(t)</math>|3=<3.5>|RowN=.}}</pre>
 
{{NumBlk|1=:|2=<math>\bold{a}(t)=\frac{d}{dt}\bold{v}(t)</math>|3=<3.5>|RowN=.}}
 
<pre>{{NumBlk|1=:|2=<math>\bold{a}(t)=\frac{d}{dt}\bold{v}(t)</math>|3=[3.5]|RowN=.}}</pre>
 
{{NumBlk|1=:|2=<math>\bold{a}(t)=\frac{d}{dt}\bold{v}(t)</math>|3=[3.5]|RowN=.}}
 
<pre>{{NumBlk|1=:|2=<math>\bold{a}(t)=\frac{d}{dt}\bold{v}(t)</math>|3='''[3.5]'''|RowN=.}}</pre>
 
{{NumBlk|1=:|2=<math>\bold{a}(t)=\frac{d}{dt}\bold{v}(t)</math>|3='''[3.5]'''|RowN=.}}
 
<pre>{{NumBlk|1=:|2=<math>\bold{a}(t)=\frac{d}{dt}\bold{v}(t)</math>|3=<Big>'''[3.5]'''</Big>}}</pre>
 
{{NumBlk|1=:|2=<math>\bold{a}(t)=\frac{d}{dt}\bold{v}(t)</math>|3=<Big>'''[3.5]'''</Big>}}
 
<pre>{{NumBlk|1=:|2=<math>\bold{a}(t)=\frac{d}{dt}\bold{v}(t)</math>|3=<Big>'''[3.5]'''</Big>|RowN=.}}</pre>
 
{{NumBlk|1=:|2=<math>\bold{a}(t)=\frac{d}{dt}\bold{v}(t)</math>|3=<Big>'''[3.5]'''</Big>|RowN=.}}
 
<pre>{{NumBlk|1=:|2=<math>\bold{a}(t)=\frac{d}{dt}\bold{v}(t)</math>|3=<Big>'''(3.5)'''</Big>|RowN=.|LnSty=1px dashed red}}</pre>
 
{{NumBlk|1=:|2=<math>\bold{a}(t)=\frac{d}{dt}\bold{v}(t)</math>|3=<Big>'''(3.5)'''</Big>|RowN=.|LnSty=1px dashed red}}
 
<pre>{{NumBlk|1=:|2=<math>\bold{a}(t)=\frac{d}{dt}\bold{v}(t)</math>|3=<Big>'''(3.5)'''</Big>|RowN=.|LnSty=3px dashed #0a7392}}</pre>
 
{{NumBlk|1=:|2=<math>\bold{a}(t)=\frac{d}{dt}\bold{v}(t)</math>|3=<Big>'''(3.5)'''</Big>|RowN=.|LnSty=3px dashed #0a7392}}
 
<pre>{{NumBlk|1=:|2=<math>\bold{a}(t)=\frac{d}{dt}\bold{v}(t)</math>|3=<Big>'''[3.5]'''</Big>|RowN=.|LnSty=3px solid green}}</pre>
 
{{NumBlk|1=:|2=<math>\bold{a}(t)=\frac{d}{dt}\bold{v}(t)</math>|3=<Big>'''[3.5]'''</Big>|RowN=.|LnSty=3px solid green}}
 
<pre>{{NumBlk|1=:|2=<math>\bold{a}(t)=\frac{d}{dt}\bold{v}(t)</math>|3=<Big>'''[3.5]'''</Big>|RowN=.|LnSty=5px dotted blue}}</pre>
 
{{NumBlk|1=:|2=<math>\bold{a}(t)=\frac{d}{dt}\bold{v}(t)</math>|3=<Big>'''[3.5]'''</Big>|RowN=.|LnSty=5px dotted blue}}
 
<pre>{{NumBlk|1=:|2=<math>\bold{a}(t)=\frac{d}{dt}\bold{v}(t)</math>|3=<Big>'''[3.5]'''</Big>|RowN=.|LnSty=0px solid green}}</pre>
 
{{NumBlk|1=:|2=<math>\bold{a}(t)=\frac{d}{dt}\bold{v}(t)</math>|3=<Big>'''[3.5]'''</Big>|RowN=.|LnSty=0px solid green}}
 
[[Category:Wikipedia formatting templates]]
 
</noinclude>
 

Edição atual tal como às 18h05min de 16 de abril de 2020

Erro de script: Nenhum módulo desse tipo "documentation".