Loading...
 
Skip to main content

History: PluginInclude

Source of version: 51 (current)

Copy to clipboard
            {syntax type="markdown"  editor="wysiwyg"} # Plugin Include

Use this ((wiki plugin)) to include the contents of a Wiki page inside another page (it {TAG(tag='u')}must{TAG} be a Wiki page located in the Wiki section of your Tiki, as other types of pages won't work yet!). This is a form of [http://www.google.com/search?q=wiki+transclusion|Wiki transclusion]

## Parameters

{pluginmanager plugin="include"}

## Example

This example transcludes (or includes) portions of the page ((Tiki2)) between the strings Authentication and OpenID.

*This code:*
{CODE(colors="tiki")}
{include page="Tiki2" start="!!!# Authentication" stop="!!!!# OpenID"}
{CODE}

*Would produce on this site:*

{include page="Tiki2" start="!!!# Authentication" stop="!!!!# OpenID"}

{REMARKSBOX(type="warning" title="Partial inclusions")} *`start` and `stop` must represent the entire line, not just a portion of a line.*{REMARKSBOX}

## Limitations

You can not include a same page or a same page extract more than 5 times on one page. If you need to exceed 5 times you will have to modify the plugin and change the value of `max_inclusions` . Starting in Tiki 18.2, there is a parameter to do so.

## Related pages

{SORT()}

- ((PluginTransclude))
- ((PluginSnarf))
- ((PluginIframe))
- ((PluginIncludeTPL))

{SORT}