Template:rfscript
- The following documentation is located at Template:rfscript/documentation. [edit]
- Useful links: subpage list • links • redirects • transclusions • errors (parser/module) • sandbox
Usage
[edit]This template is used to tag entries that are missing the native script of a language. It is automatically added by several templates such as {{term}}
, {{l}}
and so on, but you can also add it to an entry yourself. In the wikitext, it should be placed next to (or as close as possible to) the term that needs the script, not at the end of the entry or anywhere else.
Parameters
[edit]|1=
(required)- The language code (see Wiktionary:Languages). This is mandatory; if you don't know the language, use "und".
|sc=
- Which specific script to request. This is strictly optional, and is only needed for languages that can be written in multiple scripts. If the language has only one script, this has no effect (unless the language is "und").
|usex=1
- If specified, place the page in the category Category:Requests for SCRIPT script in LANG usage examples instead of Category:Requests for SCRIPT script for LANG terms.
|sort=
- The sort key for the page; rarely needs to be specified.
|nocat=1
- Disable categorization of this page.
This template adds the page to the following category (where LANG is the language whose code is specified using |1=
and SCRIPT is the script whose code is specified using |sc=
):
- Category:Requests for native script for LANG terms (if
|sc=
and|usex=
not specified) - Category:Requests for SCRIPT script for LANG terms (if
|sc=
but not|usex=
specified) - Category:Requests for native script in LANG usage examples (if
|usex=
but not|sc=
not specified) - Category:Requests for SCRIPT script in LANG usage examples (if
|sc=
and|usex=
specified)
Examples
[edit]{{rfscript|cu}}
Adds the entry to: Category:Requests for native script for Old Church Slavonic terms
{{rfscript|cu|sc=Glag}}
Adds the entry to: Category:Requests for Glagolitic script for Old Church Slavonic terms
{{rfscript|ru|sc=Cyrl}}
Adds the entry to: Category:Requests for native script for Russian terms (because Russian has only one script)
{{rfscript|cu|sc=Cyrl|usex=1}}
Adds the entry to: Category:Requests for Cyrillic script in Old Church Slavonic usage examples
See also
[edit]- Category:Request templates
- Category:Requests for native script by language
- Category:Requests for native script in usage examples by language