Khác biệt giữa bản sửa đổi của “Mô đun:form of”
Nội dung được xóa Nội dung được thêm vào
Không có tóm lược sửa đổi |
cập nhật Thẻ: Đã bị lùi lại |
||
Dòng 77:
* The DISPLAY FORM of a tag is the way it's displayed to the user. Usually the displayed text of the tag is the same as
its canonical form, and it normally functions as a link to a glossary entry explaining the tag. Usually the link is
to an entry in [[
Wikipedia entry. Occasionally, the display text differs from the canonical form of the tag. An example is the tag
'comparative case', which has the display text read as simply 'comparative'. Normally, tags referring to cases don't
Dòng 221:
table.insert(parts, text)
end
ins("
ins(data.text)
if data.text ~= "" and data.lemmas then
Dòng 756:
display = "[[w:" .. normtag .. "|" .. display .. "]]"
elseif glossary == export.APPENDIX then
display = "[[
elseif type(glossary) ~= "string" then
error(("Internal error: Wrong type %s for glossary value %s for tag %s"):format(
Dòng 772:
end
if not link then
display = "[[
end
end
Dòng 1.261:
end
local of_text = data.lemmas and "
local formatted_text
if #inflections == 1 then
Dòng 1.272:
else
format_data.text = format_labels(overall_labels, data.notext) .. (data.pretext or "") .. (data.notext and "" or
((data.capfirst and "
format_data.posttext = (data.posttext or "") .. ":"
local link = export.format_form_of(format_data)
|