Jump to content

Module:Citation/CS1: Difference between revisions

only load page if pages doesn't exist
m>Dragons flight
(switch other italic tags to wikistyle italics, should be more consistent with prior style when input contains italics)
m>Dragons flight
(only load page if pages doesn't exist)
Line 189: Line 189:
     local text = name(args)
     local text = name(args)
     local loc = args.loc
     local loc = args.loc
     local page = args.p or args.page
     local page
     local pages = args.pp or args.pages
     local pages = args.pp or args.pages
    if pages == nil or pages == '' then
        page = args.p or args.page;
    end
     if nil == loc then loc = "" else loc = " " .. loc end
     if nil == loc then loc = "" else loc = " " .. loc end
     if ( page ~= nil ) then
     if ( page ~= nil ) then
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.