Просмотр кода страницы Модуль:Unsubst
У вас нет прав на выполнение действия «редактирование этой страницы» по следующим причинам:
Вы можете просмотреть и скопировать исходный код этой страницы.
local checkType = require('libraryUtil').checkType
local p = {}
local BODY_PARAM = '$B'
local specialParams = {
['$params'] = 'parameter list',
['$aliases'] = 'parameter aliases',
['$flags'] = 'flags',
['$format'] = 'date format',
['$B'] = 'template content'
}
function p.main(frame, body)
-- If we are substing, this function returns a template invocation, and if
-- not, it returns the template body. The template body can be specified in
-- the body parameter, or in the template parameter defined in the
-- BODY_PARAM variable. This function can be called from Lua or from
-- #invoke.
-- Return the template body if we aren't substing.
000
1:0
Шаблон, используемый на этой странице:
Возврат к странице Модуль:Unsubst.