Template:Convert/doc/parameter list: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>DePiep
No edit summary
meta>DePiep
sort option: by =value of the param
Line 3: Line 3:
|-
|-
! Option
! Option
! {{abbr|1==..|2=Sort by =value of the option}}
! Description
! Description
! Note
! Note
|-
|-
|<code>&#124;abbr=in</code> || Use symbol for first (left-hand side) unit || Abbr (symbol)
|<code>&#124;abbr=in</code> || {{hidden sort key|in}} || Use symbol for first (left-hand side) unit || Abbr (symbol)
|-
|-
|<code>&#124;abbr=off</code>
|<code>&#124;abbr=off</code> || {{hidden sort key|off}}
| rowspan=2 | Use name for all units
| rowspan=2 | Use name for all units
| rowspan=2 | Abbr (symbol)
| rowspan=2 | Abbr (symbol)
|-
|-
|<code>&#124;abbr=none</code>
|<code>&#124;abbr=none</code> || {{hidden sort key|none}}
|-
|-
|<code>&#124;abbr=on</code> || Use symbol for all units || Abbr (symbol)
|<code>&#124;abbr=on</code> || {{hidden sort key|on}} || Use symbol for all units || Abbr (symbol)
|-
|-
|<code>&#124;abbr=out</code> || Use symbol for right-hand side unit (default) || Abbr (symbol)
|<code>&#124;abbr=out</code> || {{hidden sort key|out}} || Use symbol for right-hand side unit (default) || Abbr (symbol)
|-
|-
|<code>&#124;abbr=values</code> || Show only input and output numbers, not units || Parts only
|<code>&#124;abbr=values</code> || {{hidden sort key|values}} || Show only input and output numbers, not units || Parts only
|-
|-
|<code>&#124;adj=1</code> || Unit name is singular when value is 1 or less, but not zero || Grammar, plural
|<code>&#124;adj=1</code> || {{hidden sort key|1}} || Unit name is singular when value is 1 or less, but not zero || Grammar, plural
|-
|-
|<code>&#124;adj=j</code> || Join value and unit name using "&amp;nbsp;" instead of a space || Join values
|<code>&#124;adj=j</code> || {{hidden sort key|j}} || Join value and unit name using "&amp;nbsp;" instead of a space || Join values
|-
|-
|<code>&#124;adj=mid</code> || Same as <code>adj=on</code> with user-specified text after input unit || Word adding, adjective
|<code>&#124;adj=mid</code> || {{hidden sort key|mid}} || Same as <code>adj=on</code> with user-specified text after input unit || Word adding, adjective
|-
|-
|<code>&#124;adj=on</code> || Unit name is singular and hyphenated (adjective) || Grammar, adjective
|<code>&#124;adj=on</code> || {{hidden sort key|on}} || Unit name is singular and hyphenated (adjective) || Grammar, adjective
|-
|-
|<code>&#124;adj=pre</code> || User-specified text before input unit || Word adding
|<code>&#124;adj=pre</code> || {{hidden sort key|pre}} || User-specified text before input unit || Word adding
|-
|-
|<code>&#124;adj=ri0</code> || Round input with precision 0 || Rounding and sigfig
|<code>&#124;adj=ri0</code> || {{hidden sort key|ri10}} || Round input with precision 0 || Rounding and sigfig
|-
|-
|<code>&#124;adj=ri1</code> || Round input with precision 1 || Rounding and sigfig
|<code>&#124;adj=ri1</code> || {{hidden sort key|ri1}} || Round input with precision 1 || Rounding and sigfig
|-
|-
|<code>&#124;adj=ri2</code> || Round input with precision 2 || Rounding and sigfig
|<code>&#124;adj=ri2</code> || {{hidden sort key|ri2}} || Round input with precision 2 || Rounding and sigfig
|-
|-
|<code>&#124;adj=ri3</code> || Round input with precision 3 || Rounding and sigfig
|<code>&#124;adj=ri3</code> || {{hidden sort key|ri3}} || Round input with precision 3 || Rounding and sigfig
|-
|-
|<code>&#124;disp=b</code> || Join input and output using "&nbsp;(...)" (default) || Join values
|<code>&#124;disp=b</code> || {{hidden sort key|b}} || Join input and output using "&nbsp;(...)" (default) || Join values
|-
|-
|<code>&#124;disp=sqbr</code> || Join input and output using "&nbsp;[...]" || Join values
|<code>&#124;disp=sqbr</code> || {{hidden sort key|sqbr}} || Join input and output using "&nbsp;[...]" || Join values
|-
|-
|<code>&#124;disp=br</code> || Join input and output using "&lt;br/>" || Join values
|<code>&#124;disp=br</code> || {{hidden sort key|br}} || Join input and output using "&lt;br/>" || Join values
|-
|-
|<code>&#124;disp=comma</code> || Join input and output using ",&nbsp;" || Join values
|<code>&#124;disp=comma</code> || {{hidden sort key|comma}} || Join input and output using ",&nbsp;" || Join values
|-
|-
|<code>&#124;disp=or</code> || Join input and output using "&nbsp;or&nbsp;" || Join values
|<code>&#124;disp=or</code> || {{hidden sort key|or}} || Join input and output using "&nbsp;or&nbsp;" || Join values
|-
|-
|<code>&#124;disp=nocomma</code> || No comma in input or output numbers || Number format
|<code>&#124;disp=nocomma</code> || {{hidden sort key|nocomma}} || No comma in input or output numbers || Number format
|-
|-
|<code>&#124;disp=number</code>
|<code>&#124;disp=number</code> || {{hidden sort key|number}}
| rowspan=2 | Display output value only
| rowspan=2 | Display output value only
| rowspan=2 | Parts only
| rowspan=2 | Parts only
|-
|-
|<code>&#124;disp=output number only</code>
|<code>&#124;disp=output number only</code> || {{hidden sort key|output number only}}
|-
|-
|<code>&#124;disp=out</code>
|<code>&#124;disp=out</code> || {{hidden sort key|out}}
| rowspan=2 | Display only output value and name/symbol
| rowspan=2 | Display only output value and name/symbol
| rowspan=2 | Parts only
| rowspan=2 | Parts only
|-
|-
|<code>&#124;disp=output only</code>
|<code>&#124;disp=output only</code> || {{hidden sort key|output only}}
|-
|-
|<code>&#124;disp=preunit</code> || User-specified text before input and output units || Word adding
|<code>&#124;disp=preunit</code> || {{hidden sort key|preunit}} || User-specified text before input and output units || Word adding
|-
|-
|<code>&#124;disp=table</code> || Output is suitable for a table cell with align="right" || Table columns
|<code>&#124;disp=table</code> || {{hidden sort key|table}} || Output is suitable for a table cell with align="right" || Table columns
|-
|-
|<code>&#124;disp=tablecen</code> || Output is suitable for a table cell with align="center" || Table columns
|<code>&#124;disp=tablecen</code> || {{hidden sort key|tablecen}} || Output is suitable for a table cell with align="center" || Table columns
|-
|-
|<code>&#124;disp=unit</code> || Display input name/symbol only (not output; not input value) || Parts only
|<code>&#124;disp=unit</code> || {{hidden sort key|unit}} || Display input name/symbol only (not output; not input value) || Parts only
|-
|-
|<code>&#124;disp=unit2</code>
|<code>&#124;disp=unit2</code> || {{hidden sort key|unit2}}
| Display output name/symbol only (not input; not output value) || Parts only
| Display output name/symbol only (not input; not output value) || Parts only
|-
|-
|<code>&#124;disp=x&#124;...</code> || Join input and output using user-specified text || Word adding
|<code>&#124;disp=x&#124;...</code> || {{hidden sort key|x}} || Join input and output using user-specified text || Word adding
|-
|-
|<code>&#124;comma=5</code> || Only use comma for thousands separator if 5 or more digits || Number format
|<code>&#124;comma=5</code> || {{hidden sort key|5}} || Only use comma for thousands separator if 5 or more digits || Number format
|-
|-
|<code>&#124;comma=gaps</code> || Use gaps (space), not comma, for thousands separator || Number format
|<code>&#124;comma=gaps</code> || {{hidden sort key|gaps}} || Use gaps (space), not comma, for thousands separator || Number format
|-
|-
|<code>&#124;comma=gaps5</code> || Use gaps (space), but only if 5 or more digits || Number format
|<code>&#124;comma=gaps5</code> || {{hidden sort key|gaps5}} || Use gaps (space), but only if 5 or more digits || Number format
|-
|-
|<code>&#124;adj=nocomma</code>
|<code>&#124;adj=nocomma</code> || {{hidden sort key|nocomma}}
| No thousands separator (comma) in input and output numbers || Number format
| No thousands separator (comma) in input and output numbers || Number format
|-
|-
|<code>&#124;frac=''N''</code> || Show imperial number in fractions, denominator=''N'' || Number format, fraction
|<code>&#124;frac=''N''</code> || {{hidden sort key|N}} || Show imperial number in fractions, denominator=''N'' || Number format, fraction
|-
|-
|<code>&#124;lk=in</code> || Link left-hand side unit name or symbol || Unit link
|<code>&#124;lk=in</code> || {{hidden sort key|in}} || Link left-hand side unit name or symbol || Unit link
|-
|-
|<code>&#124;lk=on</code> || Link all unit names or symbols (but not twice for the same unit) || Unit link
|<code>&#124;lk=on</code> || {{hidden sort key|on}} || Link all unit names or symbols (but not twice for the same unit) || Unit link
|-
|-
|<code>&#124;lk=out</code> || Link right-hand side unit name or symbol || Unit link
|<code>&#124;lk=out</code> || {{hidden sort key|out}} || Link right-hand side unit name or symbol || Unit link
|-
|-
|<code>&#124;order=flip</code> || Inverts order of input, output measurements (conversion first) || Order
|<code>&#124;order=flip</code> || {{hidden sort key|flip}} || Inverts order of input, output measurements (conversion first) || Order
|-
|-
|<code>&#124;round=5</code> || Rounds calculation to the nearest multiple of 5 || Rounding and sigfig
|<code>&#124;round=5</code> || {{hidden sort key|5}} || Rounds calculation to the nearest multiple of 5 || Rounding and sigfig
|-
|-
|<code>&#124;round=25</code> || Rounds calculation to the nearest multiple of 25 || Rounding and sigfig
|<code>&#124;round=25</code> || {{hidden sort key|25}} || Rounds calculation to the nearest multiple of 25 || Rounding and sigfig
|-
|-
|<code>&#124;round=each</code> || In a range, each value is rounded by the default rounding || Rounding and sigfig
|<code>&#124;round=each</code> || {{hidden sort key|each}} || In a range, each value is rounded by the default rounding || Rounding and sigfig
|-
|-
|<code>&#124;sigfig=''N''</code> || Round output value to ''N'' significant figures (''N'' is a positive integer) || Rounding and sigfig
|<code>&#124;sigfig=''N''</code> || {{hidden sort key|N}} || Round output value to ''N'' significant figures (''N'' is a positive integer) || Rounding and sigfig
|-
|-
|<code>&#124;sortable=in</code>
|<code>&#124;sortable=in</code> || {{hidden sort key|in}}
| rowspan=2 | Output numeric hidden sort field for use in a sortable table (based on input)
| rowspan=2 | Output numeric hidden sort field for use in a sortable table (based on input)
| rowspan=2 | Table sort
| rowspan=2 | Table sort
|-
|-
|<code>&#124;sortable=on</code>
|<code>&#124;sortable=on</code> || {{hidden sort key|on}}
|-
|-
|<code>&#124;sortable=out</code> || Output numeric hidden sort field for use in a sortable table (based on output) || Table sort
|<code>&#124;sortable=out</code> || {{hidden sort key|out}} || Output numeric hidden sort field for use in a sortable table (based on output) || Table sort
|-
|-
|<code>&#124;sp=us</code> || Use U.S. spelling (like "meter" instead of default "metre") || Spelling
|<code>&#124;sp=us</code> || {{hidden sort key|us}} || Use U.S. spelling (like "meter" instead of default "metre") || Spelling
|-
|-
|<code>&#124;spell=in</code> || Spell input value in words || Number spelling
|<code>&#124;spell=in</code> || {{hidden sort key|in}} || Spell input value in words || Number spelling
|-
|-
|<code>&#124;spell=In</code> || Spell input value in words with first letter uppercase || Number spelling
|<code>&#124;spell=In</code> || {{hidden sort key|In}} || Spell input value in words with first letter uppercase || Number spelling
|-
|-
|<code>&#124;spell=on</code> || Spell input and output values in words || Number spelling
|<code>&#124;spell=on</code> || {{hidden sort key|on}} || Spell input and output values in words || Number spelling
|-
|-
|<code>&#124;spell=On</code> || Spell input and output values in words with first letter uppercase || Number spelling
|<code>&#124;spell=On</code> || {{hidden sort key|On}} || Spell input and output values in words with first letter uppercase || Number spelling
|-
|-
|<code>&#124;debug=yes</code> || '''Debugging only'''. In a sortable table: show the normally hidden sort key || Table sort
|<code>&#124;debug=yes</code> || {{hidden sort key|yes}} || '''Debugging only'''. In a sortable table: show the normally hidden sort key || Table sort
|-
|-
|<code>{{!xt|1=&#124;abbr=mos}}</code> || '''Deprecated'''. Use {{xt|1=&#x7c;x&#x7c;}} ''or'' {{xt|1=&#x7c;by&#x7c;}} || Range format
|<code>{{!xt|1=&#124;abbr=mos}}</code> || {{hidden sort key|mos}} || '''Deprecated'''. Use {{xt|1=&#x7c;x&#x7c;}} ''or'' {{xt|1=&#x7c;by&#x7c;}} || Range format
|-
|-
|<code>{{!xt|1=&#124;abbr=comma}}</code> || '''Deprecated'''. Use {{xt|1=&#x7c;adj=nocomma}} || Number format
|<code>{{!xt|1=&#124;abbr=comma}}</code> || {{hidden sort key|comma}} || '''Deprecated'''. Use {{xt|1=&#x7c;adj=nocomma}} || Number format
|-
|-
|<code>{{!xt|1=&#124;adj=flip}}</code> || '''Deprecated'''. Use {{xt|1=&#x7c;order=flip}} || Order
|<code>{{!xt|1=&#124;adj=flip}}</code> || {{hidden sort key|fllip}} || '''Deprecated'''. Use {{xt|1=&#x7c;order=flip}} || Order
|-
|-
|<code>{{!xt|1=&#124;disp=flip}}</code> ||  '''Deprecated'''. Use {{xt|1=&#x7c;order=flip}} || Order
|<code>{{!xt|1=&#124;disp=flip}}</code> || {{hidden sort key|flip}} ||  '''Deprecated'''. Use {{xt|1=&#x7c;order=flip}} || Order
|-
|-
|<code>{{!xt|1=&#124;disp=flip5}}</code> || '''Deprecated'''. Use {{xt|1=&#x7c;order=flip&nbsp;&#x7c;round=5}} || Order, rounding
|<code>{{!xt|1=&#124;disp=flip5}}</code> || {{hidden sort key|flip5}} || '''Deprecated'''. Use {{xt|1=&#x7c;order=flip&nbsp;&#x7c;round=5}} || Order, rounding
|-
|-
|<code>{{!xt|1=&#124;disp=5}}</code> || '''Deprecated'''. Use {{xt|1=&#x7c;round=5}} || Rounding and sigfig
|<code>{{!xt|1=&#124;disp=5}}</code> || {{hidden sort key|5}} || '''Deprecated'''. Use {{xt|1=&#x7c;round=5}} || Rounding and sigfig
|-
|-
|<code>{{!xt|1=&#124;disp=2}}</code> || '''Deprecated'''. Use {{xt|1=&#x7c;disp=output only}} || Parts only
|<code>{{!xt|1=&#124;disp=2}}</code> || {{hidden sort key|2}} || '''Deprecated'''. Use {{xt|1=&#x7c;disp=output only}} || Parts only
|-
|-
|<code>{{!xt|1=&#124;disp=u2}}</code> || '''Deprecated'''. Use {{xt|1=&#x7c;disp=unit2}} || Parts only
|<code>{{!xt|1=&#124;disp=u2}}</code> || {{hidden sort key|u2}} || '''Deprecated'''. Use {{xt|1=&#x7c;disp=unit2}} || Parts only
|-
|-
|<code>{{!xt|1=&#124;near=5}}</code> || '''Deprecated'''. Use {{xt|1=&#x7c;round=5}} || Rounding and sigfig
|<code>{{!xt|1=&#124;near=5}}</code> || {{hidden sort key|5}} || '''Deprecated'''. Use {{xt|1=&#x7c;round=5}} || Rounding and sigfig
|}<noinclude>
|}<noinclude>
{{documentation}}
{{documentation}}
</noinclude>
</noinclude>

Revision as of 17:21, 5 November 2014

Option =.. Description Note
|abbr=in Template:Hidden sort key Use symbol for first (left-hand side) unit Abbr (symbol)
|abbr=off Template:Hidden sort key Use name for all units Abbr (symbol)
|abbr=none Template:Hidden sort key
|abbr=on Template:Hidden sort key Use symbol for all units Abbr (symbol)
|abbr=out Template:Hidden sort key Use symbol for right-hand side unit (default) Abbr (symbol)
|abbr=values Template:Hidden sort key Show only input and output numbers, not units Parts only
|adj=1 Template:Hidden sort key Unit name is singular when value is 1 or less, but not zero Grammar, plural
|adj=j Template:Hidden sort key Join value and unit name using "&nbsp;" instead of a space Join values
|adj=mid Template:Hidden sort key Same as adj=on with user-specified text after input unit Word adding, adjective
|adj=on Template:Hidden sort key Unit name is singular and hyphenated (adjective) Grammar, adjective
|adj=pre Template:Hidden sort key User-specified text before input unit Word adding
|adj=ri0 Template:Hidden sort key Round input with precision 0 Rounding and sigfig
|adj=ri1 Template:Hidden sort key Round input with precision 1 Rounding and sigfig
|adj=ri2 Template:Hidden sort key Round input with precision 2 Rounding and sigfig
|adj=ri3 Template:Hidden sort key Round input with precision 3 Rounding and sigfig
|disp=b Template:Hidden sort key Join input and output using " (...)" (default) Join values
|disp=sqbr Template:Hidden sort key Join input and output using " [...]" Join values
|disp=br Template:Hidden sort key Join input and output using "<br/>" Join values
|disp=comma Template:Hidden sort key Join input and output using ", " Join values
|disp=or Template:Hidden sort key Join input and output using " or " Join values
|disp=nocomma Template:Hidden sort key No comma in input or output numbers Number format
|disp=number Template:Hidden sort key Display output value only Parts only
|disp=output number only Template:Hidden sort key
|disp=out Template:Hidden sort key Display only output value and name/symbol Parts only
|disp=output only Template:Hidden sort key
|disp=preunit Template:Hidden sort key User-specified text before input and output units Word adding
|disp=table Template:Hidden sort key Output is suitable for a table cell with align="right" Table columns
|disp=tablecen Template:Hidden sort key Output is suitable for a table cell with align="center" Table columns
|disp=unit Template:Hidden sort key Display input name/symbol only (not output; not input value) Parts only
|disp=unit2 Template:Hidden sort key Display output name/symbol only (not input; not output value) Parts only
|disp=x|... Template:Hidden sort key Join input and output using user-specified text Word adding
|comma=5 Template:Hidden sort key Only use comma for thousands separator if 5 or more digits Number format
|comma=gaps Template:Hidden sort key Use gaps (space), not comma, for thousands separator Number format
|comma=gaps5 Template:Hidden sort key Use gaps (space), but only if 5 or more digits Number format
|adj=nocomma Template:Hidden sort key No thousands separator (comma) in input and output numbers Number format
|frac=N Template:Hidden sort key Show imperial number in fractions, denominator=N Number format, fraction
|lk=in Template:Hidden sort key Link left-hand side unit name or symbol Unit link
|lk=on Template:Hidden sort key Link all unit names or symbols (but not twice for the same unit) Unit link
|lk=out Template:Hidden sort key Link right-hand side unit name or symbol Unit link
|order=flip Template:Hidden sort key Inverts order of input, output measurements (conversion first) Order
|round=5 Template:Hidden sort key Rounds calculation to the nearest multiple of 5 Rounding and sigfig
|round=25 Template:Hidden sort key Rounds calculation to the nearest multiple of 25 Rounding and sigfig
|round=each Template:Hidden sort key In a range, each value is rounded by the default rounding Rounding and sigfig
|sigfig=N Template:Hidden sort key Round output value to N significant figures (N is a positive integer) Rounding and sigfig
|sortable=in Template:Hidden sort key Output numeric hidden sort field for use in a sortable table (based on input) Table sort
|sortable=on Template:Hidden sort key
|sortable=out Template:Hidden sort key Output numeric hidden sort field for use in a sortable table (based on output) Table sort
|sp=us Template:Hidden sort key Use U.S. spelling (like "meter" instead of default "metre") Spelling
|spell=in Template:Hidden sort key Spell input value in words Number spelling
|spell=In Template:Hidden sort key Spell input value in words with first letter uppercase Number spelling
|spell=on Template:Hidden sort key Spell input and output values in words Number spelling
|spell=On Template:Hidden sort key Spell input and output values in words with first letter uppercase Number spelling
|debug=yes Template:Hidden sort key Debugging only. In a sortable table: show the normally hidden sort key Table sort
|abbr=mos Template:Hidden sort key Deprecated. Use |x| or |by| Range format
|abbr=comma Template:Hidden sort key Deprecated. Use |adj=nocomma Number format
|adj=flip Template:Hidden sort key Deprecated. Use |order=flip Order
|disp=flip Template:Hidden sort key Deprecated. Use |order=flip Order
|disp=flip5 Template:Hidden sort key Deprecated. Use |order=flip |round=5 Order, rounding
|disp=5 Template:Hidden sort key Deprecated. Use |round=5 Rounding and sigfig
|disp=2 Template:Hidden sort key Deprecated. Use |disp=output only Parts only
|disp=u2 Template:Hidden sort key Deprecated. Use |disp=unit2 Parts only
|near=5 Template:Hidden sort key Deprecated. Use |round=5 Rounding and sigfig