Модуль:Песочница/Pok: различия между версиями
Pok (обсуждение | вклад) Нет описания правки |
Pok (обсуждение | вклад) Нет описания правки |
||
| Строка 308: | Строка 308: | ||
local function makeSourceLink(s) | local function makeSourceLink(s) | ||
local className = | local className = | ||
(s.name | (s.name .. s.name:sub(2)) .. | ||
(s.kind and (s.kind | (s.kind and (s.kind .. s.kind:sub(2)) or "") | ||
local tplLabel = "Template:" .. s.tplPath | local tplLabel = "Template:" .. s.tplPath | ||
| Строка 1069: | Строка 1069: | ||
local function build_missing_template_error(kind, name, isStore, tplPath) | local function build_missing_template_error(kind, name, isStore, tplPath) | ||
local baseType = (kind and (kind | local baseType = (kind and (kind .. kind:sub(2)) or "") | ||
local classType = baseType | local classType = baseType | ||
if isStore then | if isStore then | ||