Modulo:Datoj: Malsamoj inter versioj

[kontrolita revizio][kontrolita revizio]
Enhavo forigita Enhavo aldonita
aldono laŭ la modulo Modulo:BaseConvert
alia provo de transpreno de parametroj laŭ la angla modulo en:Module:Citation
Linio 68:
 
function p.daton( frame )
local pframe = frame:getParent()
-- Allow for invocation via #invoke or directly from another module
local config = frame.args -- the arguments passed BY the template, in the wikitext of the template itself
local args
local args = pframe.args -- the arguments passed TO the template, in the wikitext that instantiates the template
if frame == mw.getCurrentFrame() then
args = frame.args
else
args = frame
end
local t = args[1] or "" -- tago