Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.
Revision as of 21:48, 6 August 2025 by imported>MarkusRost
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Template documentation (for the above template, sometimes hidden or invisible) [view] [edit] [history] [refresh]

Template:Documentation header The LoadPage template creates a placeholder for unloaded content, and a link to load the content. Use the LoadPage template to split articles into multiple pieces to be loaded into a primary article as needed.

Usage

{{LoadPage|<page>|<title>|<element>}}

The <page> parameter specifies the page title (including namespace) of the content to be loaded when requested (for example, Namespace:Article/subpage).

The optional <title> parameter specifies the text to be displayed as placeholder (if omitted or empty, defaults to <page>).

The optional <element> parameter specifies the HTML element name to be applied to the placeholder text (if omitted, defaults to h2).

The optional Template:P parameter specifies the additional text to be input without affecting the Table of Contents.

The optional Template:P parameter specifies the additional arguments to be used when transclude the page, in the format of {{!}}name1{{=}}value1{{!}}name2{{=}}value2

The optional Template:P parameter specifies that the page is already transcluded, and should be shown directly (minus self-links). This is intended for performance, as the transclusion is cached, however features like <noinclude> on the page won't work, and features like {{PAGENAME}} will use the original page's name, rather than the current page's name. Only self-links are manually resolved (however existing self-links will also remain).

See also

Template:LoadBox
Alternative to LoadPage; loads the content into a box, instead of needing a section header.
Category:Ajax loaded pages
A list of all pages loaded by LoadPage

cs:Šablona:LoadPage de:Vorlage:Lade Inhalt es:Plantilla:LoadPage fr:Modèle:LoadPage it:Template:LoadPage ja:テンプレート:LoadPage ko:틀:LoadPage lzh:模板:LoadPage nl:Sjabloon:LoadPage pl:Szablon:Załaduj pt:Predefinição:Carregar página ru:Шаблон:Загрузка th:แม่แบบ:LoadPage uk:Шаблон:Завантаження

zh:Template:LoadPage
The above text is transcluded from Template:MC/LoadPage/doc; you can change it or view its history.
If you're done making changes, please refresh the text.
Please add categories and interwikis to Template:MC/LoadPage/doc. (View all subpages of this page.)