Module:headword: Difference between revisions
No edit summary |
No edit summary |
||
| (3 intermediate revisions by the same user not shown) | |||
| Line 992: | Line 992: | ||
end | end | ||
if is_reconstructed then | if is_reconstructed and not data.lang:hasType("conlang") then | ||
default_head = "*" .. default_head | default_head = "*" .. default_head | ||
end | end | ||
| Line 1,108: | Line 1,108: | ||
-- Link to the transliteration entry for languages that require this. | -- Link to the transliteration entry for languages that require this. | ||
if head.tr and data.lang:link_tr(head.sc) then | if head.tr ~= "<small>transliteration needed</small>" and data.lang:link_tr(head.sc) then | ||
head.tr = full_link{ | head.tr = full_link{ | ||
term = head.tr, | term = head.tr, | ||
| Line 1,455: | Line 1,455: | ||
-- Add to various maintenance categories. | -- Add to various maintenance categories. | ||
export.maintenance_cats(page, data.lang, data.categories, data.whole_page_categories) | export.maintenance_cats(page, data.lang, data.categories, data.whole_page_categories) | ||
------------ 10. Format and return headwords, genders, inflections and categories. ------------ | ------------ 10. Format and return headwords, genders, inflections and categories. ------------ | ||