Open main menu
Home
Random
Donate
Recent changes
Special pages
Community portal
Preferences
About Stockhub
Disclaimers
Search
User menu
Talk
Contributions
Create account
Log in
Editing
Module:Lang-hbs/doc
(section)
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
== Usage == This module exports two functions providing different outputs. Both functions require {{para|text}} argument for proper operation. === cyr2lat and lat2cyr === These function should be invoked the following way: {{#invoke:lang-hbs|''cyr2lat''|''text to be converted''}} {{#invoke:lang-hbs|''lat2cyr''|''text to be converted''}} It replaces all letters of Serbo-Croatian Cyrillic alphabet with corresponding Latin letters. '''Note''': per [[MOS:FOREIGN]] non-English words in Latin script should be ''italicized''. <code>cyr2lat</code> fuction leaves it to users. === convert === This function should be invoked the following way: {{#invoke:lang-hbs|''concat''|cyrillic=''Cyrillic text''|latin=''Latin text''}} 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.
Summary:
Please note that all contributions to Stockhub may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
Stockhub:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)