!! Plugin IncludeThis ((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 Tikiwiki, as other types of pages won't work yet!). This is a form of [http://www.google.com/search?q=wiki+transclusion|Wiki transclusion]
+
! Plugin IncludeUse this ((wiki plugin)) 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 [http://www.google.com/search?q=wiki+transclusion|Wiki transclusion]
-
!!! Install__Starting in 2.0,this plugin is bundled.__
+
!! Parameters{pluginmanager plugin="include"}!! ExampleThis example transcludes (or includes) portions of the page ((Tiki2))between the strings Authentication and OpenID.
-
!!! UsageThis example transcludes (or includes) portions of the page ((Tiki2)) between the strings Authenticaion and OpenID.{CODE(caption="Use the syntax" wrap="1" ishtml="1")}{BOX()}{INCLUDE (page=>"TikiWiki 2.0" start="!!!# Authentication" stop="!!!!# OpenID")}{INCLUDE}{BOX}
Produces:{BOX()}{INCLUDE(page=>"TikiWiki 2.0", start=>"!!!# Authentication" , stop=>"!!!!# OpenID")}{INCLUDE}{BOX}-=Params=-||__Parameter__|__Type__|__Use__|__Description__page|string|mandatory|the page to includestart|string|optional|the include will begin just after the first occurrence of the string in the pagestop|string|optional|the include will end just before the first occurrence of the string in the page ||
+
''Would produce on this site:''
-
-=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 plugins and change the value of max_times.
{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=-* ((Wiki Plugins))* ((Mods Type Wikiplugins))