Wiki.Page

Function Description
wiki.page(path : str) : xml
Include another wiki page.

Copy by reference. This function performs what is commonly referred to as a transclusion. One can transclude an entire page or a page's section (see next example). When the page or section that is transcluded is modified these changes are shown because this is a copy by reference.

{{wiki.page("Community/MindTouch_and_OpenGarden_Buttons")}}

Yields: 

Proudly display your link love for MindTouch Deki by displaying a site badge. Feel free to modify the designs. All we ask is that you keep the MindTouch logo intact.

 


<a href="http://www.mindtouch.com/">
<img src="http://www.mindtouch.com/@api/deki/files/819/=circlebutton_orange.gif"></a>

<a href="http://www.mindtouch.com/">
<img src="http://www.mindtouch.com/@api/deki/files/818/=circlebutton_blue.gif"></a>

<a href="http://www.mindtouch.com/">
<img src="http://www.mindtouch.com/@api/deki/files/817/=circlebutton_black.gif"></a>

<a href="http://www.mindtouch.com/">
<img src="http://www.mindtouch.com/@api/deki/files/822/=getdeki_large_orange.gif"></a>

<a href="http://www.mindtouch.com/">
<img src="http://www.mindtouch.com/@api/deki/files/821/=getdeki_large_blue.gif"></a>

<a href="http://www.mindtouch.com/">
<img src="http://www.mindtouch.com/@api/deki/files/820/=getdeki_large.gif"></a>

<a href="http://www.mindtouch.com/">
<img src="http://www.mindtouch.com/@api/deki/files/825/=getdeki_small_orange.gif"></a>

<a href="http://www.mindtouch.com/">
<img src="http://www.mindtouch.com/@api/deki/files/824/=getdeki_small_blue.gif"></a>

<a href="http://www.mindtouch.com/">
<img src="http://www.mindtouch.com/@api/deki/files/823/=getdeki_small.gif"></a>

 

 

Function Description
wiki.page(path : str, section : str) : xml Include a section from another wiki page.

This function performs what is commonly referred to as a transclusion of a page's section.

{{wiki.page("Deki_Wiki", "Why Deki Wiki?")}}

Yields: 

Deki Wiki

 

Wiki.Toc

Function Description
wiki.toc(path : str) : xml Insert table of contents from any wiki page.

This function provides a hyperlinked table of contents for any page that's passed as a parameter.

{{wiki.toc("Deki_Wiki/DekiScript")}}

Yields: 

 

Wiki.Tree

Function Description
wiki.tree(path : str) : xml Insert a list of all pages that exist below the given page.
wiki.tree(page.path) : xml
Insert a list of all pages that exist below the current page.
wiki.tree(page.path, <depth>) : xml
Insert a list of the next x pages that exist below the current page. (where <depth> is an integer)

This function provides a hyperlinked tree view of a page and it's sub-pages. 

{{wiki.tree("Deki_Wiki/DekiScript")}}

Yields: