Template:Vpad/doc

< Template:Vpad
Revision as of 17:59, 6 November 2024 by Muskit Gergous (talk | contribs) (Created page with "{{documentation subpage}} ==Usage== Template:Vpad (''V''ertical ''pad''ding) creates an invisible div of user-specified height for padding. <syntaxhighlight lang="wikitext">{{vpad |1= |clear= }}</syntaxhighlight> * {{para|1}} Height of the div in {{code|em}} or {{code|px}}. Defaults to {{code|1em}}. * {{para|clear}} Sets the CSS {{code|clear}} property. Defaults to {{code|both}}. ==TemplateData== {{cot|1=TemplateData|2= <templatedata> { "params": { "1": { "label...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Usage

Template:Vpad (Vertical padding) creates an invisible div of user-specified height for padding.

{{vpad |1= |clear= }}
  • |1= Height of the div in em or px. Defaults to 1em.
  • |clear= Sets the CSS clear property. Defaults to both.

TemplateData

TemplateData

Creates an invisible div of user-specified height for padding

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Height1

Height of the div in 'em' or 'px'

Default
1em
Example
10px, 1=2em
Stringsuggested
Clearclear

Sets the CSS 'clear' property

Default
both
Example
clear=left, clear=none
Stringoptional

See also