{**
 * plugins/citationFormats/turabian/citation.tpl
 *
 * Copyright (c) 2014-2017 Simon Fraser University
 * Copyright (c) 2003-2017 John Willinsky
 * Distributed under the GNU GPL v2. For full terms see the file docs/COPYING.
 *
 * Article reading tools -- Capture Citation
 *
 *}
{assign var=authors value=$article->getAuthors()}
{assign var=authorCount value=$authors|@count}
{foreach from=$authors item=author name=authors key=i}
	{assign var=firstName value=$author->getFirstName()}
	{$author->getLastName()|escape}, {$firstName|escape}{if $i==$authorCount-2}, {translate key="rt.context.and"} {elseif $i<$authorCount-1}, {else}.{/if}
{/foreach}

"{$article->getLocalizedTitle()|strip_unsafe_html}" <em>{$journal->getLocalizedName()|escape}</em> [{translate key="rt.captureCite.online"}], {if $issue && $issue->getVolume() && $issue->getShowVolume()}{translate key="issue.volume"} {$issue->getVolume()|escape}{/if}{if $issue && $issue->getNumber() && $issue->getShowNumber()} {translate key="issue.number"} {$issue->getNumber()|escape} {/if}({if $article->getDatePublished()}{$article->getDatePublished()|date_format:'%e %B %Y'|trim}{elseif $issue->getDatePublished()}{$issue->getDatePublished()|date_format:'%e %B %Y'|trim}{else}{$issue->getYear()|escape}{/if})
