Template:Infobox spacer/doc: Difference between revisions
Jump to navigation
Jump to search
imported>Korra II A Royal m (2 revisiones importadas) |
imported>Korra II A Royal m (Text replacement - "Infobox templates" to "Infobox Templates") |
||
Line 1: | Line 1: | ||
{{Doc/start}} | {{Doc/start}} | ||
Creates a blank row for spacing in an [[:Category:Infobox | Creates a blank row for spacing in an [[:Category:Infobox Templates|infobox]]. The row is 0.5em high and has no content. | ||
==Usage== | ==Usage== |
Revision as of 00:35, November 15, 2022
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.