Template:Preload
From CruisersWiki
(Difference between revisions)
(Created page with "{|id="mp-right" width="100%" cellpadding="2" cellspacing="1" style="vertical-align:top; background:#f5faff; border:1px solid #a3b0bf;" |- | <center>To create a new page fr...") |
(FULLPAGENAME istead of PAGENAME works on other namespaces) |
||
(8 intermediate revisions not shown) | |||
Line 1: | Line 1: | ||
- | {|id="mp-right" width="100%" cellpadding="2" cellspacing="1" style="vertical-align:top; background:#f5faff; border:1px solid #a3b0bf;" | + | <center>{{red|WARNING:}} Don't press "Create page" button on this page.</center> |
+ | |||
+ | |||
+ | <onlyinclude>{|id="mp-right" width="100%" cellpadding="2" cellspacing="1" style="vertical-align:top; background:#f5faff; border:1px solid #a3b0bf;" | ||
|- | |- | ||
| | | | ||
- | <center>To create a new page from | + | <center>To create a new page from <code>{{FULLPAGENAME}}</code> fill in a page name below and click "Create page" </center> |
Line 13: | Line 16: | ||
- | |} | + | |}</onlyinclude> |
+ | |||
+ | |||
+ | This template was designed to simplify creation of a new article page from an article's template. | ||
+ | |||
+ | The real content which is to be included needs to be put into <code><nowiki>Template:{{PAGENAME}}/Preload</nowiki></code> (for example see [[User:Vadp/Template_Port]]). | ||
+ | |||
+ | |||
+ | Typically an article's template should look like this: | ||
+ | <pre> | ||
+ | {{Preload}} | ||
+ | |||
+ | Some explanatory text | ||
+ | |||
+ | {{FULLPAGENAME}}/Preload | ||
+ | </pre> | ||
+ | |||
+ | |||
+ | To display unparsed version of the ''preload '' page use: | ||
+ | |||
+ | <nowiki>{{#tag:pre|{{msgnw:{{FULLPAGENAME}}/Preload}}}}</nowiki> | ||
+ | |||
+ | |||
+ | [[Category:Templates|Preload]] |
Latest revision as of 10:46, 30 March 2015
Template:Preload fill in a page name below and click "Create page"
|
This template was designed to simplify creation of a new article page from an article's template.
The real content which is to be included needs to be put into Template:{{PAGENAME}}/Preload
(for example see User:Vadp/Template_Port).
Typically an article's template should look like this:
{{Preload}} Some explanatory text {{FULLPAGENAME}}/Preload
To display unparsed version of the preload page use:
{{#tag:pre|{{msgnw:{{FULLPAGENAME}}/Preload}}}}