Template:Script directionality/doc: Difference between revisions

Content deleted Content added
Values for direction field: capitalisation; missing header cell
Tags: Mobile edit Mobile web edit Advanced mobile edit
Line 9:
The template automatically assigns script direction categories based on the input to the ''direction'', ''traditional'', ''historic'', and ''modern'' fields. This can be overridden by setting ''nocat=yes''. Any input besides ''yes'' will retain the automatic categorization.-->
 
===Values for Directiondirection field===
 
'''Direction''' and the named fields '''''traditional''''', '''''historic''''', or '''''modern''''', should be one of the following values:
 
{| class="wikitable"
!colspan="2"|Text Directionsdirections !!colspan="5"|Input codes (case insensitive) and associated graphic
|-
| '''Word:''' || style="text-align:right;" | '''Line:''' || style="text-align:center;" | Down || style="text-align:center;" | Up || style="text-align:center;" | Left || style="text-align:center;" | Right || style="text-align:center;" | Alternate codes (matches '''*''' code)
Line 36:
|colspan="2"| Variable direction || '''''H-TB''''' {{Script directionality|H-TB|none}} || '''''H-BT''''' {{Script directionality|H-BT|none}}|| '''''V-RL''''' {{Script directionality|V-RL|none}}|| '''''V-LR''''' {{Script directionality|V-LR|none}} || style="text-align:center;" |
|-
!colspan="2"| !! colspan="45"| Swirls
|-
|colspan="2"| || colspan="2" align=center| Outwards || colspan="2" align=center| Inwards || style="text-align:center;" | Alternate codes (matches '''*''' code)
Line 53:
<nowiki>*</nowiki> Codes marked with an asterisk have alternate codes, displayed in the last column.
 
* Note that many of the alternate codes resolve to the most common writing directions, and may not be universally applicable (eg,e.g. not all vertical writing systems are written Top to Bottom, in lines from Right to Left).
 
===Values for DirText and LabelText fields===