Template:Script/doc

Revision as of 18:59, 18 October 2020 by Caleb Cooper (talk | contribs) (Created page with "{{Documentation subpage}} {{Uses TemplateStyles|Template:Script/styles.css|noprotcat=yes}} {{Commons Import}} === Usage === This template applies custom styling (better typef...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
This content is in the Template Namespace. Used for page-templates that can be re-used across the wiki.


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 code. It takes two unnamed parameters: the ISO code, and the text to transform. Currently, the following codes are supported:

See also

  • {{Lang}} for identifying text as belonging to a language and script, etc. (beyond the scope of this template)
  • {{IPA}} to style text for IPA notation
  • {{ISO 15924 script codes and Unicode}} for a list of ISO 15924 codes with their names and other details

Template:ISO 15924/footer

Template Data

This is the TemplateData documentation for this template used by VisualEditor and other tools; click here to see a monthly parameter usage report for this template.

TemplateData for Script/doc

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

Template parameters[Edit template data]

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 demacrated

Example
國漢文混用
Linerequired