Jump to: navigation, search

Template:LoadPage: Difference between revisions

(Created page with "<includeonly><div class="load-page" data-page="{{{1}}}" style="position:relative"> <{{{3|h2}}}>{{#if: {{{2|}}} | {{{2}}} | {{{1}}} }}</{{{3|h2}}}> <span class="plainlinks" sty...")
 
m (1 revision)
 
(No difference)

Latest revision as of 15:38, 14 February 2014

Template-info.png Documentation

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

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


Cookies help us deliver our services. By using our services, you agree to our use of cookies.