「モジュール:Infobox ET」の版間の差分
編集の要約なし |
Tessyrrh1016 (トーク | 投稿記録) 翻訳 |
||
| 58行目: | 58行目: | ||
if rat.eq(et.equave, 2) then | if rat.eq(et.equave, 2) then | ||
categories = categories | categories = categories | ||
.. "[[Category: | .. "[[Category:オクターブ平均律|" | ||
.. string.rep("#", string.len(et.size)) | .. string.rep("#", string.len(et.size)) | ||
.. "]]" | .. "]]" | ||
| 71行目: | 71行目: | ||
prime_factorization = utils._prime_factorization(et.size) | prime_factorization = utils._prime_factorization(et.size) | ||
if utils.is_prime(et.size) then | if utils.is_prime(et.size) then | ||
prime_factorization = prime_factorization .. " | prime_factorization = prime_factorization .. "(素数)" | ||
if rat.eq(et.equave, 2) then | if rat.eq(et.equave, 2) then | ||
categories = categories .. "[[Category: | categories = categories .. "[[Category:素数平均律|" .. string.rep("#", string.len(et.size)) .. "]]" | ||
end | end | ||
end | end | ||
| 169行目: | 169行目: | ||
}) | }) | ||
categories = categories | categories = categories | ||
.. "[[Category: | .. "[[Category:デュアル5度音律|" | ||
.. string.rep("#", string.len(et.size)) | .. string.rep("#", string.len(et.size)) | ||
.. "]]" | .. "]]" | ||
| 180行目: | 180行目: | ||
end | end | ||
if consistency == nil then | if consistency == nil then | ||
consistency = " | consistency = "43以上" | ||
end | end | ||
if consistency ~= nil then | if consistency ~= nil then | ||
| 193行目: | 193行目: | ||
end | end | ||
if distinct_consistency == nil then | if distinct_consistency == nil then | ||
distinct_consistency = " | distinct_consistency = "43以上" | ||
end | end | ||
if distinct_consistency ~= nil then | if distinct_consistency ~= nil then | ||
| 206行目: | 206行目: | ||
local text = "" | local text = "" | ||
if ET.is_highly_composite(et) then | if ET.is_highly_composite(et) then | ||
text = text .. "[[ | text = text .. "[[高度合成数平均律|高度合成数]]" | ||
if rat.eq(et.equave, 2) then | if rat.eq(et.equave, 2) then | ||
categories = categories | categories = categories | ||
.. "[[Category: | .. "[[Category:高度合成数平均律|" | ||
.. string.rep("#", string.len(et.size)) | .. string.rep("#", string.len(et.size)) | ||
.. "]]" | .. "]]" | ||