added medialink provider.template method