Help:Embed page

From Meta, a Wikimedia project coordination wiki
Jump to: navigation, search

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

Contents

[edit] Syntax

{{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.

[edit] Example

{{: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.

[edit] Embedded special pages

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.

[edit] Generated lists

See: Help:Generated lists

[edit] Embedded images

See: Help:Images

Personal tools
Namespaces

Variants
Actions
Navigation
Community
Beyond the Web
Print/export
Toolbox