Template:Lang-syc

From Wikisource
Jump to: navigation, search

{{{text}}}

This is a simple template that helps format Syriac text. It defines the direction as right-to-left and HTML lang property to "syc".

This template is not intended for formatting whole paragraphs, but only Syriac passages in a paragraph that may be left-to-right. (In HTML terms, it's a <span>, not a <div>.)

It takes one required argument: "text". Example:

  • {{lang-syc|text=ܥܰܠܝܡܳܐ}}

yields:

  • ܥܰܠܝܡܳܐ

This is the English Wikisource, Syriac <span>s are expected to be embedded in left-to-right paragraphs; therefore by default this template ends with the left-to-right marker (‎). If you want to disable it, add the argument "nolrm=1":

  • Without "nolrm": {{lang-syc|text=ܡܠܟܘܬܐ}}, {{lang-syc|text=ܫܩܠܘܬܐ‎}} -> ܡܠܟܘܬܐ‎, ܫܩܠܘܬܐ
  • With "nolrm": {{lang-syc|nolrm=1|text=ܡܠܟܘܬܐ}}, {{lang-syc|text=ܫܩܠܘܬܐ‎}} -> ܡܠܟܘܬܐ, ܫܩܠܘܬܐ

See also[edit]