Template:subpagesSummary

  • Revision slug: Template:subpagesSummary
  • Revision title: Template:subpagesSummary
  • Revision id: 68883
  • Created:
  • Creator: IgorKitsa
  • Is current revision? No
  • Comment page created, 95 words added

Revision Content

Revision Source

<pre style="font-size: 16px;" class="script">
<table class="standard-table">
  <thead>
    <tr><th scope="col">$0</th><th scope="col">"Description"</th></tr>
  </thead>
//var s = 0;
foreach (var i in list.orderBy(map.keyValues(page.subpages), "key"))
  <tr><td><a href=(i.value.uri) rel="internal" style="white-space: nowrap;">
    if ($1)
      switch (typeof $1){
        case "bool":
          i.value.title;
          break;
        case "list":
          var s = i.value.title;
          if (!list.contains($1, s))
            <code>s</code>;
          else
            s;
          break;
      }
    else
      <code>i.value.title</code>;
  </a></td>
  <td>xml.text(wiki.page(i.value.path, "Summary"), "//p")</td></tr>;
</table>;
%>
Revert to this revision