Template:Convert/list of units/item

From Wikibooks, open books for an open world
Jump to navigation Jump to search

{{convert/{{{1}}}|{{{1}}}||||||s=|r=er|d=list of units/row}}

The Template:Convert/list of units/item processes one unit-code to display within the tables of the documentation page {{Convert/list of units}} for Template:Convert. The parameters are:

  • T - the unit code
  • note - a text note to display in the table
  • rowspan - the number of table rows the unit will span
  • altab - the altab
  • uk - the spelling for a U.K. variation
  • fmt - beginning markup to format the conversion factor
  • fmtend - ending markup to format the conversion factor
  • d - (internal) template name to format data as a table row

This template invokes a typical conversion of a unit, but rather than converting to another unit, it triggers the display of the internal data used to calculate the specified conversion.