Module:References: Difference between revisions

no edit summary
(Created page with "-- Main module implementing reference templates -- local onmain = require('Module:Mainonly').on_main local paramtest = require('Module:Paramtest') local hc = paramtest.has_content local dt = paramtest.default_to local yn = require('Module:Yesno') local lang = mw.getContentLanguage() local p = {} --all template entrance points here local r = {} --reference formatters here to not expose them to #invoke, and to not clutter p local reftext, c...")
 
No edit summary
Tag: Reverted
Line 702:
if hc(a.title) then
reftext = reftext .. "''" .. a.title .. "''"
if hc(a.mw.pages) then
reftext = reftext .. ', (' .. a.mw.pages .. ')'
end
reftext = reftext .. '. '
Line 932:
end
if hc(a.mw.pages) then
reftext = reftext .. ' pp. ' .. a.mw.pages
end