Module:Convert to eastern arabic numerals/doc: Difference between revisions

Content deleted Content added
Add documentation
 
 
(2 intermediate revisions by 2 users not shown)
Line 3:
== Usage ==
=== From wikitext ===
<nowiki>{{#invoke:mlx|Convert to eastern arabic numerals|convert|3.1415}}</nowiki>
This should generally be invoked from the corresponding template {{t|Eastern arabic numerals}}; however it make be directly invoked as well
 
<nowiki>{{#invoke:Convert to eastern arabic numerals|convert|3.1415}}</nowiki>
 
=== From Lua ===
Line 15 ⟶ 13:
</syntaxhighlight>
 
And then from there you can convert using the <code>convert_str_convert</code> function.
 
<syntaxhighlight lang="lua">
mConvertNumerals.convert_str_convert({"3.1415"})
</syntaxhighlight>
 
Line 24 ⟶ 22:
<!-- Categories go here and interwikis go in Wikidata. -->
[[Category:Wikipedia modules]]
}}</includeonly><noinclude>
[[Category:Module documentation pages]]
</noinclude>