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

ページの作成:「local p = {}; local function setProperty(t_name) -- メイン空間のみ if not mw.title.getCurrentTitle().namespace == 0 then return true; end if not mw.smw…」
 
Motodai (トーク | 投稿記録)
デフォルトをページ名に
45行目: 45行目:
-- Instagram 表示名デフォルト
-- Instagram 表示名デフォルト
if name == '' then
if name == '' then
name = "Instagramアカウント";
name = mw.ustring.gsub(mw.title.getCurrentTitle().text,"%s+%b()$","");
end
end