Template:Title/doc

From Wikisource
Jump to navigation Jump to search

Usage[edit]

This template shows a centered title, and creates an anchor for linking to it with an html/wikilink. It takes four parameters:

  • The first parameter is the text of the title (and of the anchor)
  • The |size parameter defines the font size of the title. Default uses the x-larger size. Options include "larger," "x-larger," "xx-larger," "xxx-larger" and "xxxx-larger."
  • The |align parameter determines the alignment. Default is "center".
  • The |style parameter applies any desired style to the text.

Example

{{title|Title}}
Title

Example

{{title|Styled Title|size=xxx-larger|align=right|style=color:darkred;}}
Styled Title