Modul:Cite tweet: Unterschied zwischen den Versionen
K (Protected "Module:Cite tweet": High-risk template or module (more info) ([Edit=Require autoconfirmed or confirmed access] (indefinite))) |
(whitespace error) |
||
Zeile 35: | Zeile 35: | ||
cite_args.author = (args.last1 or args.last) .. | cite_args.author = (args.last1 or args.last) .. | ||
(_if(args.first1 or args.first) and (', ' .. (args.first1 or args.first)) or '') .. | (_if(args.first1 or args.first) and (', ' .. (args.first1 or args.first)) or '') .. | ||
'[@' .. (args.user or '') .. ']' | ' [@' .. (args.user or '') .. ']' | ||
elseif _if(args.author1 or args.author) then | elseif _if(args.author1 or args.author) then | ||
cite_args.author = (args.author1 or args.author) .. '[@' .. (args.user or '') .. ']' | cite_args.author = (args.author1 or args.author) .. ' [@' .. (args.user or '') .. ']' | ||
elseif _if(args['author-link']) then | elseif _if(args['author-link']) then | ||
cite_args.author = args['author-link'] .. '[@' .. (args.user or '') .. ']' | cite_args.author = args['author-link'] .. ' [@' .. (args.user or '') .. ']' | ||
else | else | ||
cite_args.author = '@' .. (args.user or '') | cite_args.author = '@' .. (args.user or '') |