Template:Formula: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
<includeonly>'''Formula{{#ifeq:{{{1|+}}}|{{{1|-}}}|<nowiki> </nowiki>{{{1}}}|}}{{#ifeq:{{{2|+}}}|{{{2|-}}}|-{{{2}}}|}}{{#ifeq:{{{3|+}}}|{{{3|-}}}|<nowiki>:</nowiki> {{{3}}}|}}'''</includeonly><noinclude> | <includeonly>'''Formula{{#ifeq:{{{1|+}}}|{{{1|-}}}|<nowiki> </nowiki>{{{1}}}|}} {{#ifeq:{{{1|+}}}{{{2|+}}}|{{{1|-}}}{{{2|-}}}|-|}} {{#ifeq:{{{2|+}}}|{{{2|-}}}|{{{2}}}|}}{{#ifeq:{{{3|+}}}|{{{3|-}}}|<nowiki>:</nowiki> {{{3}}}|}}'''</includeonly><noinclude> | ||
This template shows a nice 'footer' that can be include below a formula. | This template shows a nice 'footer' that can be include below a formula. |
Revision as of 20:35, 20 January 2009
This template shows a nice 'footer' that can be include below a formula.
It will show the text:
' Formula <CHAPTER>-<NR>: <DESCRIPTION> '
This template expects the following parameters:
- The number of the chapter
- A sequence number of the formula's within the chapter
- A description of the formula.
Any parameters can be omitted, and the relevant section of the formula-footer will then not be shown.