Module:affix/templates: Difference between revisions
No edit summary Tag: Reverted |
No edit summary Tag: Manual revert |
||
| (2 intermediate revisions by the same user not shown) | |||
| Line 575: | Line 575: | ||
local id = args.id | local id = args.id | ||
local sc = args.sc | local sc = args.sc | ||
local pos = require(en_utilities_module).pluralize(args.pos or " | local pos = require(en_utilities_module).pluralize(args.pos or "term") | ||
if not term then | if not term then | ||
| Line 581: | Line 581: | ||
if lang:hasType("reconstructed") or mw.title.getCurrentTitle().nsText == "Reconstruction" then | if lang:hasType("reconstructed") or mw.title.getCurrentTitle().nsText == "Reconstruction" then | ||
term = "*" .. SUBPAGE | term = "*" .. SUBPAGE | ||
elseif lang:hasType("appendix-constructed | elseif lang:hasType("appendix-constructed") then | ||
term = SUBPAGE | term = SUBPAGE | ||
else | else | ||