Template:Text-align/doc

From the AARoads Wiki: Read about the road before you go
Jump to navigation Jump to search

This template takes a single anonymous parameter with one or two characters or a keyword, which are mapped to supported values of the CSS text-align property[1]:

  • left: <, left, l and start, s because English is written left-to-right
  • right: >, right, r and end, e
  • justify: <>, justify, j, both, b
  • center: ><, center, c, none, n
  • auto: a, auto, default

The output is a full CSS rule usable in style attributes.