Board Thread:Support Requests - Getting Technical/@comment-2141771-20141201100355/@comment-452-20141201102251

It might be best for you to read some of the help/tutorial pages about templates.

Here's one way:

Template:link [ view on youtube] Usage:

Part 2 sounds like a job for DPL:

allowcachedresults=true dplcache=linkcache uses=Template:link include={link}:1 format=,\n*%PAGE% [, view on YouTube] noresultsheader=\n edit: That won't work well with multiple template uses on one page, oops. It is possible to use a surrogate template to get the format you described, but using a table would be a little easier: allowcachedresults=true dplcache=linkcache2 uses=Template:link include={link}:1 table     = class="wikitable sortable popout",Page,Youtube tablerow  = [%% view on YouTube] noresultsheader=\n If using a table isn't sufficient, let me know.