Jump to content

Template:PAI Infobox/row

From PAI

A helper for Template:PAI Infobox. It outputs one table row.

Parameters

  • label: field label (optional)
  • value: field value; if empty, the entire row is hidden

Behaviour

  • If both label and value are given, the row shows the label on the left and the value on the right.
  • If only value is given, the value spans the full width of the infobox.
  • If value is empty, nothing is output, even when a label is set.

Notes for editors

  • To show several items in one value, use <br /> between them. Wiki list markup (*) does not work inside an infobox value.
  • A literal pipe character in a value must be written as {{!}}.

Example

{{PAI Infobox/row|label=Field|value=Engineering}}