local export = {numbers = {}} local numbers = export.numbers numbers[0] = { cardinal = "μηδέν", ordinal = "μηδενικός" } numbers[1] = { cardinal = "ένα"...
export.print_table(language_code) local module = require("Module:<span class="searchmatch">number</span> <span class="searchmatch">list</span>/<span class="searchmatch">data</span>/" .. language_code) local lang = require("Module:languages")...
" modules") .. "|<span class="searchmatch">number</span> <span class="searchmatch">list</span>") cats:insert("<span class="searchmatch">Number</span> <span class="searchmatch">data</span> modules|" .. canonical_name) return ("This module contains <span class="searchmatch">data</span> on various types of...
get_<span class="searchmatch">number</span>_types(language_code) local m_<span class="searchmatch">data</span> = require("Module:<span class="searchmatch">number</span> <span class="searchmatch">list</span>/<span class="searchmatch">data</span>/" .. language_code) local final_form_types = form_types if m_<span class="searchmatch">data</span>...
local m_<span class="searchmatch">data</span> = require("Module:<span class="searchmatch">number</span> <span class="searchmatch">list</span>/<span class="searchmatch">data</span>/" .. lang:getCode()) local cur_<span class="searchmatch">data</span> = m_<span class="searchmatch">data</span>.numbers[cur_num] if cur_<span class="searchmatch">data</span> then if cur_<span class="searchmatch">data</span>[cur_type]...
" modules") .. "|<span class="searchmatch">number</span> <span class="searchmatch">list</span>") cats:insert("<span class="searchmatch">Number</span> <span class="searchmatch">data</span> modules|" .. canonical_name) return ("This module contains <span class="searchmatch">data</span> on various types of...
module_name = "Module:<span class="searchmatch">number</span> <span class="searchmatch">list</span>/<span class="searchmatch">data</span>/" .. langcode if must_exist and not mw.title.new(module_name).exists then error(("<span class="searchmatch">Data</span> module [[%s]] for language...
local <span class="searchmatch">data</span> = mw.load<span class="searchmatch">Data</span>("Module:gender and <span class="searchmatch">number</span>/<span class="searchmatch">data</span>") -- Version of format_<span class="searchmatch">list</span> that can be invoked from a template. function export.show_<span class="searchmatch">list</span>(frame)...
the <span class="searchmatch">list</span> tag. local <span class="searchmatch">list</span> = root:tag(<span class="searchmatch">data</span>.<span class="searchmatch">list</span>Tag or 'ul') <span class="searchmatch">list</span> :attr{start = <span class="searchmatch">data</span>.start, type = <span class="searchmatch">data</span>.type} :css{ ['counter-reset'] = <span class="searchmatch">data</span>.counterReset...
the <span class="searchmatch">list</span> tag. local <span class="searchmatch">list</span> = root:tag(<span class="searchmatch">data</span>.<span class="searchmatch">list</span>Tag or 'ul') <span class="searchmatch">list</span> :attr{start = <span class="searchmatch">data</span>.start, type = <span class="searchmatch">data</span>.type} :css{ ['counter-reset'] = <span class="searchmatch">data</span>.counterReset...