Module:Citation/CS1/COinS: Difference between revisions
Content deleted Content added
update per RfC; |
Johnrdorazio (talk | contribs) m 1 revision imported |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 180: | Line 180: | ||
}); |
}); |
||
if in_array (class, {'arxiv', 'biorxiv', 'citeseerx', 'ssrn', 'journal', 'news', 'magazine'}) or |
if in_array (class, {'arxiv', 'biorxiv', 'citeseerx', 'ssrn', 'journal', 'news', 'magazine'}) or |
||
(in_array (class, {'conference', 'interview', 'map', 'press release', 'web'}) and is_set(data.Periodical)) or |
|||
('citation' == class and is_set(data.Periodical) and not is_set (data.Encyclopedia)) then |
('citation' == class and is_set(data.Periodical) and not is_set (data.Encyclopedia)) then |
||
OCinSoutput.rft_val_fmt = "info:ofi/fmt:kev:mtx:journal"; -- journal metadata identifier |
OCinSoutput.rft_val_fmt = "info:ofi/fmt:kev:mtx:journal"; -- journal metadata identifier |
||
Line 201: | Line 202: | ||
OCinSoutput["rft.volume"] = data.Volume; -- does not apply to books |
OCinSoutput["rft.volume"] = data.Volume; -- does not apply to books |
||
OCinSoutput["rft.issue"] = data.Issue; |
OCinSoutput["rft.issue"] = data.Issue; |
||
OCinSoutput['rft.artnum'] = data.ArticleNumber; -- {{cite journal}} only |
|||
OCinSoutput["rft.pages"] = data.Pages; -- also used in book metadata |
OCinSoutput["rft.pages"] = data.Pages; -- also used in book metadata |
||