Was this page helpful?

Wiki.PageExists

    Table of contents
    1. 1. Usage Restrictions
    2. 2. Parameters
    3. 3. Result
    4. 4. Samples
    wiki.PageExists(path : str) : bool
    

    Check if the given wiki page exists.

    Usage Restrictions

    1.9.1 or later

    Parameters

    Name Type Description
    path str Path of a given wiki page.

         

    Result

    True, if the given page exists; else, false.

         

    Samples

         Output

    To determine if a wiki page exists:

    {{ wiki.pageexists("Community/Testimonials") }}  

        

    true

    To determine if the current page has a Test subpage:

    {{ wiki.pageexists(page.path.."/Test") }}  

        

    true

        

    Was this page helpful?
    Tag page
    You must login to post a comment.

    Copyright © 2011 MindTouch, Inc. Powered by