Module:Infobox MOS: Difference between revisions
No edit summary |
No edit summary |
||
| Line 7: | Line 7: | ||
local ET = require('Module:ET') | local ET = require('Module:ET') | ||
local infobox = require('Module:Infobox') | local infobox = require('Module:Infobox') | ||
local common_name = { -- for equaves in links | |||
['3/2'] = fifth | |||
} | |||
local tamnams_name = { -- Only mosses with 2/1-equave names in TAMNAMS | local tamnams_name = { -- Only mosses with 2/1-equave names in TAMNAMS | ||
['1L 1s'] = 'monowood', | ['1L 1s'] = 'monowood', | ||
| Line 94: | Line 96: | ||
local equave = mos.equave | local equave = mos.equave | ||
local equave_link = ' (' .. equave .. '-equivalent)' | local equave_link = ' (' .. common_name[rat.as_string(equave)] .. '-equivalent)' | ||
local equave_disp = ' <' .. equave .. '>' | local equave_disp = ' <' .. equave .. '>' | ||
if rat.eq(equave, 2) then | if rat.eq(equave, 2) then | ||