Difference between revisions of "Template:Pgtempl"
m (Fixed bug.) |
m (Working version of the example to copy and paste which autofills in initials) |
||
Line 6: | Line 6: | ||
<code><nowiki> | <code><nowiki> | ||
− | {{ subst:Pgtempl | initials= | + | {{ subst:Pgtempl | initials={{subst::Templateimpl:getinitials}} | project=OE 5.0 | title=Page Title | desc=Description for SEO }} |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
</nowiki></code> | </nowiki></code> | ||
+ | {{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. | 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. |
Revision as of 13:08, 19 November 2014
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.
Dynamic Templates Included by this Template
For the dynamic templates included by this template, see:
- Templateimpl:bg
- Templateimpl:geninfo
- Templateimpl:using
- Templateimpl:examples
- Templateimpl:conclusion
- Templateimpl:moreinfo
- Templateimpl:whatnext
Template is Below
Put the page description text here.