Difference between revisions of "Template:Pgtempl"

From wiki.emacinc.com
Jump to: navigation, search
m (Improving appearance.)
m (Corrected TODO tag.)
 
(15 intermediate revisions by the same user not shown)
Line 6: Line 6:
  
 
<code><nowiki>
 
<code><nowiki>
  {{ subst:Pgtempl | initials=md| name={{subst:REVISIONUSER}} | project=oe 5 | title=New Page | desc=Description for SEO }}
+
  {{ 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.
  
'''''In the future, this part will be true (not done yet):''''' This template does include other templates, though, and the templates it pulls in can be changed with their changes propagated to any page that was created using 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}}}+)| {{{name}}} | 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>
  
'''''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 ==
+
<!-- /*********************************************************************************************************/ -->
 
+
<!-- /***************************************** Background Information ****************************************/ -->
 
+
<!-- /*********************************************************************************************************/ -->
== General Information ==
+
{{:Templateimpl:bg | initials={{{initials}}} | title={{{title}}} | desc={{{desc}}} | project={{{project}}} }}
 
 
 
 
== Using/Working with <includeonly>{{{title}}}</includeonly> ==
 
 
 
 
 
== Examples ==
 
  
 +
<!-- /*********************************************************************************************************/ -->
 +
<!-- /*****************************************  General Information  *****************************************/ -->
 +
<!-- /*********************************************************************************************************/ -->
 +
{{:Templateimpl:geninfo | initials={{{initials}}} | title={{{title}}} | desc={{{desc}}} | project={{{project}}} }}
  
== Conclusion ==
+
<!-- /*********************************************************************************************************/ -->
 +
<!-- /*****************************************  Using/Working With  ******************************************/ -->
 +
<!-- /*********************************************************************************************************/ -->
 +
{{:Templateimpl:using | initials={{{initials}}} | title={{{title}}} | desc={{{desc}}} | project={{{project}}} }}
  
 +
<!-- /*********************************************************************************************************/ -->
 +
<!-- /*****************************************      Examples        *****************************************/ -->
 +
<!-- /*********************************************************************************************************/ -->
 +
{{:Templateimpl:examples | initials={{{initials}}} | title={{{title}}} | desc={{{desc}}} | project={{{project}}} }}
  
== Further Information ==
+
<!-- /*********************************************************************************************************/ -->
 +
<!-- /******************************************    Conclusion      ******************************************/ -->
 +
<!-- /*********************************************************************************************************/ -->
 +
{{:Templateimpl:conclusion | initials={{{initials}}} | title={{{title}}} | desc={{{desc}}} | project={{{project}}} }}
  
===== Recommended Pages to View Next =====
+
<!-- /*********************************************************************************************************/ -->
 +
<!-- /******************************************  More Information  *****************************************/ -->
 +
<!-- /*********************************************************************************************************/ -->
 +
{{:Templateimpl:moreinfo | initials={{{initials}}} | title={{{title}}} | desc={{{desc}}} | project={{{project}}} }}
 +
*
  
===== Pages with Related Content =====
+
{{: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:


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