Difference between revisions of "Template:Pgtempl"

From wiki.emacinc.com
Jump to: navigation, search
m (Working version of the example to copy and paste which autofills in initials)
m (Added example.)
Line 12: Line 12:
  
 
This will cause the above tag to be replaced with the contents of this template.  You may then change any part of it, but any changes to the template itself will not propagate to the page you created with this template.
 
This will cause the above tag to be replaced with the contents of this template.  You may then change any part of it, but any changes to the template itself will not propagate to the page you created with this template.
 +
 +
=== Examples ===
 +
 +
For example, to create an OE 5.0 page entitled, "Summer Vacation," with the description, "What I Did Over My Summer Vacation," you would use this code:
 +
 +
<code><nowiki>
 +
{{ subst:Pgtempl | initials={{subst::Templateimpl:getinitials}} | project=OE 5.0 | title=Summer Vacation | desc=What I Did Over My Summer Vacation }}
 +
</nowiki></code>
  
 
----
 
----

Revision as of 09:54, 6 October 2015


Using this Template

Use the following code on an empty page, then save the page, to use this template:

{{ subst:Pgtempl | initials={{subst::Templateimpl:getinitials}} | project=OE 5.0 | title=Page Title | desc=Description for SEO }}



NOTE
Make sure to set the page title and the description before you hit save. Otherwise, you will have to manually edit these throughout the page later.


This will cause the above tag to be replaced with the contents of this template. You may then change any part of it, but any changes to the template itself will not propagate to the page you created with this template.

Examples

For example, to create an OE 5.0 page entitled, "Summer Vacation," with the description, "What I Did Over My Summer Vacation," you would use this code:

{{ subst:Pgtempl | initials={{subst::Templateimpl:getinitials}} | project=OE 5.0 | title=Summer Vacation | desc=What I Did Over My Summer Vacation }}


Dynamic Templates Included by this Template

For the dynamic templates included by this template, see:


Template is Below



Put the page description text here.

Background

General Information

{{{title}}}

Examples

Conclusion

Further Information

Where to Go Next
Pages with Related Content