Mudanças entre as edições de "NumBlk/doc"
NumBlk>Silly rabbit m (fix) |
NumBlk>Justin545 (revise the caveat about 100% wide table usage) |
||
Linha 1: | Linha 1: | ||
This template creates a numbered block which is usually used to number mathematical formulae. | This template creates a numbered block which is usually used to number mathematical formulae. | ||
− | + | Numbered blocks should be able to be placed around images that take up space on the left or right side of the screen. To ensure numbered block has access to the entire line, consider using a {{tl|clear}}-like template.<br> | |
== Parameter == | == Parameter == | ||
Parameters <nowiki>{{{1}}}</nowiki>, <nowiki>{{{2}}}</nowiki>, and <nowiki>{{{3}}}</nowiki> of this template are required. In addition, there are two optional parameters <nowiki>{{{RawN}}}</nowiki> and <nowiki>{{{LnSty}}}</nowiki>.<br> | Parameters <nowiki>{{{1}}}</nowiki>, <nowiki>{{{2}}}</nowiki>, and <nowiki>{{{3}}}</nowiki> of this template are required. In addition, there are two optional parameters <nowiki>{{{RawN}}}</nowiki> and <nowiki>{{{LnSty}}}</nowiki>.<br> |
Edição das 03h31min de 4 de fevereiro de 2009
This template creates a numbered block which is usually used to number mathematical formulae.
Numbered blocks should be able to be placed around images that take up space on the left or right side of the screen. To ensure numbered block has access to the entire line, consider using a {{clear}}-like template.
Parameter
Parameters {{{1}}}, {{{2}}}, and {{{3}}} of this template are required. In addition, there are two optional parameters {{{RawN}}} and {{{LnSty}}}.
{{{1}}}: Specify indentation. The more colons (:) you put, the further indented the block will be. This parameter can be empty if no indentation is needed.
{{{2}}}: The body or content of the block.
{{{3}}}: Specify the block number.
{{{RawN}}}: Assigned with a non-empty or non-whitespaced string to remove the formatting on the number and the parentheses surround the number.
{{{LnSty}}}: Specify the line style.
{{{Border}}}: If set, put a box around the equation. (Experimental.)
Example
{{NumBlk|:|<math>y=ax+b</math>|Eq. 3}}
{{#if::|Erro de script: Nenhum módulo desse tipo "String".|}}
thin solid|none}}; padding:0.08em;" class="nowrap"| [math]y=ax+b[/math]
|
thin solid|none}}; padding:0.08em;"|
|
thin solid|none}}; padding:0.08em;" class="nowrap"| {{#if:|Eq. 3|({{ safesubst:#if:1|Eq. 3}})}} |
{{#if::|Erro de script: Nenhum módulo desse tipo "String".|}}
{{NumBlk|:|<math>ax^2+bx+c=0</math>|Eq. 3}}
{{#if::|Erro de script: Nenhum módulo desse tipo "String".|}}
thin solid|none}}; padding:0.08em;" class="nowrap"| [math]ax^2+bx+c=0[/math]
|
thin solid|none}}; padding:0.08em;"|
|
thin solid|none}}; padding:0.08em;" class="nowrap"| {{#if:|Eq. 3|({{ safesubst:#if:1|Eq. 3}})}} |
{{#if::|Erro de script: Nenhum módulo desse tipo "String".|}}
{{NumBlk|:|<math>\Psi(x_1,x_2)=U(x_1)V(x_2)</math>|2}}
{{#if::|Erro de script: Nenhum módulo desse tipo "String".|}}
thin solid|none}}; padding:0.08em;" class="nowrap"| [math]\Psi(x_1,x_2)=U(x_1)V(x_2)[/math]
|
thin solid|none}}; padding:0.08em;"|
|
thin solid|none}}; padding:0.08em;" class="nowrap"| {{#if:|2|({{ safesubst:#if:1|2}})}} |
{{#if::|Erro de script: Nenhum módulo desse tipo "String".|}}
{{NumBlk||<math>\bold{a}(t)=\frac{d}{dt}\bold{v}(t)</math>|3.5}}
{{#if:|Erro de script: Nenhum módulo desse tipo "String".|}}
thin solid|none}}; padding:0.08em;" class="nowrap"| [math]\bold{a}(t)=\frac{d}{dt}\bold{v}(t)[/math]
|
thin solid|none}}; padding:0.08em;"|
|
thin solid|none}}; padding:0.08em;" class="nowrap"| {{#if:|3.5|({{ safesubst:#if:1|3.5}})}} |
{{#if:|Erro de script: Nenhum módulo desse tipo "String".|}}
{{NumBlk|:|<math>\bold{a}(t)=\frac{d}{dt}\bold{v}(t)</math>|1}}
{{#if::|Erro de script: Nenhum módulo desse tipo "String".|}}
thin solid|none}}; padding:0.08em;" class="nowrap"| [math]\bold{a}(t)=\frac{d}{dt}\bold{v}(t)[/math]
|
thin solid|none}}; padding:0.08em;"|
|
thin solid|none}}; padding:0.08em;" class="nowrap"| {{#if:|1|({{ safesubst:#if:1|1}})}} |
{{#if::|Erro de script: Nenhum módulo desse tipo "String".|}}
{{NumBlk|::|<math>\bold{a}(t)=\frac{d}{dt}\bold{v}(t)</math>|13.7}}
{{#if:::|Erro de script: Nenhum módulo desse tipo "String".|}}
thin solid|none}}; padding:0.08em;" class="nowrap"| [math]\bold{a}(t)=\frac{d}{dt}\bold{v}(t)[/math]
|
thin solid|none}}; padding:0.08em;"|
|
thin solid|none}}; padding:0.08em;" class="nowrap"| {{#if:|13.7|({{ safesubst:#if:1|13.7}})}} |
{{#if:::|Erro de script: Nenhum módulo desse tipo "String".|}}
{{NumBlk|:::|<math>\bold{a}(t)=\frac{d}{dt}\bold{v}(t)</math>|1.2}}
{{#if::::|Erro de script: Nenhum módulo desse tipo "String".|}}
thin solid|none}}; padding:0.08em;" class="nowrap"| [math]\bold{a}(t)=\frac{d}{dt}\bold{v}(t)[/math]
|
thin solid|none}}; padding:0.08em;"|
|
thin solid|none}}; padding:0.08em;" class="nowrap"| {{#if:|1.2|({{ safesubst:#if:1|1.2}})}} |
{{#if::::|Erro de script: Nenhum módulo desse tipo "String".|}}
{{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}}
{{#if::|Erro de script: Nenhum módulo desse tipo "String".|}}
thin solid|none}}; padding:0.08em;" class="nowrap"| [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]
|
thin solid|none}}; padding:0.08em;"|
|
thin solid|none}}; padding:0.08em;" class="nowrap"| {{#if:|Eq. 5|({{ safesubst:#if:1|Eq. 5}})}} |
{{#if::|Erro de script: Nenhum módulo desse tipo "String".|}}
{{NumBlk|1=:|2=<math>\bold{a}(t)=\frac{d}{dt}\bold{v}(t)</math>|3=3.5}}
{{#if::|Erro de script: Nenhum módulo desse tipo "String".|}}
thin solid|none}}; padding:0.08em;" class="nowrap"| [math]\bold{a}(t)=\frac{d}{dt}\bold{v}(t)[/math]
|
thin solid|none}}; padding:0.08em;"|
|
thin solid|none}}; padding:0.08em;" class="nowrap"| {{#if:|3.5|({{ safesubst:#if:1|3.5}})}} |
{{#if::|Erro de script: Nenhum módulo desse tipo "String".|}}
{{NumBlk|1=:|2=<math>\bold{a}(t)=\frac{d}{dt}\bold{v}(t)</math>|3=3.5|RawN=.}}
{{#if::|Erro de script: Nenhum módulo desse tipo "String".|}}
thin solid|none}}; padding:0.08em;" class="nowrap"| [math]\bold{a}(t)=\frac{d}{dt}\bold{v}(t)[/math]
|
thin solid|none}}; padding:0.08em;"|
|
thin solid|none}}; padding:0.08em;" class="nowrap"| {{#if:.|3.5|({{ safesubst:#if:1|3.5}})}} |
{{#if::|Erro de script: Nenhum módulo desse tipo "String".|}}
{{NumBlk|1=:|2=<math>\bold{a}(t)=\frac{d}{dt}\bold{v}(t)</math>|3=<3.5>|RawN=.}}
{{#if::|Erro de script: Nenhum módulo desse tipo "String".|}}
thin solid|none}}; padding:0.08em;" class="nowrap"| [math]\bold{a}(t)=\frac{d}{dt}\bold{v}(t)[/math]
|
thin solid|none}}; padding:0.08em;"|
|
thin solid|none}}; padding:0.08em;" class="nowrap"| {{#if:.|<3.5>|({{ safesubst:#if:1|<3.5>}})}} |
{{#if::|Erro de script: Nenhum módulo desse tipo "String".|}}
{{NumBlk|1=:|2=<math>\bold{a}(t)=\frac{d}{dt}\bold{v}(t)</math>|3=[3.5]|RawN=.}}
{{#if::|Erro de script: Nenhum módulo desse tipo "String".|}}
thin solid|none}}; padding:0.08em;" class="nowrap"| [math]\bold{a}(t)=\frac{d}{dt}\bold{v}(t)[/math]
|
thin solid|none}}; padding:0.08em;"|
|
thin solid|none}}; padding:0.08em;" class="nowrap"| {{#if:.|[3.5]|({{ safesubst:#if:1|[3.5]}})}} |
{{#if::|Erro de script: Nenhum módulo desse tipo "String".|}}
{{NumBlk|1=:|2=<math>\bold{a}(t)=\frac{d}{dt}\bold{v}(t)</math>|3='''[3.5]'''|RawN=.}}
{{#if::|Erro de script: Nenhum módulo desse tipo "String".|}}
thin solid|none}}; padding:0.08em;" class="nowrap"| [math]\bold{a}(t)=\frac{d}{dt}\bold{v}(t)[/math]
|
thin solid|none}}; padding:0.08em;"|
|
thin solid|none}}; padding:0.08em;" class="nowrap"| {{#if:.|[3.5]|({{ safesubst:#if:1|[3.5]}})}} |
{{#if::|Erro de script: Nenhum módulo desse tipo "String".|}}
{{NumBlk|1=:|2=<math>\bold{a}(t)=\frac{d}{dt}\bold{v}(t)</math>|3=<Big>'''[3.5]'''</Big>}}
{{#if::|Erro de script: Nenhum módulo desse tipo "String".|}}
thin solid|none}}; padding:0.08em;" class="nowrap"| [math]\bold{a}(t)=\frac{d}{dt}\bold{v}(t)[/math]
|
thin solid|none}}; padding:0.08em;"|
|
thin solid|none}}; padding:0.08em;" class="nowrap"| {{#if:|[3.5]|({{ safesubst:#if:1|[3.5]}})}} |
{{#if::|Erro de script: Nenhum módulo desse tipo "String".|}}
{{NumBlk|1=:|2=<math>\bold{a}(t)=\frac{d}{dt}\bold{v}(t)</math>|3=<Big>'''[3.5]'''</Big>|RawN=.}}
{{#if::|Erro de script: Nenhum módulo desse tipo "String".|}}
thin solid|none}}; padding:0.08em;" class="nowrap"| [math]\bold{a}(t)=\frac{d}{dt}\bold{v}(t)[/math]
|
thin solid|none}}; padding:0.08em;"|
|
thin solid|none}}; padding:0.08em;" class="nowrap"| {{#if:.|[3.5]|({{ safesubst:#if:1|[3.5]}})}} |
{{#if::|Erro de script: Nenhum módulo desse tipo "String".|}}
{{NumBlk|1=:|2=<math>\bold{a}(t)=\frac{d}{dt}\bold{v}(t)</math>|3=<Big>'''(3.5)'''</Big>|RawN=.|LnSty=1px dashed red}}
{{#if::|Erro de script: Nenhum módulo desse tipo "String".|}}
thin solid|none}}; padding:0.08em;" class="nowrap"| [math]\bold{a}(t)=\frac{d}{dt}\bold{v}(t)[/math]
|
thin solid|none}}; padding:0.08em;"|
|
thin solid|none}}; padding:0.08em;" class="nowrap"| {{#if:.|(3.5)|({{ safesubst:#if:1|(3.5)}})}} |
{{#if::|Erro de script: Nenhum módulo desse tipo "String".|}}
{{NumBlk|1=:|2=<math>\bold{a}(t)=\frac{d}{dt}\bold{v}(t)</math>|3=<Big>'''(3.5)'''</Big>|RawN=.|LnSty=3px dashed #0a7392}}
{{#if::|Erro de script: Nenhum módulo desse tipo "String".|}}
thin solid|none}}; padding:0.08em;" class="nowrap"| [math]\bold{a}(t)=\frac{d}{dt}\bold{v}(t)[/math]
|
thin solid|none}}; padding:0.08em;"|
|
thin solid|none}}; padding:0.08em;" class="nowrap"| {{#if:.|(3.5)|({{ safesubst:#if:1|(3.5)}})}} |
{{#if::|Erro de script: Nenhum módulo desse tipo "String".|}}
{{NumBlk|1=:|2=<math>\bold{a}(t)=\frac{d}{dt}\bold{v}(t)</math>|3=<Big>'''[3.5]'''</Big>|RawN=.|LnSty=3px solid green}}
{{#if::|Erro de script: Nenhum módulo desse tipo "String".|}}
thin solid|none}}; padding:0.08em;" class="nowrap"| [math]\bold{a}(t)=\frac{d}{dt}\bold{v}(t)[/math]
|
thin solid|none}}; padding:0.08em;"|
|
thin solid|none}}; padding:0.08em;" class="nowrap"| {{#if:.|[3.5]|({{ safesubst:#if:1|[3.5]}})}} |
{{#if::|Erro de script: Nenhum módulo desse tipo "String".|}}
{{NumBlk|1=:|2=<math>\bold{a}(t)=\frac{d}{dt}\bold{v}(t)</math>|3=<Big>'''[3.5]'''</Big>|RawN=.|LnSty=5px dotted blue}}
{{#if::|Erro de script: Nenhum módulo desse tipo "String".|}}
thin solid|none}}; padding:0.08em;" class="nowrap"| [math]\bold{a}(t)=\frac{d}{dt}\bold{v}(t)[/math]
|
thin solid|none}}; padding:0.08em;"|
|
thin solid|none}}; padding:0.08em;" class="nowrap"| {{#if:.|[3.5]|({{ safesubst:#if:1|[3.5]}})}} |
{{#if::|Erro de script: Nenhum módulo desse tipo "String".|}}
{{NumBlk|1=:|2=<math>\bold{a}(t)=\frac{d}{dt}\bold{v}(t)</math>|3=<Big>'''[3.5]'''</Big>|RawN=.|LnSty=0px solid green}}
{{#if::|Erro de script: Nenhum módulo desse tipo "String".|}}
thin solid|none}}; padding:0.08em;" class="nowrap"| [math]\bold{a}(t)=\frac{d}{dt}\bold{v}(t)[/math]
|
thin solid|none}}; padding:0.08em;"|
|
thin solid|none}}; padding:0.08em;" class="nowrap"| {{#if:.|[3.5]|({{ safesubst:#if:1|[3.5]}})}} |
{{#if::|Erro de script: Nenhum módulo desse tipo "String".|}}
{{NumBlk|1=:|2=<math>\bold{a}(t)=\frac{d}{dt}\bold{v}(t)</math>|3=<Big>'''[3.5]'''</Big>|RawN=.|LnSty=5px none green}}
{{#if::|Erro de script: Nenhum módulo desse tipo "String".|}}
thin solid|none}}; padding:0.08em;" class="nowrap"| [math]\bold{a}(t)=\frac{d}{dt}\bold{v}(t)[/math]
|
thin solid|none}}; padding:0.08em;"|
|
thin solid|none}}; padding:0.08em;" class="nowrap"| {{#if:.|[3.5]|({{ safesubst:#if:1|[3.5]}})}} |
{{#if::|Erro de script: Nenhum módulo desse tipo "String".|}}
{{NumBlk|1=:|2=<math>\bold{a}(t)=\frac{d}{dt}\bold{v}(t)</math>|3=<Big>'''[3.5]'''</Big>|RawN=.|LnSty=3px double green}}
{{#if::|Erro de script: Nenhum módulo desse tipo "String".|}}
thin solid|none}}; padding:0.08em;" class="nowrap"| [math]\bold{a}(t)=\frac{d}{dt}\bold{v}(t)[/math]
|
thin solid|none}}; padding:0.08em;"|
|
thin solid|none}}; padding:0.08em;" class="nowrap"| {{#if:.|[3.5]|({{ safesubst:#if:1|[3.5]}})}} |
{{#if::|Erro de script: Nenhum módulo desse tipo "String".|}}
{{NumBlk|:|<math>y=ax+b</math>|Eq. 3|Border=1}}
{{#if::|Erro de script: Nenhum módulo desse tipo "String".|}}
thin solid|none}}; padding:0.08em;" class="nowrap"| [math]y=ax+b[/math]
|
thin solid|none}}; padding:0.08em;"|
|
thin solid|none}}; padding:0.08em;" class="nowrap"| {{#if:|Eq. 3|({{ safesubst:#if:1|Eq. 3}})}} |
{{#if::|Erro de script: Nenhum módulo desse tipo "String".|}}