Template:Infobox spacer/doc

From Pirate Software Wiki
Revision as of 15:23, 29 November 2023 by Djinnet (talk | contribs) (doc for spacer in modular infobox)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Documentation

Creates a blank row for spacing in an infobox. The row is 0.5em high and has no content.

Usage

{{Infobox spacer|test-value}}
  • test-value - optional. If given, the spacer will display only if the value is not empty

Example

{{Infobox row|Image|[[File:{{{image|}}}|128px]]}}
{{Infobox spacer|{{{image|}}}}}
{{Infobox row|Description|{{{description|}}}}}

In this example, the spacer will add a space 0.5em high between the Image and Description row, but only if {{{image|}}} is not empty.