User:trevorh

  • Revision slug: User:trevorh
  • Revision title: User:trevorh
  • Revision id: 102961
  • Created:
  • Creator: trevorh
  • Is current revision? No
  • Comment Reverted to earlier version; 80 words added, 10 words removed

Revision Content

<ul>;
foreach (var p in page.subpages) {
  <li>web.link(p.uri, p.title)</>;
}
</ul>;
<p>page.uri</p>
<ul>;
foreach (var p in wiki.pages) {
  var plist = list.collect(p.parents, "fronturi");
  if (list.contains(plist, page.uri)) {
    <li>web.link(p.uri, p.title)</>;
  }
}
</ul>;
<p>page.subpages</p>

Revision Source

<pre class="script">&lt;ul&gt;;
foreach (var p in page.subpages) {
  &lt;li&gt;web.link(p.uri, p.title)&lt;/&gt;;
}
&lt;/ul&gt;;
&lt;p&gt;page.uri&lt;/p&gt;
&lt;ul&gt;;
foreach (var p in wiki.pages) {
  var plist = list.collect(p.parents, "fronturi");
  if (list.contains(plist, page.uri)) {
    &lt;li&gt;web.link(p.uri, p.title)&lt;/&gt;;
  }
}
&lt;/ul&gt;;
&lt;p&gt;page.subpages&lt;/p&gt;
</pre>
Revert to this revision