Difference between revisions of "Template:DEC"
Jump to navigation
Jump to search
imported>Fabio Bettani m |
imported>Bachinchi (move to doc) |
||
| Line 1: | Line 1: | ||
{{{1}}}°{{#ifeq: {{{2|+}}}|{{{2|-}}}| {{{2|}}}′|}}{{#ifeq: {{{3|+}}}|{{{3|-}}}| {{{3|}}}″|}}<noinclude> | {{{1}}}°{{#ifeq: {{{2|+}}}|{{{2|-}}}| {{{2|}}}′|}}{{#ifeq: {{{3|+}}}|{{{3|-}}}| {{{3|}}}″|}}<noinclude> | ||
| − | + | {{documentation}} | |
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
</noinclude> | </noinclude> | ||
Revision as of 19:12, 26 July 2010
{{{1}}}°
{{{1}}}° {{{2}}}′ {{{3}}}″
Usage
{{DEC|degrees|minutes|seconds}}
- degrees° minutes′ seconds″
Note that the second and third arguments, seconds & minutes, are optional.
{{DEC|degrees|minutes}}
- degrees° minutes′
{{DEC|degrees}}
- degrees°
When using in tables, leave a space between the | and the {{DEC}}, or else the table will break if the degrees begin with "+".
See also
| The above documentation is transcluded from Template:DEC/doc. (edit | history) Editors can experiment in this template's sandbox (edit | diff) and testcases (edit) pages. Please add categories to the /doc subpage. Subpages of this template. |