Module:Citation/CS1: Difference between revisions
cut "args.contribution" to see if "Script error" stops in Lua crapnology
m>Wikid77 (started hacking out changes until "Script error" stops.) |
m>Wikid77 (cut "args.contribution" to see if "Script error" stops in Lua crapnology) |
||
Line 276: | Line 276: | ||
local TitleNote = args.department | local TitleNote = args.department | ||
local TitleLink = args.titlelink or args.episodelink | local TitleLink = args.titlelink or args.episodelink | ||
local Chapter = args.chapter | local Chapter = args.chapter or args.article or args.entry | ||
local ChapterLink = args.chapterlink | local ChapterLink = args.chapterlink | ||
local TransChapter = args["trans-chapter"] or args.trans_chapter | local TransChapter = args["trans-chapter"] or args.trans_chapter | ||
Line 456: | Line 456: | ||
end | end | ||
if ( Editors == nil ) then | if ( Editors == nil ) then | ||
local EditorNameSep = args["editor-name-separator"] or args["name-separator"] or ", " | local EditorNameSep = args["editor-name-separator"] or args["name-separator"] or "," | ||
local EditorSep = args["editor-separator"] or args["separator"] or "; " | EditorNameSep = EditorNameSep .. " " | ||
local EditorSep = args["editor-separator"] or args["separator"] or ";" | |||
EditorSep = EditorSep .. " " | |||
local EditorFormat = args["editor-format"] or args.editorformat | local EditorFormat = args["editor-format"] or args.editorformat | ||
local EditorMaximum = tonumber(args["display-editors"] or args.displayeditors) or 3 | local EditorMaximum = tonumber(args["display-editors"] or args.displayeditors) or 3 |