Fullscreen
[Show/Hide Right Column]

Plugin Include

This Wiki Plugin can be used to include the contents of a Wiki page inside another page (it must 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 Wiki transclusion



Related: PluginTransclude

Install

Starting in 2.0, this plugin is bundled and doesn't need to be installed separately.

Usage

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

Use the syntax
{BOX()}
{include page="Tiki2" start="!!!# Authentication" stop="!!!!# OpenID"}
{BOX}


Produces:
Authentication has received a major enhancement. Some new options
  • Use login as email
  • Crypt passwords method
  • User trackers at registration


(NOTE: start and stop must be the entire line, not a portion of a line.)

Parameters

Parameter Type Use Description
page string mandatory the page to include
start string optional the include will begin just after the first occurrence of the string in the page
stop string optional the include will end just before the first occurrence of the string in the page


Security

You can not include a same page or a same page extract more than 5 times. (In tw <3.0, you can not include the same page more than 5 times even if it is a different extract). If you need to exceed 5 times you will have to modify the plugin and change the value of max_times.


Contributors to this page: lindon5651 points  , WizarDave188 points  , Louis-Philippe Huberdeau1043 points  , carsten.aevermann1075 points  , Bernard TREMBLAY442 points  , Marc Laporte8141 points  , AdamChan9 points  , campbe13658 points  , KaiiaK266 points  , Scot Wilcoxon683 points  , sylvie7154 points  , Xavi64467 points  , Gary Cunningham-Lee1513 points  , mlpvolt4266 points  and system .
Page last modified on Monday 09 January, 2012 02:42:59 UTC by lindon5651 points .
The content on this page is licensed under the terms of the Creative Commons Attribution-ShareAlike License.

Site Language

Reference Guide

Keywords

These keywords serve as "hubs" for navigation within the Tiki documentation. They correspond to development keywords (bug reports and feature requests):



Tiki Newsletter

Delivered fresh to your email inbox!
Newsletter subscribe icon
Don't miss major announcements and other news!
Contribute to Tiki