Was this page helpful?

Page.Subpages

    Table of contents
    1. 1. Usage Restrictions
    2. 2. Result
    3. 3. Samples
    page.Subpages : map
    

    The subpages that stem from the current page.

    Usage Restrictions

    1.9.1 or later

    Result

    A map of the current page's subpages' info.

    Samples

      Output

    To get the current page's subpages:

    {{ page.subpages }} 

     

    { Sample_subpage2 : "local://8be0fa3289404f99a6b6f218cc6cbaba/deki/$page", Sample_Sub_Page : "local://8be0fa3289404f99a6b6f218cc6cbaba/deki/$page" }

     

    Was this page helpful?
    Tag page
    Viewing 2 of 2 comments: view all
    what if you need a list of subpages? I want to run dekiscript as "for each subpage", but that only works on lists..
    Posted 13:38, 25 Jul 2009
    try {{map.keyvalues(Page.subpages)}}
    Posted 04:50, 11 Aug 2009
    Viewing 2 of 2 comments: view all
    You must login to post a comment.

    Copyright © 2011 MindTouch, Inc. Powered by