မော်ဂျူး:form of: တည်းဖြတ်မှု မူကွဲများ
Content deleted Content added
အရေးမကြီးNo edit summary |
No edit summary |
||
စာကြောင်း ၁၂၉ -
local terminfo_classes = data.text_classes or "form-of-definition-link"
local parts = {}
table.insert(parts, "<span class='" .. text_classes .. "'>")▼
if data.terminfo then
table.insert(parts, "<span class='" .. terminfo_classes .. "'>")
Line ၁၄၄ ⟶ ၁၄၃:
end
▲ table.insert(parts, "<span class='" .. text_classes .. "'>")
table.insert(parts, data.text)
if data.text ~= " " and data.terminfo then
table.insert(parts, " ")
end
table.insert(parts, "</span>")
return table.concat(parts)
end
Line ၈၉၇ ⟶ ၈၉၈:
if #inflections == 1 then
format_data.text =
data.notext and " " or ((data.terminfo and " ၏ " or " ") .. (data.capfirst and require("Module:string utilities").ucfirst(inflections[1]) or inflections[1]) .. "။")
return export.format_form_of(format_data)
else
format_data.text = data.notext and " " or (data.terminfo and " ၏ " or " ") .. ((data.capfirst and "Inflection" or "inflection") .. ":")
local link = export.format_form_of(format_data)
local text_classes = data.text_classes or "form-of-definition use-with-mention"
return link .."\n## <span class='" .. text_classes .. "'>" ..
table.concat(inflections, "</span>။\n## <span class='" .. text_classes .. "'>") .. "</span>။"
end
end
Line ၉၂၉ ⟶ ၉၂၈:
if not data or not data.wikidata then
if not skip_tags_without_ids then
error("The tag \" " .. tag .. "\" does not have a Wikidata ID defined in [[Module:form of/data]]")
else
return nil
|