「モジュール:SHOWROOM」の版間の差分
ページの作成:「local p = {}; local function setProperty(sr_name) -- メイン空間のみ if not mw.title.getCurrentTitle().namespace == 0 then return true; end if not mw.smw…」 |
エラー解消 |
||
| (他の1人の利用者による、間の1版が非表示) | |||
| 32行目: | 32行目: | ||
-- SHOWROOM URL | -- SHOWROOM URL | ||
local formatterURL = "https://www.showroom-live.com/$1"; | local formatterURL = "https://www.showroom-live.com/$1"; | ||
local url = mw.ustring.gsub(formatterURL, " | local url = mw.ustring.gsub(formatterURL, "$1", sr_name); | ||
-- SHOWROOM 表示名 | -- SHOWROOM 表示名 | ||
| 48行目: | 48行目: | ||
end | end | ||
return '[' ..url ..' ' ..name ..'] - [[SHOWROOM]]'; | |||
return '[' ..url ..' ' ..name ..'] | |||
end | end | ||
return p; | return p; | ||