మూస:script/doc

విక్షనరీ నుండి
Jump to navigation Jump to search
Edit-copy green.svg Documentation for మూస:script. [edit]
This page contains usage information, categories, interwiki links and other content describing the template.
Alternative name:
{{script code to script name}}

This template returns a script name from a script code.

Usage[<small>మార్చు</small>]

This template uses only one parameter, for the script code.

If the script code for an alias is followed by "_alias", "_alias2" or "_alias3", it returns the other script codes.

Examples[<small>మార్చు</small>]

  • {{script|Latn}} returns:
    Latin
  • {{script|Armn}} returns:
    Armenian
  • {{script|Jpan}} returns:
    Japanese
  • {{script|Jpan_alias}} returns:
    Hani
  • {{script|Jpan_alias2}} returns:
    Hira
  • {{script|Jpan_alias3}} returns:
    Kana
  • {{script|{{script|Jpan_alias3}}}} returns:
    Katakana

Mechanics[<small>మార్చు</small>]

This template uses a simple {{#switch:}} parser function to handle language codes and script codes.

EXAMPLES:

1. Script names.
|Armn=Armenian
|Latn=Latin

2. Script aliases.
|Jpan_alias=Hani
|Jpan_alias2=Hira
|Jpan_alias3=Kana

See also[<small>మార్చు</small>]

"https://te.wiktionary.org/w/index.php?title=మూస:script/doc&oldid=282425" నుండి వెలికితీశారు