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
andstart
,s
because English is written left-to-right - right:
>
,right
,r
andend
,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.