Module:CS1 translator/sandbox: Difference between revisions

Content deleted Content added
function chapter_make_fr: For {{chapitre}}, need to create the 'chapter=' arg even if no numéro_chapitre or numéro. Also, their 'auteurs ouvrage' and punct isn't Vancouver-compliant, so add ((as-wrtn)) markup.
function _cite_fr: See if we can tweak 'pages totales' and stick it in 'pages' as a comment, to pass the data through without throwing an error.
Line 1,015:
id_make (frame, args_t, cite_args_t, params_identifiers_t.fr); -- assemble |id=
-- if args_t['pages'] then
-- args_t['pages'] = nil; -- unset; alias of |pages totales=; no equivalent in cs1|2
-- end
if args_t['pages totales'] then
table.insert (cite_args_t, 'pages=<!--pages totales=' .. args_t['pages totales'] .. '--> '); -- apply as-wrtn markup
args_t['pages totales'] = nil; -- unset as no longer needed
end