Jump to content

Template:Text to image/doc

From Wikipedia, the free encyclopedia

Usage

[edit]

This template converts the letter-by-letter piped text into image. Accepts two named parameters:

  • |sc= for script code, usually an ISO 15924 name
  • |size= to set letter size (default value of 15)

It calls individual letter-to-image converters in format sc2img which return picture name for a given letter (either in transliterated form, or in original script).

Note: Images are displayed from left to right, therefore the scripts that use right-to-left order (like Phoenician) often need to pipe the letters in reverse order. They can be placed in the correct order when they are displayed with the CSS property direction: rtl;, for instance when they are tagged with a class for a right-to-left script such as class="Phnx" in a headword line.