/* This template inserts a bulleted list of clickable links to subpages of the current page that have the specified tag. */

foreach (var p in wiki.gettag($0).pages) {
    var plist = list.collect(p.parents, "fronturi");

    if (list.contains(plist, page.uri)) {
        %><li>web.link(p.uri, p.title)</li><%

Search for pages that use Template:taggedsubpages to see example use cases and how many pages use this macro.

Document Tags and Contributors

Contributors to this page: Sheppy, ethertank
Last updated by: ethertank,