Template:Preload
From CruisersWiki
(Difference between revisions)
(excessive <noinclude> removed) |
(FULLPAGENAME istead of PAGENAME works on other namespaces) |
||
(2 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;" | ||
|- | |- | ||
| | | | ||
Line 13: | Line 16: | ||
- | |}< | + | |}</onlyinclude> |
- | |||
This template was designed to simplify creation of a new article page from an article's template. | 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: | Typically an article's template should look like this: | ||
<pre> | <pre> | ||
{{Preload}} | {{Preload}} | ||
- | {{ | + | |
+ | Some explanatory text | ||
+ | |||
+ | {{FULLPAGENAME}}/Preload | ||
</pre> | </pre> | ||
- | |||
- | + | To display unparsed version of the ''preload '' page use: | |
+ | |||
+ | <nowiki>{{#tag:pre|{{msgnw:{{FULLPAGENAME}}/Preload}}}}</nowiki> | ||
+ | |||
- | [[Category:Templates|Preload]] | + | [[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}}}}