<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-GB">
	<id>https://stockhub.co/index.php?action=history&amp;feed=atom&amp;title=Module%3ALang-hbs%2Fdoc</id>
	<title>Module:Lang-hbs/doc - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://stockhub.co/index.php?action=history&amp;feed=atom&amp;title=Module%3ALang-hbs%2Fdoc"/>
	<link rel="alternate" type="text/html" href="https://stockhub.co/index.php?title=Module:Lang-hbs/doc&amp;action=history"/>
	<updated>2026-05-24T15:45:33Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.5</generator>
	<entry>
		<id>https://stockhub.co/index.php?title=Module:Lang-hbs/doc&amp;diff=137138&amp;oldid=prev</id>
		<title>imported&gt;Primefac: TFD closed as keep (XFDcloser)</title>
		<link rel="alternate" type="text/html" href="https://stockhub.co/index.php?title=Module:Lang-hbs/doc&amp;diff=137138&amp;oldid=prev"/>
		<updated>2020-12-11T01:27:33Z</updated>

		<summary type="html">&lt;p&gt;TFD closed as keep (&lt;a href=&quot;/index.php?title=WP:XFDC&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;WP:XFDC (page does not exist)&quot;&gt;XFDcloser&lt;/a&gt;)&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{module rating|alpha}}&lt;br /&gt;
&amp;lt;!-- Categories go at the bottom of this page and interwikis go in Wikidata. --&amp;gt;&lt;br /&gt;
This module produces equivalent [[Serbo-Croatian]] [[Gaj&amp;#039;s Latin alphabet|Latin]] text from [[Serbian Cyrillic alphabet|Cyrillic]] input.&lt;br /&gt;
&lt;br /&gt;
== Usage ==&lt;br /&gt;
&lt;br /&gt;
This module exports two functions providing different outputs. Both functions require {{para|text}} argument for proper operation.&lt;br /&gt;
&lt;br /&gt;
=== cyr2lat and lat2cyr ===&lt;br /&gt;
&lt;br /&gt;
These function should be invoked the following way:&lt;br /&gt;
&lt;br /&gt;
 &amp;amp;#123;{#invoke:lang-hbs|&amp;#039;&amp;#039;cyr2lat&amp;#039;&amp;#039;|&amp;#039;&amp;#039;text to be converted&amp;#039;&amp;#039;}}&lt;br /&gt;
 &amp;amp;#123;{#invoke:lang-hbs|&amp;#039;&amp;#039;lat2cyr&amp;#039;&amp;#039;|&amp;#039;&amp;#039;text to be converted&amp;#039;&amp;#039;}}&lt;br /&gt;
&lt;br /&gt;
It replaces all letters of Serbo-Croatian Cyrillic alphabet with corresponding Latin letters.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Note&amp;#039;&amp;#039;&amp;#039;: per [[MOS:FOREIGN]] non-English words in Latin script should be &amp;#039;&amp;#039;italicized&amp;#039;&amp;#039;. &amp;lt;code&amp;gt;cyr2lat&amp;lt;/code&amp;gt; fuction leaves it to users.&lt;br /&gt;
&lt;br /&gt;
=== convert ===&lt;br /&gt;
&lt;br /&gt;
This function should be invoked the following way:&lt;br /&gt;
&lt;br /&gt;
 &amp;amp;#123;{#invoke:lang-hbs|&amp;#039;&amp;#039;concat&amp;#039;&amp;#039;|cyrillic=&amp;#039;&amp;#039;Cyrillic text&amp;#039;&amp;#039;|latin=&amp;#039;&amp;#039;Latin text&amp;#039;&amp;#039;}}&lt;br /&gt;
&lt;br /&gt;
It replaces Serbo-Croatian Cyrillic with Latin and returns both Cyrillic and Latin text with latter being italicized. Either of {{para|cyrillic}} and {{para|latin}} is sufficient.&lt;br /&gt;
&lt;br /&gt;
== Caveats ==&lt;br /&gt;
&lt;br /&gt;
*Serbo-Croatian Latin alphabet includes letters &amp;quot;ǉ&amp;quot;, &amp;quot;ǌ&amp;quot; and &amp;quot;ǆ&amp;quot;, which, in addition to [[upper case]] (&amp;quot;Ǉ&amp;quot;, &amp;quot;Ǌ&amp;quot; and &amp;quot;Ǆ&amp;quot; respectively), also have &amp;quot;[[title case]]&amp;quot; (&amp;quot;ǈ&amp;quot;, &amp;quot;ǋ&amp;quot; and &amp;quot;ǅ&amp;quot;), which is used when only individual letters of the word are capitalized (eg. name &amp;quot;Љиљана&amp;quot; is spelled as &amp;quot;ǈiǉana&amp;quot;, not &amp;quot;Ǉiǉana&amp;quot;). For performance and algorythmic complexity reasons this template always uses title case instead of upper case.&lt;br /&gt;
*Latin to Cyrillic transliteration works only with Unicode digraphs. Use Cyrillic to Latin transliteration if in doubt.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;includeonly&amp;gt;{{#ifeq:{{SUBPAGENAME}}|sandbox||&lt;br /&gt;
&amp;lt;!-- Categories go here and interwikis go in Wikidata. --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
}}&amp;lt;/includeonly&amp;gt;&lt;/div&gt;</summary>
		<author><name>imported&gt;Primefac</name></author>
	</entry>
</feed>