User:Sarri.greek (CAT) » Module grk-nouns-decl doc :: param doc » func1 doc ««« instructions
-- 2024.03.05. ]
-- cases of nouns in Greek for declension tables
-- #top anchors: with Control+F type #NS #GS (genitive singulrar) ...
--[=[
XXcell has two lines
XX line
XX2 line
XXline has XXtxt1 .. XXterm .. XXtxt
XXterm has common1 .. XXword .. common -- Term has transliteration with {{xlit|translit_lang|ωωωω}} preprocessed
XXword has a create_link with XXstem .. XXsuf (alternative output XXstem+, XXsuf+ for prosodies, bold, colours)
mod- suffix is for args parameters as set at /funcation pages
Without mod- are editor's overriding the module's args
STRUCTURE
preliminaries // various params // BUILD CASES
]=]--
--------------------------------------------------------------------------
-- COPY HERE what is needed from the Module
--------------------------------------------------------------------------
-- font colours (sample 1: all black)
local c_ending = '#000000'
local c_stem = '#000000'
-- ============== apply font colours
-- for parts of a word
local ending_color = function(suffix)
suffix = suffix or ''
return '<span style="color:' .. c_ending ..'; font-weight:normal;">' .. suffix .. '</span>'
end
local stem_color = function(thema)
return '<span style="color:' .. c_stem ..'; font-weight:normal;">' .. thema .. '</span>'
end
local infix_color = function(infix)
return '<span style="color:' .. c_stem ..'; font-weight:normal;">' .. infix .. '</span>'
end
-- this is not exactly an inifix. It is extra letters of a 2nd stem.
-- possible different colour or weight
-- thanks to ]
--[[--------------------------< I S _ S E T >------------
Returns true if argument is set; false otherwise. Argument is 'set' when it exists (not nil) or when it is not an empty string.
]]
--[=[ explanation:
The is_set() function may be added so that tests like this:
if args ~= '' and args ~= nil then args = args else args = '' end
can be reduced to:
if not is_set (args) then args = '' end
]=]--
local function is_set (var)
return not (var == nil or var == '');
end
---------------------------------------------------------------------------
-- ========================MAIN FUNCTION================================ --
-- Greek noun cases --
---------------------------------------------------------------------------
local function param (args)
local lemma = args or ''
PAGENAME = mw.title.getCurrentTitle().text
if lemma == '' or lemma == nil then args = PAGENAME:match( "^%s*(.-)%s*$" )
else lemma = args
end
---------------------------------------------------------------------------
-- ============== START HERE ALL PARAMETERS ============== --
---------------------------------------------------------------------------
pos = args or 'Nouns' -- pos: Part of Speech -- NOT local, it does not work
articles_in_table = args or '' args = args or ''
--#minus
-- CHECKTHIS why is this 'local?'
-- =============== STEMS - default stem = word minus 2 letters from end
-- stems
local stem = {} -- do not move
local minusletters = args or ''
-- If subfunctions have a defintion for lemma and stem of their own
-- we need to write there the stems for all cases.
if stemnumber == '' or stemnumber == nil then
-- must write all numbers one by one, and then, exclude them for else...
if minusletters == '0' then -- it works! at /function pages and directly by editor minus=
stem = mw.ustring.sub(args,1,-1) -- test ]
elseif minusletters == '1' then -- do not write == 1 (a number)
stem = mw.ustring.sub(args,1,-2)
elseif minusletters == '2' then
stem = mw.ustring.sub(args,1,-3)
elseif minusletters == '3' then
stem = mw.ustring.sub(args,1,-4)
elseif minusletters == '4' then
stem = mw.ustring.sub(args,1,-5)
elseif minusletters == '5' then
stem = mw.ustring.sub(args,1,-6)
elseif minusletters == '6' then -- probably not needed
stem = mw.ustring.sub(args,1,-7)
elseif minusletters == 'stem' or minusletters == '-' then stem = '' -- it works
--!!TEST
elseif minusletters == '' then stem = mw.ustring.sub(args,1,'')
-- here, i must exclude all above conditions, or they will not work
elseif minusletters ~= '0' and minusletters ~= '1'
and minusletters ~= '2' -- this is the default
and minusletters ~= '3' and minusletters ~= '4' and minusletters ~= '5'
and minusletters ~= '6'
and minusletters ~= 'stem' and minusletters ~= '-'
and minusletters ~= '' and minusletters ~= nil then
stemnumber = minusletters+1
else
stem = mw.ustring.sub(args,1,-3) or stem -- default stem minus 2 letters from end
-- it works also with: or ''
-- CHECKTHIS -- stem = mw.ustring.sub(args,1,-3) or stem
-- CHECKTHIS -- stem = mw.ustring.sub(args,1,-3) or stem or ''
end
end
-- =============== LANGUAGES for categories and notes in appendix
lang_iso = lang_iso or ''
lang_link = lang_link or ''
lang_name = lang_name or ''
anc_gre = args or '' args = args or ''
koine_gre = args or '' args = args or ''
med_gre = args or args or'' args = args or ''
kath_gre = args or args or'' args = args or ''
mod_gre = args or '' args = args or ''
comment = args or '' args = args or ''
--- TODO must i put ... elseif between all languages?
-- ======= grc Ancient Greek
if args == '1'
then
lang_iso = 'grc'
lang_link = 'Ancient Greek'
lang_name = 'Ancient Greek'
args = ''
c_3 = c_3
-- The comment goes IN the note ROW (font-size etc already done)
args = '<div style="padding-bottom:0px;" class="center">'
.. '(<span style="color:#777777;">ωωωω</span>) expected • rare • ※ link with quotation'
.. '</div>' ..'<hr>' .. args
if (args == '1' or args == '1') then
args = "<i>]</i>"
-- .. ']'
-- ?? =2 if the declension in exclusively Doric (with Doric suffixes, not jusf Doric articles)
end
if (args == '1') then
args = "<i>]</i>"
-- .. ']'
-- ?? =2 if the declension in exclusively Epic (with Epic suffixes, not jusf Doric articles)
end
if args == 'grc-dor' then
args = '1' lang_link = 'Ancient Greek' lang_name = 'Doric dialect'
end
-- not closing grc, more follows...
-- ======= HELLENISTIC KOINE - HOST language is grc
-- @en.wikt 2024, etymological language
-- 1 = Koine inflections as in classic Anc.Gre
-- 2 = exclusively hellenistic declensions - they have categories -- e.g. like κοῦπα
elseif args == '2' then
lang_iso = 'grc-koi'
lang_link = 'Ancient Greek'
lang_name = 'Ancient Greek'
args = ']<br><i><small>dual is not attested</small></i>'
-- .. ']'
args = '<div style="padding-bottom:0px;" class="center">'
.. '(<span style="color:#777777;">ωωωω</span>) expected • rare • {...} late • ※ link with quotation'
.. '</div>' ..'<hr>' .. args
elseif args == '1' then -- but all categories grc
lang_iso = 'grc-koi'
lang_link = 'Ancient Greek'
lang_name = 'Ancient Greek' -- This is the host.lang name of the Appendix:Ancient Greek nouns
-- @en.wikt there is no Cat:Koine nouns
args = "<i>]</i><br><i><small>dual is not attested</small></i>"
.. ']'
args = '<div style="padding-bottom:0px;" class="center">'
.. '(<span style="color:#777777;">ωωωω</span>) expected • rare • ※ link with quotation'
.. '</div>' ..'<hr>' .. args
-- (no prosody for the following languages, see below)
-- ======= gkm MEDIAEVAL GREEK -- check learned ] - vulgar ]
-- for vulgar mediaeval greek (it had no dative)
elseif args == '2' or args == '2' then
lang_iso = 'gkm' or 'grk-gkm'
lang_link = 'Medieval Greek'
lang_name = 'Medieval Greek'
args = ']'
-- test ] ] (equiavelnt of hellenistic decl by the same name see above)
.. ']'
args = '<div style="padding-bottom:0px;" class="center">'
.. '(<span style="color:#777777;">ωωωω</span>) expected • rare • {...} learned • ※ link with quotation'
.. '</div>' ..'<hr>' .. args
c_extra= '#cfcfe2;'
c_1 = '#afafcf'
-- c_3 = '#dfdfec;' -- title3
c_4 = '#efeff5'
args = '-' -- no dual
if args == '1' then args = '' else args = '-' end -- no datives, unelss
-- args = '' -- this param is compulsory (for clitic paradigm), skip it with pseudoname
-- args = '1' -- we do not need Decl-Categories as in grc
-- NO prosody (see below)
-- for learned Medieval Koine = like Koine - inflections in the ancient standard fashion
elseif args == '1' or args == '1' then
lang_iso = 'gkm' or 'grk-gkm'
lang_link = 'Medieval Greek'
lang_name = 'Medieval Greek'
args = "<i>]</i>"
.. ']'
args = '<div style="padding-bottom:0px;" class="center">'
.. '(<span style="color:#777777;">ωωωω</span>) expected • rare • {...} learned • ※ link with quotation'
.. '</div>' ..'<hr>' .. args
c_extra= '#cfcfe2'
c_4 = '#efeff5'
args = '-' -- no dual
-- expected dative, check if attested
-- args = '1' -- do not create subcategories
-- NO prosody (see below)
-- ======= el-kth for Katharevousa - HOST LANGUAGE is el Modern Greek - check ]
-- @en.wikt 2024, etymological language
-- ?? has no =2 declensions of its own ?
-- elseif args == '2' or args == '2' then
-- lang_iso = 'kath' or 'el-kth'
-- c_3 = '#d5e2f6' -- title3, all the subtitles as in Modern Greek table-colours
elseif args == '1' or args == '1' then
lang_iso = 'kath' or 'el-kth'
lang_link = 'Greek'
lang_name = 'Ancient Greek' -- the Appendix, and the decl-categories are identical to AncGr
args = '<i>] (as in standard ancient declension)</i>'
.. ']'
c_3 = '#d5e2f6'
args = '-' -- no dual
args = '1' -- do not create subcategories
-- NO prosody (see below)
-- ======= el Modern Greek
elseif args == '1' then
lang_iso = 'el'
lang_link = 'Greek'
lang_name = 'Greek'
args = '<div style="padding-bottom:0px;" class="center">'
.. '(<span style="color:#777777;">ωωωω</span>) alternative • rare • {...} learned • ※ link with quotation'
.. '</div>' ..'<hr>' .. args
-- colors (sample 2)
-- borders
c_border = '#a1bdea'
c_bord = '#eaf0fa'
-- background colours
c_extra = '#d5e2f6'
c_1 = '#a1bdea'
c_2 = '#c1d3f1'
c_3 = '#d5e2f6'
c_4 = '#eaf0fa'
-- args = '' -- this param is compulsory (for clitic paradigm), skip it with pseudoname
-- args = '1' -- we do not need Decl-Categories as in grc
args = '-' -- no dual
args = '-' -- no datives
-- NO prosody (see below)
-- we need default
-- ======= no language DEFAULT
else
args = 'Template:create a noun inflectional table<br><span style="color:#b22222;">'
..'please choose a language code with |xx=1</span>'
args = '<div style="padding-bottom:0px;" class="center">'
.. '(<span style="color:#777777;">ωωωω</span>) alternative • rare • {...} learned • ※ link with quotation'
.. '</div>' ..'<hr>' .. args
c_bord = '#eaf0fa'
c_extra = '#eaf0fa'
c_1 = '#ffffff'
c_2 = '#ffffff'
c_3 = '#ffffff'
c_4 = '#ffffff'
args = '-'
args = '-'
args = '-'
end
function create_link (page, text)
if args == '1'
-- or tsd, pnt etc
then
lang_link = '#Greek'
elseif args == '1' or args == '2' or args == '1' or args == '2'
then
lang_link = '#Medieval Greek'
elseif args == '1' or args == '1' or args == '2'
-- or grc-dor etc..
then
lang_link = '#Ancient Greek'
else
lang_link = ''
end
if text then
return ']'
else
return ']'
end
end -- close function create_link
-- ================================ GRAMMATICAL TERMS = CANNOT PUT THEM HERE, must be at main page
-- #titles ================================ TTILES ===========
-- PLACE THIS UNDER LANGUAGES
extratitle_str = args or '' args = args or ''
editor_title = args or '' args = args or ''
if args ~= '' and args ~= nil then
if args ~= '' and args ~= nil then
args = args .. "<br>" .. args
-- may add categories here
else -- yes mod-title, no title
args = args
-- may add categories here
end
else -- NO mod-title
-- no mod-title, yes title
if args ~= '' and args ~= nil then
args = args
-- may add categories here
else -- no mod-title, no title, nothing
args = args or ''
args = args or ''
-- may add categories here
end
end -- close if mod-title
-- #br ================================ BREAKs for second forms
-- for dual (du), never change line. User brdu
-- do not use <br> but div with small margins BUT who close it?? <p>?
if args == '&' then br = ' & ' close_br = '' brdu = ' & ' -- & at same line nobreak
elseif args == 'dash' then br = ' - ' close_br = '' brdu = ' - ' -- dash, same line nobreak
elseif args == 'br' then
br = '<br />' -- change line, no &
close_br = ''
brdu = ' ' -- just a space
elseif args == '' or args == nil then
--else -- DEFAULT with div short line-height, because it may follow another div (of transliteration)
br = '<div style="padding-top:0px; padding-bottom:0px;">'
close_br = '</div>'
brdu = ' - ' -- DEFAULT at same line nobreak
end
-- TODO more ? noo
-- TODO check this
-- ================================ NOTES (mod-comment from the Module, comment by the editor)
-- check ]
-- see MAIN PAGE for note = args
-- if editor writes comment= then the module-comment changes
-- this goes IN the note ROW (font-size etc already done) see mod-comments at languages
if args ~= '' and args ~= nil then args = args end
-- if the editor does not want the mod-comment of the Module
-- but if we write args ΙΝ module functions, then the editor cannot erase or edit it
-- For some notes, we do not want the editor to change anything
if args == '-' then
args = ''
else
args = args
end
-- ================================ common word for polylectics e.g. ]
-- before the word
args = args or ''
if args ~= '' and args ~= nil then
args = args .. ' '
else
args = ''
end
-- after the word -- ]
args = args or ''
if args ~= '' and args ~= nil then
args = ' ' .. args
else
args = ''
end
-- #no prosody ================================ NO PROSODY for some languages --TODO ?do double codes work?
-- languages with NO prosody
if args == '1' or args == '1' or args == '1'
or args == '1' or args == '1' -- = '2' ?TODO
then
-- STEMS no prosdy
-- @modules
args = args args = args args = args
args = args args = args
args = args args = args args = args
args = args args = args
-- no dual
args = args args = args args = args
args = args args = args
args = args args = args args = args
args = args args = args
-- no dual
-- editors
args = args args = args args = args
args = args args = args
args = args args = args args = args
args = args args = args
-- no dual
args = args args = args args = args
args = args args = args
args = args args = args args = args
args = args args = args
-- no dual
-- ENDINGS no prosody
-- @modules
args = args args = args args = args
args = args args = args
args = args args = args args = args
args = args args = args
-- no dual
args = args args = args args = args
args = args args = args
args = args args = args args = args
args = args args = args
-- no dual
-- editors
args = args args = args args = args
args = args args = args
args = args args = args args = args
args = args args = args
-- no dual
args = args args = args args = args
args = args args = args
args = args args = args args = args
args = args args = args
-- no dual
end
-- ================================ LINES
-- #lines @modules ALSO NUMBERED
args = args or args or '' args = args or args or '' args = args or args or ''
args = args or args or '' args = args or args or ''
args = args or args or '' args = args or args or '' args = args or args or ''
args = args or args or '' args = args or args or ''
args = args or args or '' args = args or args or ''
-- second lines
args = args or '' args = args or '' args = args or ''
args = args or '' args = args or ''
args = args or '' args = args or '' args = args or ''
args = args or '' args = args or ''
args = args or '' args = args or ''
-- lines for editors
args = args or '' args = args or '' args = args or ''
args = args or '' args = args or ''
args = args or '' args = args or '' args = args or ''
args = args or '' args = args or ''
args = args or '' args = args or ''
-- second lines
args = args or '' args = args or '' args = args or ''
args = args or '' args = args or ''
args = args or '' args = args or '' args = args or ''
args = args or '' args = args or ''
args = args or '' args = args or ''
-- column2 lines @modules
args = args or '' args = args or '' args = args or ''
args = args or '' args = args or ''
args = args or '' args = args or '' args = args or ''
args = args or '' args = args or ''
args = args or '' args = args or ''
-- column2 second lines
args = args or '' args = args or '' args = args or ''
args = args or '' args = args or ''
args = args or '' args = args or '' args = args or ''
args = args or '' args = args or ''
args = args or '' args = args or ''
-- column2 lines for editors
args = args or '' args = args or '' args = args or ''
args = args or '' args = args or ''
args = args or '' args = args or '' args = args or ''
args = args or '' args = args or ''
args = args or '' args = args or ''
-- column2 second lines
args = args or '' args = args or '' args = args or ''
args = args or '' args = args or ''
args = args or '' args = args or '' args = args or ''
args = args or '' args = args or ''
args = args or '' args = args or ''
-- OVERRIDE LINES mod- (if the editor writes a XX, it overrides the function's mod-XX)
if args ~= '' and args ~= nil then args = args end
if args ~= '' and args ~= nil then args = args end
if args ~= '' and args ~= nil then args = args end
if args ~= '' and args ~= nil then args = args end
if args ~= '' and args ~= nil then args = args end
if args ~= '' and args ~= nil then args = args end
if args ~= '' and args ~= nil then args = args end
if args ~= '' and args ~= nil then args = args end
if args ~= '' and args ~= nil then args = args end
if args ~= '' and args ~= nil then args = args end
if args ~= '' and args ~= nil then args = args end
if args ~= '' and args ~= nil then args = args end
-- second lines OVERRIDE mod-
if args ~= '' and args ~= nil then args = args end
if args ~= '' and args ~= nil then args = args end
if args ~= '' and args ~= nil then args = args end
if args ~= '' and args ~= nil then args = args end
if args ~= '' and args ~= nil then args = args end
if args ~= '' and args ~= nil then args = args end
if args ~= '' and args ~= nil then args = args end
if args ~= '' and args ~= nil then args = args end
if args ~= '' and args ~= nil then args = args end
if args ~= '' and args ~= nil then args = args end
if args ~= '' and args ~= nil then args = args end
if args ~= '' and args ~= nil then args = args end
-- column2 lines OVERRIDE mod-
if args ~= '' and args ~= nil then args = args end
if args ~= '' and args ~= nil then args = args end
if args ~= '' and args ~= nil then args = args end
if args ~= '' and args ~= nil then args = args end
if args ~= '' and args ~= nil then args = args end
if args ~= '' and args ~= nil then args = args end
if args ~= '' and args ~= nil then args = args end
if args ~= '' and args ~= nil then args = args end
if args ~= '' and args ~= nil then args = args end
if args ~= '' and args ~= nil then args = args end
if args ~= '' and args ~= nil then args = args end
if args ~= '' and args ~= nil then args = args end
-- column2 second lines OVERRIDE mod-
if args ~= '' and args ~= nil then args = args end
if args ~= '' and args ~= nil then args = args end
if args ~= '' and args ~= nil then args = args end
if args ~= '' and args ~= nil then args = args end
if args ~= '' and args ~= nil then args = args end
if args ~= '' and args ~= nil then args = args end
if args ~= '' and args ~= nil then args = args end
if args ~= '' and args ~= nil then args = args end
if args ~= '' and args ~= nil then args = args end
if args ~= '' and args ~= nil then args = args end
if args ~= '' and args ~= nil then args = args end
if args ~= '' and args ~= nil then args = args end
-- ==================== STEMS
-- #stems @module
args = args or '' args = args or '' args = args or ''
args = args or '' args = args or ''
args = args or '' args = args or '' args = args or ''
args = args or '' args = args or ''
args = args or '' args = args or ''
-- second-line stems
args = args or '' args = args or '' args = args or ''
args = args or '' args = args or ''
args = args or '' args = args or '' args = args or ''
args = args or '' args = args or ''
args = args or '' args = args or ''
-- stems for editors
args = args or '' args = args or '' args = args or ''
args = args or '' args = args or ''
args = args or '' args = args or '' args = args or ''
args = args or '' args = args or ''
args = args or '' args = args or ''
-- second-line stems
args = args or '' args = args or '' args = args or ''
args = args or '' args = args or ''
args = args or '' args = args or '' args = args or ''
args = args or '' args = args or ''
args = args or '' args = args or ''
-- is this needed?
-- OVERRIDE STEMS mod- (if the editor writes a XXstem, it overrides the function's mod-XXstem)
if args ~= '' and args ~= nil then args = args end
if args ~= '' and args ~= nil then args = args end
if args ~= '' and args ~= nil then args = args end
if args ~= '' and args ~= nil then args = args end
if args ~= '' and args ~= nil then args = args end
if args ~= '' and args ~= nil then args = args end
if args ~= '' and args ~= nil then args = args end
if args ~= '' and args ~= nil then args = args end
if args ~= '' and args ~= nil then args = args end
if args ~= '' and args ~= nil then args = args end
if args ~= '' and args ~= nil then args = args end
if args ~= '' and args ~= nil then args = args end
-- second-line stems OVERRIDE mod-
if args ~= '' and args ~= nil then args = args end
if args ~= '' and args ~= nil then args = args end
if args ~= '' and args ~= nil then args = args end
if args ~= '' and args ~= nil then args = args end
if args ~= '' and args ~= nil then args = args end
if args ~= '' and args ~= nil then args = args end
if args ~= '' and args ~= nil then args = args end
if args ~= '' and args ~= nil then args = args end
if args ~= '' and args ~= nil then args = args end
if args ~= '' and args ~= nil then args = args end
if args ~= '' and args ~= nil then args = args end
if args ~= '' and args ~= nil then args = args end
-- no column2
-- ================= ENDINGS/SUFFIXES
-- #suffixes / endings @module
args = args or '' args = args or '' args = args or ''
args = args or '' args = args or ''
args = args or '' args = args or '' args = args or ''
args = args or '' args = args or ''
args = args or '' args = args or ''
-- second line's suffixes
args = args or '' args = args or '' args = args or ''
args = args or '' args = args or ''
args = args or '' args = args or '' args = args or ''
args = args or '' args = args or ''
args = args or '' args = args or ''
-- endings for editors
args = args or '' args = args or '' args = args or ''
args = args or '' args = args or ''
args = args or '' args = args or '' args = args or ''
args = args or '' args = args or ''
args = args or '' args = args or ''
-- second line's suffixes
args = args or '' args = args or '' args = args or ''
args = args or '' args = args or ''
args = args or '' args = args or '' args = args or ''
args = args or '' args = args or ''
args = args or '' args = args or ''
-- is this needed?
-- OVERRIDE ENDINGS mod- (if the editor writes a XXsuf, it overrides the function's mod-XXsuf)
if args ~= '' and args ~= nil then args = args end
if args ~= '' and args ~= nil then args = args end
if args ~= '' and args ~= nil then args = args end
if args ~= '' and args ~= nil then args = args end
if args ~= '' and args ~= nil then args = args end
if args ~= '' and args ~= nil then args = args end
if args ~= '' and args ~= nil then args = args end
if args ~= '' and args ~= nil then args = args end
if args ~= '' and args ~= nil then args = args end
if args ~= '' and args ~= nil then args = args end
if args ~= '' and args ~= nil then args = args end
if args ~= '' and args ~= nil then args = args end
-- second-line endings OVERRIDE mod-
if args ~= '' and args ~= nil then args = args end
if args ~= '' and args ~= nil then args = args end
if args ~= '' and args ~= nil then args = args end
if args ~= '' and args ~= nil then args = args end
if args ~= '' and args ~= nil then args = args end
if args ~= '' and args ~= nil then args = args end
if args ~= '' and args ~= nil then args = args end
if args ~= '' and args ~= nil then args = args end
if args ~= '' and args ~= nil then args = args end
if args ~= '' and args ~= nil then args = args end
if args ~= '' and args ~= nil then args = args end
if args ~= '' and args ~= nil then args = args end
-- no column2
-- THIS IS NEEDED - DO NOT ERASE
-- #auto stems ========== DEFAULT STEMS auto
-- this is for module stems, no need to rewrite default (minus 2 letters from end)
-- BUT IF the function's stem is not the default stem, all stems have to be written
if args == '' or args == nil then args = stem else args = args end
if args == '' or args == nil then args = stem else args = args end
if args == '' or args == nil then args = stem else args = args end
if args == '' or args == nil then args = stem else args = args end
if args == '' or args == nil then args = stem else args = args end
if args == '' or args == nil then args = stem else args = args end
if args == '' or args == nil then args = stem else args = args end
if args == '' or args == nil then args = stem else args = args end
if args == '' or args == nil then args = stem else args = args end
if args == '' or args == nil then args = stem else args = args end
if args == '' or args == nil then args = stem else args = args end
if args == '' or args == nil then args = stem else args = args end
-- automatic stem for second-line words
if args == '' or args == nil then args = stem else args = args end
if args == '' or args == nil then args = stem else args = args end
if args == '' or args == nil then args = stem else args = args end
if args == '' or args == nil then args = stem else args = args end
if args == '' or args == nil then args = stem else args = args end
if args == '' or args == nil then args = stem else args = args end
if args == '' or args == nil then args = stem else args = args end
if args == '' or args == nil then args = stem else args = args end
if args == '' or args == nil then args = stem else args = args end
if args == '' or args == nil then args = stem else args = args end
if args == '' or args == nil then args = stem else args = args end
if args == '' or args == nil then args = stem else args = args end
--[=[
-- automatic stem for editor's words. Editor does not have to write the default stem
if args == '' or args == nil then args = stem else args = args end
if args == '' or args == nil then args = stem else args = args end
if args == '' or args == nil then args = stem else args = args end
if args == '' or args == nil then args = stem else args = args end
if args == '' or args == nil then args = stem else args = args end
if args == '' or args == nil then args = stem else args = args end
if args == '' or args == nil then args = stem else args = args end
if args == '' or args == nil then args = stem else args = args end
if args == '' or args == nil then args = stem else args = args end
if args == '' or args == nil then args = stem else args = args end
if args == '' or args == nil then args = stem else args = args end
if args == '' or args == nil then args = stem else args = args end
-- automatic stem for second-line words
if args == '' or args == nil then args = stem else args = args end
if args == '' or args == nil then args = stem else args = args end
if args == '' or args == nil then args = stem else args = args end
if args == '' or args == nil then args = stem else args = args end
if args == '' or args == nil then args = stem else args = args end
if args == '' or args == nil then args = stem else args = args end
if args == '' or args == nil then args = stem else args = args end
if args == '' or args == nil then args = stem else args = args end
if args == '' or args == nil then args = stem else args = args end
if args == '' or args == nil then args = stem else args = args end
if args == '' or args == nil then args = stem else args = args end
if args == '' or args == nil then args = stem else args = args end
]=]--
-- STEM #prosody - when no prosody stems are written in @module fucntions
if args == '' or args == nil then args = args end
if args == '' or args == nil then args = args end
if args == '' or args == nil then args = args end
if args == '' or args == nil then args = args end
if args == '' or args == nil then args = args end
if args == '' or args == nil then args = args end
if args == '' or args == nil then args = args end
if args == '' or args == nil then args = args end
if args == '' or args == nil then args = args end
if args == '' or args == nil then args = args end
if args == '' or args == nil then args = args end
if args == '' or args == nil then args = args end
if args == '' or args == nil then args = args end
if args == '' or args == nil then args = args end
if args == '' or args == nil then args = args end
if args == '' or args == nil then args = args end
if args == '' or args == nil then args = args end
if args == '' or args == nil then args = args end
if args == '' or args == nil then args = args end
if args == '' or args == nil then args = args end
if args == '' or args == nil then args = args end
if args == '' or args == nil then args = args end
if args == '' or args == nil then args = args end
if args == '' or args == nil then args = args end
-- STEM prosody - no prosody for editors
if args == '' or args == nil then args = args end
if args == '' or args == nil then args = args end
if args == '' or args == nil then args = args end
if args == '' or args == nil then args = args end
if args == '' or args == nil then args = args end
if args == '' or args == nil then args = args end
if args == '' or args == nil then args = args end
if args == '' or args == nil then args = args end
if args == '' or args == nil then args = args end
if args == '' or args == nil then args = args end
if args == '' or args == nil then args = args end
if args == '' or args == nil then args = args end
if args == '' or args == nil then args = args end
if args == '' or args == nil then args = args end
if args == '' or args == nil then args = args end
if args == '' or args == nil then args = args end
if args == '' or args == nil then args = args end
if args == '' or args == nil then args = args end
if args == '' or args == nil then args = args end
if args == '' or args == nil then args = args end
if args == '' or args == nil then args = args end
if args == '' or args == nil then args = args end
if args == '' or args == nil then args = args end
if args == '' or args == nil then args = args end
-- ENDINGS PROSODY
-- ENDINGS prosody - no prosody @modules
if args == '' or args == nil then args = args end
if args == '' or args == nil then args = args end
if args == '' or args == nil then args = args end
if args == '' or args == nil then args = args end
if args == '' or args == nil then args = args end
if args == '' or args == nil then args = args end
if args == '' or args == nil then args = args end
if args == '' or args == nil then args = args end
if args == '' or args == nil then args = args end
if args == '' or args == nil then args = args end
if args == '' or args == nil then args = args end
if args == '' or args == nil then args = args end
if args == '' or args == nil then args = args end
if args == '' or args == nil then args = args end
if args == '' or args == nil then args = args end
if args == '' or args == nil then args = args end
if args == '' or args == nil then args = args end
if args == '' or args == nil then args = args end
if args == '' or args == nil then args = args end
if args == '' or args == nil then args = args end
if args == '' or args == nil then args = args end
if args == '' or args == nil then args = args end
if args == '' or args == nil then args = args end
if args == '' or args == nil then args = args end
-- ENDINGS prosody - no prosody for editors
if args == '' or args == nil then args = args end
if args == '' or args == nil then args = args end
if args == '' or args == nil then args = args end
if args == '' or args == nil then args = args end
if args == '' or args == nil then args = args end
if args == '' or args == nil then args = args end
if args == '' or args == nil then args = args end
if args == '' or args == nil then args = args end
if args == '' or args == nil then args = args end
if args == '' or args == nil then args = args end
if args == '' or args == nil then args = args end
if args == '' or args == nil then args = args end
if args == '' or args == nil then args = args end
if args == '' or args == nil then args = args end
if args == '' or args == nil then args = args end
if args == '' or args == nil then args = args end
if args == '' or args == nil then args = args end
if args == '' or args == nil then args = args end
if args == '' or args == nil then args = args end
if args == '' or args == nil then args = args end
if args == '' or args == nil then args = args end
if args == '' or args == nil then args = args end
if args == '' or args == nil then args = args end
if args == '' or args == nil then args = args end
-- ================================ TRANSLITERATIONS have templates {{xlit, needing preprocessing.
-- #tr transliterations @modules
args = args or '' args = args or '' args = args or ''
args = args or '' args = args or ''
args = args or '' args = args or '' args = args or ''
args = args or '' args = args or ''
args = args or '' args = args or ''
-- second-line transliterations
args = args or '' args = args or '' args = args or ''
args = args or '' args = args or ''
args = args or '' args = args or '' args = args or ''
args = args or '' args = args or ''
args = args or '' args = args or ''
-- transliterations for editors
-- is this needed?
args = args or '' args = args or '' args = args or ''
args = args or '' args = args or ''
args = args or '' args = args or '' args = args or ''
args = args or '' args = args or ''
args = args or '' args = args or ''
-- second-line transliterations
args = args or '' args = args or '' args = args or ''
args = args or '' args = args or ''
args = args or '' args = args or '' args = args or ''
args = args or '' args = args or ''
args = args or '' args = args or ''
-- no column2 words
-- is this needed?
-- OVERRIDE TRANSLITERATIONS mod- (if the editor writes a XXtr, it overrides the function's mod-XXtr)
if args ~= '' and args ~= nil then args = args end
if args ~= '' and args ~= nil then args = args end
if args ~= '' and args ~= nil then args = args end
if args ~= '' and args ~= nil then args = args end
if args ~= '' and args ~= nil then args = args end
if args ~= '' and args ~= nil then args = args end
if args ~= '' and args ~= nil then args = args end
if args ~= '' and args ~= nil then args = args end
if args ~= '' and args ~= nil then args = args end
if args ~= '' and args ~= nil then args = args end
if args ~= '' and args ~= nil then args = args end
if args ~= '' and args ~= nil then args = args end
-- second-line transliterations OVERRIDE mod-
if args ~= '' and args ~= nil then args = args end
if args ~= '' and args ~= nil then args = args end
if args ~= '' and args ~= nil then args = args end
if args ~= '' and args ~= nil then args = args end
if args ~= '' and args ~= nil then args = args end
if args ~= '' and args ~= nil then args = args end
if args ~= '' and args ~= nil then args = args end
if args ~= '' and args ~= nil then args = args end
if args ~= '' and args ~= nil then args = args end
if args ~= '' and args ~= nil then args = args end
if args ~= '' and args ~= nil then args = args end
if args ~= '' and args ~= nil then args = args end
-- no column2
-- ================= TEXT AFTER WORD
-- #text @modules & for editors
args = args or '' args = args or ''
if args ~= '' and args ~= nil then args = args end
args = args or '' args = args or ''
if args ~= '' and args ~= nil then args = args end
args = args or '' args = args or ''
if args ~= '' and args ~= nil then args = args end
args = args or '' args = args or ''
if args ~= '' and args ~= nil then args = args end
args = args or '' args = args or ''
if args ~= '' and args ~= nil then args = args end
args = args or '' args = args or ''
if args ~= '' and args ~= nil then args = args end
args = args or '' args = args or ''
if args ~= '' and args ~= nil then args = args end
args = args or '' args = args or ''
if args ~= '' and args ~= nil then args = args end
args = args or '' args = args or ''
if args ~= '' and args ~= nil then args = args end
args = args or '' args = args or ''
if args ~= '' and args ~= nil then args = args end
args = args or '' args = args or ''
if args ~= '' and args ~= nil then args = args end
args = args or '' args = args or ''
if args ~= '' and args ~= nil then args = args end
-- text after second-line words
args = args or '' args = args or ''
if args ~= '' and args ~= nil then args = args end
args = args or '' args = args or ''
if args ~= '' and args ~= nil then args = args end
args = args or '' args = args or ''
if args ~= '' and args ~= nil then args = args end
args = args or '' args = args or ''
if args ~= '' and args ~= nil then args = args end
args = args or '' args = args or ''
if args ~= '' and args ~= nil then args = args end
args = args or '' args = args or ''
if args ~= '' and args ~= nil then args = args end
args = args or '' args = args or ''
if args ~= '' and args ~= nil then args = args end
args = args or '' args = args or ''
if args ~= '' and args ~= nil then args = args end
args = args or '' args = args or ''
if args ~= '' and args ~= nil then args = args end
args = args or '' args = args or ''
if args ~= '' and args ~= nil then args = args end
args = args or '' args = args or ''
if args ~= '' and args ~= nil then args = args end
args = args or '' args = args or ''
if args ~= '' and args ~= nil then args = args end
-- ================= TEXT BEFORE WORD
-- #1text @modules & for editors
args = args or '' args = args or ''
if args ~= '' and args ~= nil then args = args end
args = args or '' args = args or ''
if args ~= '' and args ~= nil then args = args end
args = args or '' args = args or ''
if args ~= '' and args ~= nil then args = args end
args = args or '' args = args or ''
if args ~= '' and args ~= nil then args = args end
args = args or '' args = args or ''
if args ~= '' and args ~= nil then args = args end
args = args or '' args = args or ''
if args ~= '' and args ~= nil then args = args end
args = args or '' args = args or ''
if args ~= '' and args ~= nil then args = args end
args = args or '' args = args or ''
if args ~= '' and args ~= nil then args = args end
args = args or '' args = args or ''
if args ~= '' and args ~= nil then args = args end
args = args or '' args = args or ''
if args ~= '' and args ~= nil then args = args end
args = args or '' args = args or ''
if args ~= '' and args ~= nil then args = args end
args = args or '' args = args or ''
if args ~= '' and args ~= nil then args = args end
-- text before second-line words
args = args or '' args = args or ''
if args ~= '' and args ~= nil then args = args end
args = args or '' args = args or ''
if args ~= '' and args ~= nil then args = args end
args = args or '' args = args or ''
if args ~= '' and args ~= nil then args = args end
args = args or '' args = args or ''
if args ~= '' and args ~= nil then args = args end
args = args or '' args = args or ''
if args ~= '' and args ~= nil then args = args end
args = args or '' args = args or ''
if args ~= '' and args ~= nil then args = args end
args = args or '' args = args or ''
if args ~= '' and args ~= nil then args = args end
args = args or '' args = args or ''
if args ~= '' and args ~= nil then args = args end
args = args or '' args = args or ''
if args ~= '' and args ~= nil then args = args end
args = args or '' args = args or ''
if args ~= '' and args ~= nil then args = args end
args = args or '' args = args or ''
if args ~= '' and args ~= nil then args = args end
args = args or '' args = args or ''
if args ~= '' and args ~= nil then args = args end
---------------------------------------------------------------------------
-- ============== BUILD CASES ============== --
---------------------------------------------------------------------------
--[=[
-- default stem
if args == '' or args == nil then args = stem else args = args end
if args == '' or args == nil then args = stem else args = args end
-- first word
if args ~= '-' and args ~= '0' and args ~= '' and args ~= nil then
args = args .. args
.. create_link((args .. args), (stem_color(args) .. ending_color(args))) .. args
-- zero ending
elseif args == '0' then
args = args .. args .. create_link((args), (stem_color(args))) .. args
elseif args == '-' then
args = args .. '<span style="text-align:center; color:#dddddd;">—</span>' .. args
end
-- second line at new line
if args ~= '-' and args ~= '0' and args ~= '' and args ~= nil then
if args == '' or args == nil then args = args end
args = br .. args .. args
.. create_link((args .. args), (stem_color(args) .. ending_color(args))) .. args
-- zero ending -- check ἔαρ
elseif args == "0" then
args = br .. args .. args
.. create_link((args), (stem_color(args))) .. args
elseif args == '-' then
args = br .. args .. '<span style="text-align:center; color:#dddddd;">—</span>' .. args
end
-- for editors
-- default stem
if args == '' or args == nil then args = stem else args = args end
if args == '' or args == nil then args = stem else args = args end
-- first word
if args ~= '-' and args ~= '0' and args ~= '' and args ~= nil then
args = args .. args
.. create_link((args .. args), (stem_color(args) .. ending_color(args))) .. args
-- zero ending
elseif args == '0' then
args = args .. args .. create_link((args), (stem_color(args))) .. args
elseif args == '-' then
args = args .. '<span style="text-align:center; color:#dddddd;">—</span>' .. args
end
-- second line
if args ~= '-' and args ~= '0' and args ~= '' and args ~= nil then
if args == '' or args == nil then args = args end
args = br .. args .. args
.. create_link((args .. args), (stem_color(args) .. ending_color(args))) .. args
-- zero ending
elseif args == '0' then
args = br .. args .. args
.. create_link((args), (stem_color(args))) .. args
elseif args == '-' then
args = br .. args .. '<span style="text-align:center; color:#dddddd;">—</span>' .. args
end
-- option
if args ~= '' and args ~= nil then
args = args .. args
else
if args ~= '' and args ~= nil then
args = args .. args
else
args = args .. args
end
end
]=]--
-- #NS nominative singular
-- @modules (editor overrides without the suffix mod-)
-- first line
if (args ~= '-' and args ~= '' and args ~= nil)
-- or just write the suffix
or (args ~= '-' and args ~= '0' and args ~= '' and args ~= nil) then
args = args .. args
.. create_link((args .. args), (stem_color(args) .. ending_color(args))) .. args .. args
end
-- zero ending
if args == '0' then
args = args .. args .. create_link((args), (stem_color(args))) .. args .. args
end
-- dash (the article remains, unless aNS=- )
if args == '-' or args == '-' then
args = args .. '<span style="text-align:center; color:#dddddd;">—</span>' .. args
end
-- second line (br default = at new line)
if (args ~= '-' and args ~= '' and args ~= nil)
-- or just write the suffix
or (args ~= '-' and args ~= '0' and args ~= '' and args ~= nil) then
args = br .. args .. args
.. create_link((args .. args), (stem_color(args) .. ending_color(args))) .. args .. args
end
-- zero ending
if args == '0' then
args = br.. args .. args .. create_link((args), (stem_color(args))) .. args .. args
end
-- dash (the article remains, unless aNS=- )
if args == '-' or args == '-' then
args = br .. args .. '<span style="text-align:center; color:#dddddd;">—</span>' .. args
end
args = ''
-- QUESTION whe do I need to repeat this here? it exists above
if args ~= '' and args ~= nil then args = args end
if args ~= '' and args ~= nil then args = args end
args = args .. args
-- #GS genitive singular
-- @modules (editor overrides without the suffix mod-)
-- first line
-- override the default stem -2 letters from end
if (args ~= '-' and args ~= '' and args ~= nil)
-- or just write the suffix
or (args ~= '-' and args ~= '0' and args ~= '' and args ~= nil) then
args = args .. args
.. create_link((args .. args), (stem_color(args) .. ending_color(args))) .. args .. args
end
-- zero ending
if args == '0' then
args = args .. args .. create_link((args), (stem_color(args))) .. args .. args
end
-- dash (the article remains, unless aGS=- )
if args == '-' or args == '-' then
args = args .. '<span style="text-align:center; color:#dddddd;">—</span>' .. args
end
-- second line (br default = at new line)
if (args ~= '-' and args ~= '' and args ~= nil)
-- or just write the suffix
or (args ~= '-' and args ~= '0' and args ~= '' and args ~= nil) then
args = br .. args .. args
.. create_link((args .. args), (stem_color(args) .. ending_color(args))) .. args .. args
end
-- zero ending
if args == '0' then
args = br.. args .. args .. create_link((args), (stem_color(args))) .. args .. args
end
-- dash (the article remains, unless aGS=- )
if args == '-' or args == '-' then
args = br .. args .. '<span style="text-align:center; color:#dddddd;">—</span>' .. args
end
args = ''
if args ~= '' and args ~= nil then args = args end
if args ~= '' and args ~= nil then args = args end
args = args .. args
-- #DS dative singular
-- @modules (editor overrides without the suffix mod-)
-- first line
if (args ~= '-' and args ~= '' and args ~= nil)
-- or just write the suffix
or (args ~= '-' and args ~= '0' and args ~= '' and args ~= nil) then
args = args .. args
.. create_link((args .. args), (stem_color(args) .. ending_color(args))) .. args .. args
end
-- zero ending
if args == '0' then
args = args .. args .. create_link((args), (stem_color(args))) .. args .. args
end
-- dash (the article remains, unless aDS=- )
if args == '-' or args == '-' then
args = args .. '<span style="text-align:center; color:#dddddd;">—</span>' .. args
end
-- second line (br default = at new line)
if (args ~= '-' and args ~= '' and args ~= nil)
-- or just write the suffix
or (args ~= '-' and args ~= '0' and args ~= '' and args ~= nil) then
args = br .. args .. args
.. create_link((args .. args), (stem_color(args) .. ending_color(args))) .. args .. args
end
-- zero ending
if args == '0' then
args = br.. args .. args .. create_link((args), (stem_color(args))) .. args .. args
end
-- dash (the article remains, unless aDS=- )
if args == '-' or args == '-' then
args = br .. args .. '<span style="text-align:center; color:#dddddd;">—</span>' .. args
end
args = ''
if args ~= '' and args ~= nil then args = args end
if args ~= '' and args ~= nil then args = args end
args = args .. args
-- #AS accusative singular
-- @modules (editor overrides without the suffix mod-)
-- first line
if (args ~= '-' and args ~= '' and args ~= nil)
-- or just write the suffix
or (args ~= '-' and args ~= '0' and args ~= '' and args ~= nil) then
args = args .. args
.. create_link((args .. args), (stem_color(args) .. ending_color(args))) .. args .. args
end
-- zero ending
if args == '0' then
args = args .. args .. create_link((args), (stem_color(args))) .. args .. args
end
-- dash (the article remains, unless aAS=- )
if args == '-' or args == '-' then
args = args .. '<span style="text-align:center; color:#dddddd;">—</span>' .. args
end
-- second line (br default = at new line)
if (args ~= '-' and args ~= '' and args ~= nil)
-- or just write the suffix
or (args ~= '-' and args ~= '0' and args ~= '' and args ~= nil) then
args = br .. args .. args
.. create_link((args .. args), (stem_color(args) .. ending_color(args))) .. args .. args
end
-- zero ending
if args == '0' then
args = br.. args .. args .. create_link((args), (stem_color(args))) .. args .. args
end
-- dash (the article remains, unless aAS=- )
if args == '-' or args == '-' then
args = br .. args .. '<span style="text-align:center; color:#dddddd;">—</span>' .. args
end
args = ''
if args ~= '' and args ~= nil then args = args end
if args ~= '' and args ~= nil then args = args end
args = args .. args
-- #VS vocative singular
-- @modules (editor overrides without the suffix mod-)
-- first line
if (args ~= '-' and args ~= '' and args ~= nil)
-- or just write the suffix
or (args ~= '-' and args ~= '0' and args ~= '' and args ~= nil) then
args = args .. args
.. create_link((args .. args), (stem_color(args) .. ending_color(args))) .. args .. args
end
-- zero ending
if args == '0' then
args = args .. args .. create_link((args), (stem_color(args))) .. args .. args
end
-- dash (the article remains, unless aVS=- )
if args == '-' or args == '-' then
args = args .. '<span style="text-align:center; color:#dddddd;">—</span>' .. args
end
-- second line (br default = at new line)
if (args ~= '-' and args ~= '' and args ~= nil)
-- or just write the suffix
or (args ~= '-' and args ~= '0' and args ~= '' and args ~= nil) then
args = br .. args .. args
.. create_link((args .. args), (stem_color(args) .. ending_color(args))) .. args .. args
end
-- zero ending
if args == '0' then
args = br.. args .. args .. create_link((args), (stem_color(args))) .. args .. args
end
-- dash (the article remains, unless aVS=- )
if args == '-' or args == '-' then
args = br .. args .. '<span style="text-align:center; color:#dddddd;">—</span>' .. args
end
args = ''
if args ~= '' and args ~= nil then args = args end
if args ~= '' and args ~= nil then args = args end
args = args .. args
-- #NP NOMINATIVE PLURAL
-- @modules (editor overrides without the suffix mod-)
-- first line
if (args ~= '-' and args ~= '' and args ~= nil)
-- or just write the suffix
or (args ~= '-' and args ~= '0' and args ~= '' and args ~= nil) then
args = args .. args
.. create_link((args .. args), (stem_color(args) .. ending_color(args))) .. args .. args
end
-- zero ending
if args == '0' then
args = args .. args .. create_link((args), (stem_color(args))) .. args .. args
end
-- dash (the article remains, unless aNP=- )
if args == '-' or args == '-' then
args = args .. '<span style="text-align:center; color:#dddddd;">—</span>' .. args
end
-- second line (br default = at new line)
if (args ~= '-' and args ~= '' and args ~= nil)
-- or just write the suffix
or (args ~= '-' and args ~= '0' and args ~= '' and args ~= nil) then
args = br .. args .. args
.. create_link((args .. args), (stem_color(args) .. ending_color(args))) .. args .. args
end
-- zero ending
if args == '0' then
args = br.. args .. args .. create_link((args), (stem_color(args))) .. args .. args
end
-- dash (the article remains, unless aNP=- )
if args == '-' or args == '-' then
args = br .. args .. '<span style="text-align:center; color:#dddddd;">—</span>' .. args
end
args = ''
if args ~= '' and args ~= nil then args = args end
if args ~= '' and args ~= nil then args = args end
args = args .. args
-- #GP GENITIVE PLURAL
-- @modules (editor overrides without the suffix mod-)
-- first line
if (args ~= '-' and args ~= '' and args ~= nil)
-- or just write the suffix
or (args ~= '-' and args ~= '0' and args ~= '' and args ~= nil) then
args = args .. args
.. create_link((args .. args), (stem_color(args) .. ending_color(args))) .. args .. args
end
-- zero ending
if args == '0' then
args = args .. args .. create_link((args), (stem_color(args))) .. args .. args
end
-- dash (the article remains, unless aGP=- )
if args == '-' or args == '-' then
args = args .. '<span style="text-align:center; color:#dddddd;">—</span>' .. args
end
-- second line (br default = at new line)
if (args ~= '-' and args ~= '' and args ~= nil)
-- or just write the suffix
or (args ~= '-' and args ~= '0' and args ~= '' and args ~= nil) then
args = br .. args .. args
.. create_link((args .. args), (stem_color(args) .. ending_color(args))) .. args .. args
end
-- zero ending
if args == '0' then
args = br.. args .. args .. create_link((args), (stem_color(args))) .. args .. args
end
-- dash (the article remains, unless aGP=- )
if args == '-' or args == '-' then
args = br .. args .. '<span style="text-align:center; color:#dddddd;">—</span>' .. args
end
args = ''
if args ~= '' and args ~= nil then args = args end
if args ~= '' and args ~= nil then args = args end
args = args .. args
-- #DP DATIVE PLURAL plus novable nu - νυ εφελκυτικόν e.g. ], double forms at ]
-- @modules (editor overrides without the suffix mod-)
-- first line
if (args ~= '-' and args ~= '' and args ~= nil)
-- or just write the suffix
or (args ~= '-' and args ~= '0' and args ~= '' and args ~= nil) then
if args == '1' then
args = args .. args
.. create_link((args .. args), (stem_color(args) .. ending_color(args)))
.. create_link((args .. args .. "ν"), (stem_color("(") .. ending_color("ν") .. stem_color(")")))
.. args .. args
else
args = args .. args
.. create_link((args .. args), (stem_color(args) .. ending_color(args))) .. args .. args
end
end
-- zero ending
if args == '0' then
args = args .. args .. create_link((args), (stem_color(args))) .. args .. args
end
-- dash (the article remains, unless aDP=- )
if args == '-' or args == '-' then
args = args .. '<span style="text-align:center; color:#dddddd;">—</span>' .. args
end
-- second line (br default = at new line) + movable nu option
if (args ~= '-' and args ~= '' and args ~= nil)
-- or just write the suffix
or (args ~= '-' and args ~= '0' and args ~= '' and args ~= nil) then
if args == '1' then
args = br .. args .. args
.. create_link((args .. args), (stem_color(args) .. ending_color(args)))
.. create_link((args .. args .. "ν"), (stem_color("(") .. ending_color("ν") .. stem_color(")")))
.. args .. args
else
args = br .. args .. args
.. create_link((args .. args), (stem_color(args) .. ending_color(args))) .. args .. args
end
end
-- zero ending
if args == '0' then
args = br.. args .. args .. create_link((args), (stem_color(args))) .. args .. args
end
-- dash (the article remains, unless aDP=- )
if args == '-' or args == '-' then
args = br .. args .. '<span style="text-align:center; color:#dddddd;">—</span>' .. args
end
args = ''
if args ~= '' and args ~= nil then args = args end
if args ~= '' and args ~= nil then args = args end
args = args .. args
-- #AP ACCUSATIVE PLURAL
-- @modules (editor overrides without the suffix mod-)
-- first line
if (args ~= '-' and args ~= '' and args ~= nil)
-- or just write the suffix
or (args ~= '-' and args ~= '0' and args ~= '' and args ~= nil) then
args = args .. args
.. create_link((args .. args), (stem_color(args) .. ending_color(args))) .. args .. args
end
-- zero ending
if args == '0' then
args = args .. args .. create_link((args), (stem_color(args))) .. args .. args
end
-- dash (the article remains, unless aAP=- )
if args == '-' or args == '-' then
args = args .. '<span style="text-align:center; color:#dddddd;">—</span>' .. args
end
-- second line (br default = at new line)
if (args ~= '-' and args ~= '' and args ~= nil)
-- or just write the suffix
or (args ~= '-' and args ~= '0' and args ~= '' and args ~= nil) then
args = br .. args .. args
.. create_link((args .. args), (stem_color(args) .. ending_color(args))) .. args .. args
end
-- zero ending
if args == '0' then
args = br.. args .. args .. create_link((args), (stem_color(args))) .. args .. args
end
-- dash (the article remains, unless aAP=- )
if args == '-' or args == '-' then
args = br .. args .. '<span style="text-align:center; color:#dddddd;">—</span>' .. args
end
args = ''
if args ~= '' and args ~= nil then args = args end
if args ~= '' and args ~= nil then args = args end
args = args .. args
-- #VP VOCATIVE PLURAL
-- @modules (editor overrides without the suffix mod-)
-- first line
if (args ~= '-' and args ~= '' and args ~= nil)
-- or just write the suffix
or (args ~= '-' and args ~= '0' and args ~= '' and args ~= nil) then
args = args .. args
.. create_link((args .. args), (stem_color(args) .. ending_color(args))) .. args .. args
end
-- zero ending
if args == '0' then
args = args .. args .. create_link((args), (stem_color(args))) .. args .. args
end
-- dash (the article remains, unless aVP=- )
if args == '-' or args == '-' then
args = args .. '<span style="text-align:center; color:#dddddd;">—</span>' .. args
end
-- second line (br default = at new line)
if (args ~= '-' and args ~= '' and args ~= nil)
-- or just write the suffix
or (args ~= '-' and args ~= '0' and args ~= '' and args ~= nil) then
args = br .. args .. args
.. create_link((args .. args), (stem_color(args) .. ending_color(args))) .. args .. args
end
-- zero ending
if args == '0' then
args = br.. args .. args .. create_link((args), (stem_color(args))) .. args .. args
end
-- dash (the article remains, unless aVP=- )
if args == '-' or args == '-' then
args = br .. args .. '<span style="text-align:center; color:#dddddd;">—</span>' .. args
end
args = ''
if args ~= '' and args ~= nil then args = args end
if args ~= '' and args ~= nil then args = args end
args = args .. args
-- #ND nominative dual (and accusative, vocative)
-- @modules (editor overrides without the suffix mod-)
-- first line
if (args ~= '-' and args ~= '' and args ~= nil)
-- or just write the suffix
or (args ~= '-' and args ~= '0' and args ~= '' and args ~= nil) then
args = args .. args
.. create_link((args .. args), (stem_color(args) .. ending_color(args))) .. args .. args
end
-- zero ending
if args == '0' then
args = args .. args .. create_link((args), (stem_color(args))) .. args .. args
end
-- dash (the article remains, unless aND=- )
if args == '-' or args == '-' then
args = args .. '<span style="text-align:center; color:#dddddd;">—</span>' .. args
end
-- second line (br default = at new line)
if (args ~= '-' and args ~= '' and args ~= nil)
-- or just write the suffix
or (args ~= '-' and args ~= '0' and args ~= '' and args ~= nil) then
args = br .. args .. args
.. create_link((args .. args), (stem_color(args) .. ending_color(args))) .. args .. args
end
-- zero ending
if args == '0' then
args = br.. args .. args .. create_link((args), (stem_color(args))) .. args .. args
end
-- dash (the article remains, unless aND=- )
if args == '-' or args == '-' then
args = br .. args .. '<span style="text-align:center; color:#dddddd;">—</span>' .. args
end
args = ''
if args ~= '' and args ~= nil then args = args end
if args ~= '' and args ~= nil then args = args end
args = args .. args
-- #GD genitive dual (and dative)
-- @modules (editor overrides without the suffix mod-)
-- first line
if (args ~= '-' and args ~= '' and args ~= nil)
-- or just write the suffix
or (args ~= '-' and args ~= '0' and args ~= '' and args ~= nil) then
args = args .. args
.. create_link((args .. args), (stem_color(args) .. ending_color(args))) .. args .. args
end
-- zero ending
if args == '0' then
args = args .. args .. create_link((args), (stem_color(args))) .. args .. args
end
-- dash (the article remains, unless aGD=- )
if args == '-' or args == '-' then
args = args .. '<span style="text-align:center; color:#dddddd;">—</span>' .. args
end
-- second line (br default = at new line)
if (args ~= '-' and args ~= '' and args ~= nil)
-- or just write the suffix
or (args ~= '-' and args ~= '0' and args ~= '' and args ~= nil) then
args = br .. args .. args
.. create_link((args .. args), (stem_color(args) .. ending_color(args))) .. args .. args
end
-- zero ending
if args == '0' then
args = br.. args .. args .. create_link((args), (stem_color(args))) .. args .. args
end
-- dash (the article remains, unless aGD=- )
if args == '-' or args == '-' then
args = br .. args .. '<span style="text-align:center; color:#dddddd;">—</span>' .. args
end
args = ''
if args ~= '' and args ~= nil then args = args end
if args ~= '' and args ~= nil then args = args end
args = args .. args
-- PLUS #columns cells?TODO only for editors? for mod- and editors = write whole words?
-- 2nd singular
args = args or '' args = args or ''
args = args or '' args = args or ''
args = args or ''
args = args or ''
args = args or ''
-- 2nd plural -- ὁ ] οἱ θύρσοι + τὰ θύρσα
args = args or '' args = args or ''
args = args or ''
args = args or ''
args = args or ''
args = args or ''
-- no 2nd columns for dual ?
args = ''
if args ~= '' and args ~= nil then args = args end
if args ~= '' and args ~= nil then args = args end
args = args .. args
args = ''
if args ~= '' and args ~= nil then args = args end
if args ~= '' and args ~= nil then args = args end
args = args .. args
args = ''
if args ~= '' and args ~= nil then args = args end
if args ~= '' and args ~= nil then args = args end
args = args .. args
args = ''
if args ~= '' and args ~= nil then args = args end
if args ~= '' and args ~= nil then args = args end
args = args .. args
args = ''
if args ~= '' and args ~= nil then args = args end
if args ~= '' and args ~= nil then args = args end
args = args .. args
args = ''
if args ~= '' and args ~= nil then args = args end
if args ~= '' and args ~= nil then args = args end
args = args .. args
args = ''
if args ~= '' and args ~= nil then args = args end
if args ~= '' and args ~= nil then args = args end
args = args .. args
args = ''
if args ~= '' and args ~= nil then args = args end
if args ~= '' and args ~= nil then args = args end
args = args .. args
args = ''
if args ~= '' and args ~= nil then args = args end
if args ~= '' and args ~= nil then args = args end
args = args .. args
args = ''
if args ~= '' and args ~= nil then args = args end
if args ~= '' and args ~= nil then args = args end
args = args .. args
args = ''
if args ~= '' and args ~= nil then args = args end
if args ~= '' and args ~= nil then args = args end
args = args .. args
args = ''
if args ~= '' and args ~= nil then args = args end
if args ~= '' and args ~= nil then args = args end
args = args .. args
end -- close function param
return {param = param}