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

Tessyrrh1016 (トーク | 投稿記録)
プレフィックス→接頭辞
Tessyrrh1016 (トーク | 投稿記録)
カテゴリの翻訳
45行目: 45行目:
-- Add to category of abstact mosses
-- Add to category of abstact mosses
local categories = "[[Category:Abstract MOS patterns]]"
local categories = "[[Category:抽象MOSパターン]]"
-- Add notecount category if the notecount is greater than 3
-- Add notecount category if the notecount is greater than 3
local notecount = input_mos.nL + input_mos.ns
local notecount = input_mos.nL + input_mos.ns
if notecount > 3 then
if notecount > 3 then
categories = categories .. string.format('[[Category:%d-tone scales]]', notecount)
categories = categories .. string.format('[[Category:%d音音階]]', notecount)
end
end
68行目: 68行目:
end
end
else
else
categories = categories .. '[[Category:Nonoctave]]'
categories = categories .. '[[Category:非オクターブ]]'
end
end