Was this page helpful?

Wiki.PageCount

    Table of contents
    1. 1. Usage Restrictions
    2. 2. Result
    3. 3. Samples
    wiki.PageCount() : num 
    

    Insert the total number of pages that exist.

    Usage Restrictions

    1.8.1 or later

    Result

    Returns the number of pages that exist

     

    Samples

      Output

    To determine the number of pages:

    {{wiki.pagecount() }} 

     

    86321
    Was this page helpful?
    Tag page
    Viewing 2 of 2 comments: view all
    Would be nice if one could throw in a path argument and count subpages from there
    Posted 06:21, 5 Aug 2011
    Best I can come up with now:
    {{#(map.keyvalues(Page.subpages))}}
    Posted 06:25, 5 Aug 2011
    Viewing 2 of 2 comments: view all
    You must login to post a comment.

    Copyright © 2011 MindTouch, Inc. Powered by