Изворни код странице Модул:Include timeline
Пређи на навигацију
Пређи на претрагу
Немате дозволу да уређујете ову страницу из следећег разлога:
Можете да видите и копирате извор ове странице.
local p = {}
function p.main(frame)
local pframe = frame:getParent()
local currentTitle = mw.title.getCurrentTitle()
local passedTitle = pframe and pframe.args[1]
local targetPage = mw.title.makeTitle(currentTitle.namespace == 2 and 2 or 10, (passedTitle or currentTitle.text) .. ' graphical timeline')
if targetPage.exists then
if mw.isSubsting() then
return '{{' .. (currentTitle.namespace == 2 and 'User:' or '') .. targetPage.text .. '}}'
else
return frame:expandTemplate{title = targetPage.prefixedText}
end
else
if mw.isSubsting() then
if passedTitle then
return '{{safesubst:Include timeline|1=' .. passedTitle .. '}}'
else
return '{{safesubst:Include timeline}}'
end
000
1:0
Шаблон који се користи на овој страници:
Назад на страницу Модул:Include timeline.