Template:Script/doc

From Dothack Info
Revision as of 22:35, 30 January 2023 by MysteryCorgi (talk | contribs) (Replaced content with "{{Documentation subpage}} {{Uses TemplateStyles|Template:Script/styles.css|noprotcat=yes}} === 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. Curr...")
Jump to navigation Jump to search

Lua error: Internal error: The interpreter exited with status 1. Lua error: Internal error: The interpreter exited with status 1.

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.

Currently, the following scripts are supported:

By ISO script code
  • Lua error: Internal error: The interpreter exited with status 1. → .script-gaelic {

font-size: 1.25em; font-family: Duibhlinn, Ceanannas, Corcaigh, 'Bunchló Ársa GC', 'Bunchlo Arsa GC', Gaelic, Gadelica, Junicode, Cardo; } (uses {{Script/Gaelic}})


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

Lua error: Internal error: The interpreter exited with status 1.

<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>