mozilla

Revision 478907 of Template:ListSubpages

  • Revision slug: Template:ListSubpages
  • Revision title: Template:ListSubpages
  • Revision id: 478907
  • তৈরি হয়েছেঃ
  • তৈরিকারীঃ nasirkhan
  • Is current revision? হ্যাঁ
  • মন্তব্য

Revision Content

<% // Inserts a tree of subpages of the specified page. // // Parameters: // $0 - The path of the page whose subpages should be listed // $1 - The depth of the tree to build; if not specified, only one level is listed // $2 - If specified and non-zero, the list is sorted in reverse // $3 - If specified and non-zero, the list is output as

  1. instead of the default
    • var path = $0 || env.path; var depth = $1 || 1; var reverse = $2 || 0; var ordered = $3 || 0; %> <%- wiki.tree(path, depth, 0, reverse, ordered) %>

Revision Source

<p>&lt;% // Inserts a tree of subpages of the specified page. // // Parameters: // $0 - The path of the page whose subpages should be listed // $1 - The depth of the tree to build; if not specified, only one level is listed // $2 - If specified and non-zero, the list is sorted in reverse // $3 - If specified and non-zero, the list is output as</p>
<ol>
  <li>instead of the default
    <ul>
      <li>var path = $0 || env.path; var depth = $1 || 1; var reverse = $2 || 0; var ordered = $3 || 0; %&gt; &lt;%- wiki.tree(path, depth, 0, reverse, ordered) %&gt;</li>
    </ul>
  </li>
</ol>
আগের রিভিসনে ফিরে যান