Template:Embed text

  • Revision slug: Template:Embed_text
  • Revision title: Template:Embed text
  • Revision id: 80052
  • Created:
  • Creator: Sheppy
  • Is current revision? No
  • Comment no wording changes

Revision Content

{{ var fileList = map.select(page.files, "string.compare($.value.name, {{$0}}, true)"); if (#fileList > 0) { var textFile = map.values(fileList)[0]; web.text(textFile.uri); } }}
%>

Revision Source

<pre>{{ var fileList = map.select(page.files, "string.compare($.value.name, {{$0}}, true)"); if (#fileList > 0) { var textFile = map.values(fileList)[0]; web.text(textFile.uri); } }}
%>
Revert to this revision