Template:Text direction/doc

From Wikipedia, the free encyclopedia
Jump to navigation Jump to search

This template reflects or rotates text in one of the conventionally standard Unicode orientations:

  • reversed (reflected horizontally)
  • inverted (reflected vertically)
  • turned (rotated 180 degrees)
  • sideways (rotated -90 degrees)

This may be particularly useful when describing symbols from various phonetic transcription systems which are not directly supported by Unicode.

Under the hood, it's just a wrapper for {{Flip text}} and {{Rotate text}}.

Example

[edit source]
Input Result
{{Text direction|reversed|This is reversed text}} This is reversed text
Input Result
{{Text direction|inverted|This is inverted text}} This is inverted text
Input Result
{{Text direction|turned|This is turned text}} This is turned text
Input Result
{{Text direction|sideways|This is sideways text}} This is sideways text

TemplateData

[edit source]
This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:Text direction in articles based on its TemplateData.

TemplateData for Text direction

No description.

Template parameters

ParameterDescriptionTypeStatus
Direction1

Must use one of the listed suggested values.

Suggested values
reversed r inverted i turned t sideways s
Stringrequired
Text2

no description

Contentrequired
Additional CSS stylesstyle

no description

Stringoptional

See also

[edit source]