Difference between revisions of "Template:Pgtempl"
m |
m (Corrected TODO tag.) |
||
(22 intermediate revisions by the same user not shown) | |||
Line 5: | Line 5: | ||
Use the following code on an empty page, then save the page, to use this template: | Use the following code on an empty page, then save the page, to use this template: | ||
− | {{ subst: | + | <code><nowiki> |
+ | {{ subst:Pgtempl | initials={{subst::Templateimpl:getinitials}} | project=OE 5.0 | title=Page Title | desc=Description for SEO }} | ||
+ | </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]] | ||
+ | |||
---- | ---- | ||
− | </noinclude> | + | == Template is Below == |
− | {{todo| NotStarted ({{ | + | ---- |
+ | </noinclude><includeonly>{{todo| NotStarted ({{subst:Seotstamp}}->{{{initials}}}+)| {{subst:REVISIONUSER}} | project={{{project}}},{{{initials}}},NotStarted }} | ||
{{#seo: | {{#seo: | ||
|title={{{title}}} | |title={{{title}}} | ||
Line 20: | Line 43: | ||
|keywords= | |keywords= | ||
|description={{{desc}}} | |description={{{desc}}} | ||
− | }} | + | }}</includeonly> |
− | Put the page description text here. | + | <!-- /*********************************************************************************************************/ --> |
+ | <!-- /**************************************** Page Description Text ****************************************/ --> | ||
+ | <!-- /*********************************************************************************************************/ --> | ||
+ | <span style="background:#00FF00;color:#FF0000;font-size:300%">'''''Put the page description text here.'''''</span> | ||
__TOC__ | __TOC__ | ||
− | + | <!-- /*********************************************************************************************************/ --> | |
− | + | <!-- /***************************************** 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 12: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.