Module:Citation/CS1: Difference between revisions
shifted Format to follow Language, and Others to follow Volume
m>Wikid77 (used ] for "]" to allow URL link) |
m>Wikid77 (shifted Format to follow Language, and Others to follow Volume) |
||
Line 676: | Line 676: | ||
local tcommon | local tcommon | ||
if ( config.CitationClass == "journal" ) | if ( config.CitationClass == "journal" ) | ||
then tcommon = Title .. TitleType .. TitleNote .. Format .. Edition | then tcommon = Title .. TitleType .. TitleNote .. Language .. Format .. Edition .. Conference .. Periodical .. Series .. Publisher .. Agency .. Volume .. Others .. Issue .. Position | ||
else tcommon = Title .. TitleType .. TitleNote .. Format .. Edition | else tcommon = Title .. TitleType .. TitleNote .. Series .. Language .. Format .. Edition .. Conference .. Periodical .. Volume .. Others .. Issue .. Publisher .. Agency .. Position 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 | ||
local enddot = "." | local enddot = "." | ||
Line 691: | Line 691: | ||
else Authors = Authors .. ". " end | else Authors = Authors .. ". " end | ||
if ( "" ~= Editors ) then Editors = " in " .. Editors .. "." end | if ( "" ~= Editors ) then Editors = " in " .. Editors .. "." end | ||
text = Authors .. Coauthors .. " "..Date .. Chapter | text = Authors .. Coauthors .. " "..Date .. Chapter .. Editors .. tcommon .. Page .. Pages .. At .. idcommon | ||
elseif ( "" ~= Editors) then | elseif ( "" ~= Editors) then | ||
Editors = Editors .. " (eds.)" | Editors = Editors .. " (eds.)" | ||
Line 999: | Line 999: | ||
--20Feb2013 Changed to omit dot "." if already ends with dot. | --20Feb2013 Changed to omit dot "." if already ends with dot. | ||
--20Feb2013 If class "journal" shows Publisher after Periodical/Series. | --20Feb2013 If class "journal" shows Publisher after Periodical/Series. | ||
--20Feb2013 Shifted Format to after Language, and Others after Volume. | |||
-- | -- | ||
--End | --End |