Template:Infobox spacer/doc: Difference between revisions

The Two Worlds Wiki - Documenting Two Worlds since 2008.
Jump to navigation Jump to search
Mystery Dungeon Independent>Korra II A Royal
m (1 revision imported)
m (4 revisions imported)
 
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
{{Doc/start}}
{{Doc/start}}
Creates a blank row for spacing in an [[:Category:Infobox templates|infobox]]. The row is 0.5em high and has no content.
Creates a blank row for spacing in an [[:Category:Infobox Templates|infobox]]. The row is 0.5em high and has no content.


==Usage==
==Usage==

Latest revision as of 21:03, November 27, 2023

Template-info.png Documentation

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

Usage[edit source]

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

Example[edit source]

{{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.