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

編集の要約なし
Tessyrrh1016 (トーク | 投稿記録)
翻訳
 
58行目: 58行目:
if rat.eq(et.equave, 2) then
if rat.eq(et.equave, 2) then
categories = categories
categories = categories
.. "[[Category:Equal divisions of the octave|"
.. "[[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)"
prime_factorization = prime_factorization .. "(素数)"
if rat.eq(et.equave, 2) then
if rat.eq(et.equave, 2) then
categories = categories .. "[[Category:Prime EDO|" .. string.rep("#", string.len(et.size)) .. "]]"
categories = categories .. "[[Category:素数平均律|" .. string.rep("#", string.len(et.size)) .. "]]"
end
end
end
end
169行目: 169行目:
})
})
categories = categories
categories = categories
.. "[[Category:Dual-fifth temperaments|"
.. "[[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 = "at least 43"
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 = "at least 43"
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 .. "[[Highly composite equal division|Highly composite]]"
text = text .. "[[高度合成数平均律|高度合成数]]"
if rat.eq(et.equave, 2) then
if rat.eq(et.equave, 2) then
categories = categories
categories = categories
.. "[[Category:Highly composite EDO|"
.. "[[Category:高度合成数平均律|"
.. string.rep("#", string.len(et.size))
.. string.rep("#", string.len(et.size))
.. "]]"
.. "]]"