Module:Hatnote list: Difference between revisions
Jump to navigation
Jump to search
Content added Content deleted
(Updated with "formatted" option for andList and orList from sandbox) |
m (Actually applied andList's formatted option in forSeeTableToString) |
||
Line 158: | Line 158: | ||
for k, v in pairs(forSeeTable) do |
for k, v in pairs(forSeeTable) do |
||
local useStr = v.use or options.otherText |
local useStr = v.use or options.otherText |
||
local pagesStr = p.andList |
local pagesStr = p.andList(v.pages, true) or |
||
mHatnote._formatLink(mHatnote.disambiguate(options.title)) |
mHatnote._formatLink(mHatnote.disambiguate(options.title)) |
||
local forSeeStr = string.format(options.forseeForm, useStr, pagesStr) |
local forSeeStr = string.format(options.forseeForm, useStr, pagesStr) |