429
回編集
細編集の要約なし |
|||
1行目: | 1行目: | ||
local p = {} | local p = {} | ||
local langlist = require(' | -- NIJC: | ||
local langlist = require('モジュール:Fallbacklist') | |||
function p.fblist(lang) -- list the full fallback chain from a language to en | function p.fblist(lang) -- list the full fallback chain from a language to en | ||
94行目: | 95行目: | ||
if string.sub(base,2,9) ~= 'emplate:' then | if string.sub(base,2,9) ~= 'emplate:' then | ||
base = 'Template:' .. base -- base provided without 'Template:' part | base = 'Template:' .. base -- base provided without 'Template:' part | ||
end | |||
-- NIJC: | |||
if string.sub(base,2,9) ~= 'emplate:' then | |||
base = 'テンプレート' .. string.sub(base,9) | |||
end | end | ||