「モジュール:SHOWROOM」の版間の差分

@ ~削除
(ページの作成:「local p = {}; local function setProperty(sr_name) -- メイン空間のみ if not mw.title.getCurrentTitle().namespace == 0 then return true; end if not mw.smw…」)
 
(@ ~削除)
 
48行目: 48行目:
end
end


local sr_name2 = '(@' .. sr_name  ..')';
return '[' ..url ..' ' ..name ..'] - [[SHOWROOM]]';
if mw.ustring.match(name, '%(' .. sr_name .. '%)$') then
sr_name2 = '';
end
 
return '[' ..url ..' ' ..name ..'] ' ..sr_name2 ..' - [[SHOWROOM]]';
end
end


return p;
return p;