Module:Citation/CS1: Difference between revisions
Move issue next to volume, is this going to break lots of things?
m>Dragons flight (empty checking) |
m>Dragons flight (Move issue next to volume, is this going to break lots of things?) |
||
Line 815: | Line 815: | ||
local tcommon | local tcommon | ||
if ( config.CitationClass == "journal" ) | if ( config.CitationClass == "journal" ) | ||
then tcommon = Title .. TitleNote .. Format .. TitleType .. Conference .. Periodical .. Series .. Language .. Edition .. Publisher .. Agency .. Others .. Volume .. Position | then tcommon = Title .. TitleNote .. Format .. TitleType .. Conference .. Periodical .. Series .. Language .. Edition .. Publisher .. Agency .. Others .. Volume .. Issue .. Position | ||
elseif ( config.CitationClass == "citation" ) | elseif ( config.CitationClass == "citation" ) | ||
then tcommon = Title .. TitleNote .. Format .. TitleType .. Conference .. Periodical .. Series .. Language .. Volume .. Edition .. Publisher .. Agency .. Others .. Position | then tcommon = Title .. TitleNote .. Format .. TitleType .. Conference .. Periodical .. Series .. Language .. Volume .. Issue .. Edition .. Publisher .. Agency .. Others .. Position | ||
else tcommon = Title .. TitleNote .. Series .. Format .. TitleType .. Conference .. Periodical .. Language .. Volume .. Edition .. Publisher .. Agency .. Others .. Position | else tcommon = Title .. TitleNote .. Series .. Format .. TitleType .. Conference .. Periodical .. Language .. Volume .. Issue .. Edition .. Publisher .. Agency .. Others .. Position | ||
end | end | ||
-- DEBUG: tcommon = "/Title="..Title .. "/TitleType="..TitleType .. "/TitleNote="..TitleNote .. "/Format="..Format .. "/Edition="..Edition .. "/Language="..Language .. "/Conference="..Conference .. "/Periodical="..Periodical .. "/Series="..Series .. "/Volume="..Volume .. "/Issue="..Issue .. "/Position="..Position | -- DEBUG: tcommon = "/Title="..Title .. "/TitleType="..TitleType .. "/TitleNote="..TitleNote .. "/Format="..Format .. "/Edition="..Edition .. "/Language="..Language .. "/Conference="..Conference .. "/Periodical="..Periodical .. "/Series="..Series .. "/Volume="..Volume .. "/Issue="..Issue .. "/Position="..Position | ||
Line 856: | Line 856: | ||
end | end | ||
end | end | ||
text = Authors .. Date .. Chapter .. Editors .. tcommon | text = Authors .. Date .. Chapter .. Editors .. tcommon .. Page .. Pages .. At .. idcommon | ||
elseif ( "" ~= Editors) then | elseif ( "" ~= Editors) then | ||
if ( "" ~= Date ) then | if ( "" ~= Date ) then | ||
Line 872: | Line 872: | ||
end | end | ||
end | end | ||
text = Editors .. Date .. Chapter .. tcommon | text = Editors .. Date .. Chapter .. tcommon .. Page .. Pages .. At .. idcommon | ||
else | else | ||
if ( "" ~= Date ) then | if ( "" ~= Date ) then | ||
Line 880: | Line 880: | ||
end | end | ||
end -- endif ""~=Date | end -- endif ""~=Date | ||
text = Chapter .. tcommon .. Date | text = Chapter .. tcommon .. Date .. Page .. Pages .. At .. idcommon | ||
end | end | ||