Template:Script/doc

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

Script error: No such module "Message box". Script error: No such module "High-use". Template:Uses TemplateStyles

This template applies custom styling (better typefaces and/or typefaces that support uncommon scripts and/or bigger size text) to scripts (writing systems).

Usage

This template takes two unnamed parameters: the ISO 15924 alpha-4 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 Template:Tlx will be marked up as Hebrew Template:Em, but not Hebrew Template:Em.

This means that foreign-language text will not be invisibly marked up as a different language in the same manner as Template:Tlx or Template:Tlx. Non-English text Template:Em 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 <templatestyles src="Nobold/styles.css"/>(like '<templatestyles src="Mono/styles.css" />Xabc')

See also

Template Data

Template:TemplateDataHeader

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