Skip to main content

Unit Placeholders

Use Type = unit when a placeholder should provide a static unit such as °C, %, or kHz.

This page is part of the Placeholder Definitions section.

Required Columns

ColumnWhat it means
Placeholder KeyThe key used in templates, without braces.
TypeMust be unit.
Display TextThe unit text shown on the page.
Base Unit FactorConversion factor used when the unit placeholder is used as a pipe on a numeric data placeholder.

What To Fill In

  • Source Field ID is not needed.
  • Display Strategy is ignored.
  • Entity Type is ignored.
  • The value in Display Text is rendered directly.
  • Base Unit Factor is used for unit-conversion pipes such as {{impedance-analog-in-resistance | resistance-default-unit}}.

Example Keys

  • operating-temperature-unit -> °C
  • humidity-unit -> %
  • resolution-unit -> bit
  • sampling-rate-default-unit -> kHz
  • sampling-rate-high-unit -> MHz
  • settling-time-unit -> µs
  • resistance-default-unit ->
  • resistance-high-unit ->
  • capacitance-unit -> pF

Example Template

{{operating-temperature-min}} {{operating-temperature-unit}} to {{operating-temperature-max}} {{operating-temperature-unit}}

Unit Conversion With Pipes

You can also use a unit placeholder as a pipe on a numeric data placeholder:

{{impedance-analog-in-resistance | resistance-default-unit}}

In this case:

  • the data placeholder provides the numeric source value
  • the unit placeholder provides Display Text
  • the Base Unit Factor controls how the numeric value is converted before rendering

Example:

  • source value in Airtable: 13600
  • unit placeholder:
    • Display Text = kΩ
    • Base Unit Factor = 1000
  • rendered output: 13.6 kΩ

Recommended setup:

  • Choose one canonical storage unit per unit family in Airtable.
  • Set that unit placeholder to Base Unit Factor = 1.
  • Define every other unit placeholder relative to that storage unit.
tip

Use a unit placeholder whenever the same unit text appears in more than one row. That keeps the table consistent and easier to update.