Template:Type

From Wikisource
Jump to navigation Jump to search
Documentation icon Template documentation[view] [edit] [history] [purge]

The template allows a fine-tuned formatting of special lines of text (mainly useful to render frontispieces and titles). Internally used by Template:Ct (Center + Type).

All parameters are nominal, but one (text to be formatted)

Parameters[edit]

  • f = font-size (any unit)
  • l = letter spacing (any unit)
  • w = word spacing (any unit)
  • i = line-height (em only; please give a number without unit[1])

Examples[edit]

  • font=150%:

This is a title

  • font=150%, letter spacing 3px, word-spacing 6px:

This is a title

  1. Not recommended, since Template:Ct manages much better block margins)