{if="empty($batch_mode)"} {$pageName="editlink"} {include="includes"} {include="page.header"} {else} {ignore}Lil hack: when included in a loop in batch mode, `$value` is assigned by RainTPL with template vars.{/ignore} {function="extract($value) ? '' : ''"} {/if} {$asyncLoadClass=$link_is_new && $async_metadata && empty($link.title) ? 'loading-wrapper' : ''} {if="!isset($index)"} {$index=""} {/if}
{if="isset($link.id)"} {/if} {if="$http_referer"} {/if}
{if="!$link_is_new"}Edit a link{else}Add a new link{/if} {if="!$link_is_new"} - {'created on'|t} {$link.created|format_date}{/if}




{if="isset($edit_link_plugin)"} {loop="$edit_link_plugin"}
{$value}
{/loop} {/if}
{if="$formatter==='markdown'"}
{'Description will be rendered with'|t} {'Markdown syntax'|t} .
{/if}
{if="empty($batch_mode)"} {include="page.footer"} {/if}