Module:ListUtils: Difference between revisions
No edit summary |
No edit summary |
||
| (One intermediate revision by the same user not shown) | |||
| Line 87: | Line 87: | ||
table.insert(out, '[[' .. catNs .. ':' .. plain .. ']]') | table.insert(out, '[[' .. catNs .. ':' .. plain .. ']]') | ||
end | end | ||
-- Property | -- Property annotation (hidden label so nothing shows) | ||
if property and property ~= '' then | if property and property ~= '' then | ||
table.insert(out, '[[' .. property .. '::' .. plain .. ']]') | table.insert(out, '[[' .. property .. '::' .. plain .. '| ]]') | ||
end | end | ||
seen[plain] = true | seen[plain] = true | ||
| Line 118: | Line 118: | ||
if plain ~= '' and not seen[plain] then | if plain ~= '' and not seen[plain] then | ||
table.insert(out, '[[' .. property .. '::' .. plain .. ']]') | table.insert(out, '[[' .. property .. '::' .. plain .. '| ]]') | ||
seen[plain] = true | seen[plain] = true | ||
end | end | ||