Difference between revisions of "Template:Pgtempl"
m (Added dynamic templates.) |
m (Corrected TODO tag.) |
||
(11 intermediate revisions by the same user not shown) | |||
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. | ||
− | + | === 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> | ||
+ | |||
+ | ---- | ||
+ | == 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 == | ||
---- | ---- | ||
− | </noinclude><includeonly>{{todo| NotStarted ({{subst:Seotstamp}}->{{{initials}}}+)| {{subst:REVISIONUSER}} | project={{{project}}},{{{initials}}} }} | + | </noinclude><includeonly>{{todo| NotStarted ({{subst:Seotstamp}}->{{{initials}}}+)| {{subst:REVISIONUSER}} | project={{{project}}},{{{initials}}},NotStarted }} |
{{#seo: | {{#seo: | ||
|title={{{title}}} | |title={{{title}}} | ||
Line 23: | Line 45: | ||
}}</includeonly> | }}</includeonly> | ||
+ | <!-- /*********************************************************************************************************/ --> | ||
+ | <!-- /**************************************** Page Description Text ****************************************/ --> | ||
+ | <!-- /*********************************************************************************************************/ --> | ||
<span style="background:#00FF00;color:#FF0000;font-size:300%">'''''Put the page description text here.'''''</span> | <span style="background:#00FF00;color:#FF0000;font-size:300%">'''''Put the page description text here.'''''</span> | ||
__TOC__ | __TOC__ | ||
− | {{:Templateimpl:bg}} | + | <!-- /*********************************************************************************************************/ --> |
− | {{ | + | <!-- /***************************************** Background Information ****************************************/ --> |
− | + | <!-- /*********************************************************************************************************/ --> | |
− | + | {{:Templateimpl:bg | initials={{{initials}}} | title={{{title}}} | desc={{{desc}}} | project={{{project}}} }} | |
+ | <!-- /*********************************************************************************************************/ --> | ||
+ | <!-- /***************************************** General Information *****************************************/ --> | ||
+ | <!-- /*********************************************************************************************************/ --> | ||
+ | {{:Templateimpl:geninfo | initials={{{initials}}} | title={{{title}}} | desc={{{desc}}} | project={{{project}}} }} | ||
− | == | + | <!-- /*********************************************************************************************************/ --> |
+ | <!-- /***************************************** Using/Working With ******************************************/ --> | ||
+ | <!-- /*********************************************************************************************************/ --> | ||
+ | {{:Templateimpl:using | initials={{{initials}}} | title={{{title}}} | desc={{{desc}}} | project={{{project}}} }} | ||
+ | <!-- /*********************************************************************************************************/ --> | ||
+ | <!-- /***************************************** Examples *****************************************/ --> | ||
+ | <!-- /*********************************************************************************************************/ --> | ||
+ | {{:Templateimpl:examples | initials={{{initials}}} | title={{{title}}} | desc={{{desc}}} | project={{{project}}} }} | ||
− | == | + | <!-- /*********************************************************************************************************/ --> |
+ | <!-- /****************************************** Conclusion ******************************************/ --> | ||
+ | <!-- /*********************************************************************************************************/ --> | ||
+ | {{:Templateimpl:conclusion | initials={{{initials}}} | title={{{title}}} | desc={{{desc}}} | project={{{project}}} }} | ||
− | ==== | + | <!-- /*********************************************************************************************************/ --> |
+ | <!-- /****************************************** More Information *****************************************/ --> | ||
+ | <!-- /*********************************************************************************************************/ --> | ||
+ | {{:Templateimpl:moreinfo | initials={{{initials}}} | title={{{title}}} | desc={{{desc}}} | project={{{project}}} }} | ||
+ | * | ||
− | ==== | + | {{:Templateimpl:whatnext | initials={{{initials}}} | title={{{title}}} | desc={{{desc}}} | project={{{project}}} }} |
+ | * |
Latest revision as of 13:18, 4 November 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:
- Templateimpl:bg
- Templateimpl:geninfo
- Templateimpl:using
- Templateimpl:examples
- Templateimpl:conclusion
- Templateimpl:moreinfo
- Templateimpl:whatnext
Template is Below
Put the page description text here.