Module:Citation/CS1/COinS: Difference between revisions

    m>Trappist the monk
    No edit summary
    m>Trappist the monk
    No edit summary
    Line 249: Line 249:
    elseif 'conference' == class then -- cite conference when Periodical not set
    elseif 'conference' == class then -- cite conference when Periodical not set
    OCinSoutput["rft.genre"] = "conference";
    OCinSoutput["rft.genre"] = "conference";
    elseif in_array (class, {'book', 'citation', 'conference', 'encyclopaedia', 'interview', 'map'}) then
    OCinSoutput["rft.atitle"] = data.Chapter; -- conference paper as chapter in proceedings (book)
    elseif in_array (class, {'book', 'citation', 'encyclopaedia', 'interview', 'map'}) then
    if is_set (data.Chapter) then
    if is_set (data.Chapter) then
    OCinSoutput["rft.genre"] = "bookitem";
    OCinSoutput["rft.genre"] = "bookitem";