Template:Nrow

Permanently protected template
From Meta, a Wikimedia project coordination wiki

|-

|{{{1}}}

Template documentation

This template gives the syntax for a table row containing parameter 1 if it is not empty, otherwise nothing. This allows optional rows in a table without causing empty rows causing empty space.

Usage

  • "{{nrow|x}}" → "

|- |x" [1] (as the linked ExpandTemplate page shows, there is a newline at start so that the row header will be interpreted correctly, but not at the end)

  • "{{nrow|}}" → "" [2]
  • "{{nrow}}" → "

|- |{{{1}}}" [3]