View source for Module:LC zh
From Linux Web Expert
You do not have permission to edit this page, for the following reason:
You can view and copy the source of this page.
-- @var table
local p = {}
-- @param frame frame
-- @return table Merged argument table
function p.getMergedArgs( frame )
local args = {}
-- {{#invoke:Module name|function name|key=value}}
local origArgs = frame.args
-- {{Template name|key=value}}
local parentArgs = frame:getParent().args
for k, v in pairs( origArgs ) do
v = mw.text.trim( tostring( v ) )
args[k] = v
end
for k, v in pairs( parentArgs ) do
v = mw.text.trim( v )
args[k] = v
000
1:0
Templates used on this page:
- Template:(( (view source)
- Template:)) (view source)
- Template:Ll (view source)
- Template:Localized link (view source)
- Template:Pagelang (view source)
- Template:Tl (view source)
- Template:Translatable (view source)
- Module:LC zh/doc (view source)
- Module:Template translation (view source)
- Module talk:LC zh/testcases (view source)
Return to Module:LC zh.