Template:Script/doc

Template page

This category is an index of templates which use TemplateStyles. It is automatically populated by {{Uses TemplateStyles}}.


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 MOS:OTHERLANG for more details.

Currently, the following scripts are supported:

By script name
By ISO script code (like 'Xabc')

See also

Template Data

This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. Click here to see a monthly parameter usage report for this template in articles based on this TemplateData.

TemplateData for Script

Template data

Marks some text as in a different script according to ISO 15924 script codes

Template parameters

ParameterDescriptionTypeStatus
Script code1 script

ISO 15924 script code for the script used

Example
Hang (hangul), Latn (Latin), Hant (traditional Chinese characters)
Linerequired
Text2 text

The text in the script demarcated

Example
國漢文混用
Linerequired