「モジュール:SMWメンバー情報」の版間の差分

Motodai (トーク | 投稿記録)
センターロジック追加
Motodai (トーク | 投稿記録)
前田敦子、白石麻衣のように1グループしか所属してなかった人の選抜、センター回数の表記が?になっていたのを補正
70行目: 70行目:
       -- If the group is not extracted, use the provided group
       -- If the group is not extracted, use the provided group
       if not extractedGroup or extractedGroup == "" then
       if not extractedGroup or extractedGroup == "" then
         extractedGroup = args["グループ"] or ""
         extractedGroup = args["グループ"] or args["元グループ"] or ""
       end
       end
       -- If the num is nil, return an error
       -- If the num is nil, return an error
95行目: 95行目:
       -- If the group is not extracted, use the provided group
       -- If the group is not extracted, use the provided group
       if not extractedGroup or extractedGroup == "" then
       if not extractedGroup or extractedGroup == "" then
         extractedGroup = args["グループ"] or ""
         extractedGroup = args["グループ"] or args["元グループ"] or ""
       end
       end
       -- If the num is nil, return an error
       -- If the num is nil, return an error
127行目: 127行目:
       -- If the group is not extracted, use the provided group
       -- If the group is not extracted, use the provided group
       if not extractedGroup or extractedGroup == "" then
       if not extractedGroup or extractedGroup == "" then
         extractedGroup = args["グループ"] or ""
         extractedGroup = args["グループ"] or args["元グループ"] or ""
         num = mw.ustring.match(line, "(%d+)回")
         num = mw.ustring.match(line, "(%d+)回")
       end
       end
153行目: 153行目:
       -- If the group is not extracted, use the provided group
       -- If the group is not extracted, use the provided group
       if not extractedGroup or extractedGroup == "" then
       if not extractedGroup or extractedGroup == "" then
         extractedGroup = args["グループ"] or ""
         extractedGroup = args["グループ"] or args["元グループ"] or ""
         num = mw.ustring.match(line, "(%d+)回")
         num = mw.ustring.match(line, "(%d+)回")
       end
       end