%
const idSep = pid ? ', version: ' : '.';
const seriesIdHTML = seriesId ? `${seriesId}${idSep}` : '';
const pidHTML = pid ? `${pid}.` : '';
const idHTML = seriesIdHTML || pidHTML ? `${seriesIdHTML}${pidHTML}` : '';
%>
This content has been archived. <%= idHTML %>