(documentation) |
(added doc formatting) |
||
Line 1: | Line 1: | ||
+ | {{doc/start}} |
||
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. |
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. |
||
Line 10: | Line 11: | ||
The optional ''<element>'' parameter specifies the [[Wikipedia:HTML element|HTML element]] name to be applied to the placeholder text (if omitted, defaults to <code>h2</code>). |
The optional ''<element>'' parameter specifies the [[Wikipedia:HTML element|HTML element]] name to be applied to the placeholder text (if omitted, defaults to <code>h2</code>). |
||
+ | {{doc/end}} |
Revision as of 06:02, 18 April 2013
Template:Doc/start 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
).
Template:Doc/end