Template:Text direction
Appearance
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]| 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]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.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Direction | 1 | Must use one of the listed suggested values.
| String | required |
| Text | 2 | no description | Content | required |
| Additional CSS styles | style | no description | String | optional |