Munurin millum rættingarnar hjá "Module:Zh/doc"

36 bytes løgd afturat ,  7 mánaðir síðan
s
Bot: Erstatt forældet <source> -tag og parameteren "enclose" [https://lists.wikimedia.org/pipermail/wikitech-ambassadors/2020-April/002284.html]
s
s (Bot: Erstatt forældet <source> -tag og parameteren "enclose" [https://lists.wikimedia.org/pipermail/wikitech-ambassadors/2020-April/002284.html])
 
The module can be called directly from another module as well as a template. To do this first load the module
 
<sourcesyntaxhighlight lang="lua">
local Zh = require("Module:Zh")._Zh
</syntaxhighlight>
</source>
 
Then call it as follows, with the arguments in a table
 
<sourcesyntaxhighlight lang="lua">
local output = Zh{["c"] = "中国", ["p"] = "zhōngguó"}
</syntaxhighlight>
</source>
 
===Modules used===
14.816

rættingar