Jump to content

Module:Citation/CS1: Difference between revisions

removed duplicate display of "others=" data.
m>Wikid77
(reset editor suffix as ", ed." when date exists)
m>Wikid77
(removed duplicate display of "others=" data.)
Line 612: Line 612:
     if ( Coauthors == nil ) then Coauthors = "" end
     if ( Coauthors == nil ) then Coauthors = "" end
     if ( Others ~= nil and Others ~="" ) then
     if ( Others ~= nil and Others ~="" ) then
         Others = " " .. Others .. sepc else Others = "" end
         Others = sepc .. " " .. Others else Others = "" end
     if ( TitleType ~= nil and TitleType ~="" ) then
     if ( TitleType ~= nil and TitleType ~="" ) then
         TitleType = " (" .. TitleType .. ")" else TitleType = "" end
         TitleType = " (" .. TitleType .. ")" else TitleType = "" end
     if ( TitleNote ~= nil and TitleNote ~="" ) then
     if ( TitleNote ~= nil and TitleNote ~="" ) then
         TitleNote = " (" .. TitleNote .. ")" else TitleNote = "" end
         TitleNote = sepc .. " " .. TitleNote else TitleNote = "" end
     if ( PublicationPlace ~= nil and PublicationPlace ~="" ) then
     if ( PublicationPlace ~= nil and PublicationPlace ~="" ) then
         PublicationPlace = PublicationPlace .. ": "
         PublicationPlace = PublicationPlace .. ": "
Line 768: Line 768:
     local tcommon
     local tcommon
     if ( config.CitationClass == "journal" )
     if ( config.CitationClass == "journal" )
     then tcommon = Title .. TitleNote .. Language .. Format .. TitleType .. Edition .. Conference .. Periodical .. Series .. Publisher .. Agency .. Others .. Volume .. Others .. Position
     then tcommon = Title .. TitleNote .. Language .. Format .. TitleType .. Edition .. Conference .. Periodical .. Series .. Publisher .. Agency .. Others .. Volume .. Position
     elseif ( config.CitationClass == "citation" )
     elseif ( config.CitationClass == "citation" )
     then tcommon = Title .. TitleNote .. Language .. Format .. TitleType .. Edition .. Conference .. Periodical .. Series .. Volume .. Publisher .. Agency .. Others .. Position
     then tcommon = Title .. TitleNote .. Language .. Format .. TitleType .. Edition .. Conference .. Periodical .. Series .. Volume .. Publisher .. Agency .. Others .. Position
Line 1,164: Line 1,164:
--27Feb2013 Fixed double-dot ".." at end of authors/coauthors list.
--27Feb2013 Fixed double-dot ".." at end of authors/coauthors list.
--27Feb2013 Reset editor suffix as ", ed." when date exists.
--27Feb2013 Reset editor suffix as ", ed." when date exists.
--27Feb2013 Removed duplicate display of "others=" data.
--27Feb2013 Removed parentheses "( )" around "department" TitleNote.
--
--
--End
--End
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.