Template:Script/doc

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

Usage

This template applies custom styling (better typefaces and/or typefaces that support uncommon scripts and/or bigger size text) to scripts (writing systems), identified by their ISO 15924 alpha-4 code. It takes two unnamed parameters: the ISO code, and the text to transform. Some scripts can also be identified by their name.

This template does not mark up text as being X language. For instance, Hebrew text marked up using {{Script/Hebrew}} will be marked up as Hebrew script, but not Hebrew text.

This means that foreign-language text will not be invisibly marked up as a different language in the same manner as {{lang}} or {{transl}}. Non-English text needs to be marked up in {{Language templates}} for accessibility.

See also

Template Data

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

TemplateData for Script

Template data

<templatedata> { "params": { "1": { "aliases": [ "script" ], "label": "Script code", "description": "ISO 15924 script code for the script used", "example": "Hang (hangul), Latn (Latin), Hant (traditional Chinese characters)", "type": "line", "required": true }, "2": { "aliases": [ "text" ], "label": "Text", "description": "The text in the script demarcated", "example": "國漢文混用", "type": "line", "required": true } }, "description": "Marks some text as in a different script according to ISO 15924 script codes" } </templatedata>