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

Furcht968 (トーク | 投稿記録)
ページの作成:「local p = {} local infobox = require("Module:Infobox") local u = require("Module:Utils") local yesno = require("Module:Yesno") function p.infobox_RT(frame) local name = frame.args["tempname"] local subgroup = frame.args["subgroup"] local basis = frame.args["commas"] local et1 = frame.args["edo_first"] local et2 = frame.args["edo_second"] local et3 = frame.args["edo_third"] local et4 = frame.args["edo_fourth"] local tuning = frame.args["tuning"] lo…」
 
Furcht968 (トーク | 投稿記録)
編集の要約なし
 
(同じ利用者による、間の4版が非表示)
57行目: 57行目:
local et_eq, et_num = p.warts2ed(et)
local et_eq, et_num = p.warts2ed(et)
local et_eq_letter = p.equave2letter (et_eq)
local et_eq_letter = p.equave2letter (et_eq)
return "[[" .. et_num .. "ed" .. et_eq_letter .. "|" .. et .. "]]"
return "[[" .. et_num .. "平均律" .. "|" .. et .. "]]"
end
end
197行目: 197行目:


table.insert(data, {
table.insert(data, {
"ET join",
"結びとなる平均律",
et_join
et_join
})
})
212行目: 212行目:


table.insert(data, {
table.insert(data, {
"プロイダコット",
"Ploidacot",
ploidacot
ploidacot
})
})
218行目: 218行目:
if u.value_provided (pergen) then
if u.value_provided (pergen) then
table.insert(data, {
table.insert(data, {
"ピア・ジェン",
"Pergen",
pergen
pergen
})
})
240行目: 240行目:
end
end
local string1 = limit1 .. limit_text .. ": " .. acc1 .. "{{c}}"
local string1 = limit1 .. limit_text .. ": " .. acc1 .. "{{c}}"
local string2 = limit1 .. limit_text .. ": " .. comp1 .. " notes"
local string2 = limit1 .. limit_text .. ": " .. comp1 .. "音目"
if u.value_provided (limit2) then
if u.value_provided (limit2) then
string1 = string1 .. "; <br>" .. limit2 .. limit_text .. ": " .. acc2 .. "{{c}}"
string1 = string1 .. "; <br>" .. limit2 .. limit_text .. ": " .. acc2 .. "{{c}}"
string2 = string2 .. "; <br>" .. limit2 .. limit_text .. ": " .. comp2 .. " notes"
string2 = string2 .. "; <br>" .. limit2 .. limit_text .. ": " .. comp2 .. "音目"
end
end


252行目: 252行目:


table.insert(data, {
table.insert(data, {
"対象スケール量",
"緩和する対象の音程",
string2
string2
})
})