Adding content from another page

Note

Here you'll learn how to work with the new Wiki editor. For more information about markup in the old editor, see Markup guide (old editor).

Use this block to add content from another Wiki page to your page.

Note

If you add a snippet from another page to your text, users without access to that source page won't be able to view it. Learn more about access settings.

  1. On the toolbar, click Include.

    You can also use the quick access menu: type / and select a command from the list.

  2. Specify the URL of the page that you want to embed in the following format: /<cluster>/<subcluster>/<page_name>. For example: /users/username/my-page.

  3. If required, disable the option to display an error message about pages that the user can't access.

  4. In the From / To fields, specify the names of Wiki page anchors that limit the content to be added. By default, the entire page is added. The anchor name is specified without a #.

  5. Click Save.

To embed the content of another Wiki page on your page, add code in the following format:

{% include page="/<раздел>/<подраздел>/<имя_страницы>" warning="false" from="a1" to="a2"%}

For example: {% include page="/<cluster>/<subcluster>/<page_name>" warning="false" from="a1" to="a2"%}.

Markup parameters:

  • page: Relative link to the page.
  • warning: Option to display an error message about pages that the user can't access.
  • from / to: Names of Wiki page anchors that limit the content to be added. By default, the entire page is added. The anchor name is specified without a #.

See also