Template:Preload

From CruisersWiki

(Difference between revisions)
Jump to: navigation, search
m (Category)
(FULLPAGENAME istead of PAGENAME works on other namespaces)
 
(3 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;"
|-
|-
|&nbsp;
|&nbsp;
Line 13: Line 16:
-
|}<noinclude>
+
|}</onlyinclude>
-
{{red|WARNING}}: Don't press "Create page" button on this page.
 
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}}
-
{{PAGENAME}}/Preload
+
 
 +
Some explanatory text
 +
 
 +
{{FULLPAGENAME}}/Preload
</pre>
</pre>
-
</noinclude>
 
-
Then 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]].
+
To display unparsed version of the ''preload '' page use:
 +
 
 +
<nowiki>{{#tag:pre|{{msgnw:{{FULLPAGENAME}}/Preload}}}}</nowiki>
 +
 
-
<noinclude>[[Category:Templates|Preload]]</noinclude>
+
[[Category:Templates|Preload]]

Latest revision as of 10:46, 30 March 2015

WARNING: Don't press "Create page" button on this page.


 
To create a new page from 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}}}}
Personal tools
advertisement
Friends of Cruisers Wiki