Бюрократы, Администраторы интерфейса, Администраторы (Semantic MediaWiki), Кураторы (Semantic MediaWiki), Editors (Semantic MediaWiki), Скрывающие, Администраторы, trusted
69 383
правки
м (+автор) |
м (+имя автора с инициалами) |
||
Строка 112: | Строка 112: | ||
-- | origin = Origin | -- | origin = Origin | ||
-- | wiki_page = Wiki page title | -- | wiki_page = Wiki page title | ||
-- | author = Author of a book or an article | -- | author = Author of a book or an article; applied to literature | ||
-- | published = Book or article published | -- | author_short = Name with initials | ||
-- | published = Book or article published; applied to literature | |||
-- | userparam = text@view@type@style | -- | userparam = text@view@type@style | ||
-- }} | -- }} | ||
Строка 215: | Строка 216: | ||
-- set author if we deal with literature | -- set author if we deal with literature | ||
if not isempty(frame.args['author']) then | if not isempty(frame.args['author_short']) then | ||
term_to_show = frame.args['author_short'] ..', «'.. term_to_show ..'»' | |||
elseif not isempty(frame.args['author']) then | |||
term_to_show = frame.args['author'] ..', «'.. term_to_show ..'»' | term_to_show = frame.args['author'] ..', «'.. term_to_show ..'»' | ||
end | end |