0

Help:Embed page

This page describes the steps necessary to embed a page within another page. See also: Help:Template.

SyntaxEdit

{{Namespace:Pagename}}

If you do not provide a namespace, the Template namespace will be used. For the pages in the main namespace, add a colon before the page name.

↑Jump back a section

ExampleEdit

{{:Sample Page}} produces the following, which displays the contents of Sample Page inside the box:

This test page is a sample page, used as an example in Help:Embed page.


The box was created, (as with any wikitext transcluded or not) by indenting {{:Sample Page}} here, by one space on a new line. Here is the same transclusion, with the newline, but without the indention: This test page is a sample page, used as an example in Help:Embed page.


You can verify these things by looking directly at the Sample Page and by editing this section.

↑Jump back a section

Embedded special pagesEdit

The default install of MediaWiki allows you to embed only selected special pages, such as (depending on version):

See also Help:Special pages#Links to special pages.

↑Jump back a section
Last modified on 15 March 2013, at 03:11