View source for Action: Include

Also available in ((/Doc/Deutsch/Aktionen/Include Deutsch))

Inserts the content of another page directly into a page as text.

{{toc}}

===Syntax===

Call: ##""{{include page="SeitenName" [nomark=1] [notoc=1] [nowarning=1] [first_anchor="..." last_anchor="..."]}}""##

  * ##nomark=1## the page to be included is not highlighted in color on the current page. 
  * ##nomark=2## the page to be included is not highlighted in color on the current page, and it is not possible for users to edit it if they do not have the rights (ACLs) to do so; instead, the owner and the rights of the page are displayed. 
  * ##notoc=1## the titles of the inserted pages are not included in the ((/Doc/English/Actions/TableOfContents Table of Contents)).
  * ##nowarning=1## the user is not notified if he cannot view the inserted page
  * ##first_anchor## and ##last_anchor## make it possible to display only a certain part of the text on the inserted page. To do this, it is necessary to mark the desired area of the page in the inserted page with the following anchors: %%{{anchor name="plan_start"}} desired text section {{anchor name="plan_end"}}%% and then specify these anchor names with the parameters first_anchor and last_anchor in the ##include## action. 



===Examples===
====Insert a subpage====
##""{{include page="!/Subpage"}}""##

{{include page="!/Subpage"}}

====Inserting a section of a page====
Inserting a section of a page with the help of anchors.

##""{{include page="!/Subpage" notoc=1 first_anchor="start_2" last_anchor="end_2"}}""##
{{include page="!/Subpage" notoc=1 first_anchor="start_2" last_anchor="end_2"}}

##""{{include page="!/Subpage" notoc=1 first_anchor="start_1" last_anchor="end_2"}}""##
{{include page="!/Subpage" notoc=1 first_anchor="start_1" last_anchor="end_2"}}

Example:
((/Doc/Deutsch/Anwendungsbereiche/Projektverwaltung Projektverwaltung))