Difference between revisions of "Template:Pgtempl"

From wiki.emacinc.com
Jump to: navigation, search
m (testing)
m (Undo revision 4044 by Mdean (talk)Fix subst usage)
Line 1: Line 1:
{{todo| NotStarted (11.19.2014-20:33->{{subst:Templateimpl:getinitials}}+)| Mdean | project=OE 5,{{subst:Templateimpl:getinitials}} }}
+
<noinclude>
 +
__NOINDEX__
 +
== Using this Template ==
 +
 
 +
Use the following code on an empty page, then save the page, to use this template:
 +
 
 +
<code><nowiki>
 +
{{ subst:Pgtempl | initials=MD | project=OE 5.0 | title=Page Title | desc=Description for SEO }}
 +
</nowiki></code>
 +
 
 +
 
 +
 
 +
I am {{REVISIONUSER}}
 +
 
 +
<code><nowiki>
 +
{{ subst:Pgtempl | initials=</nowiki>{{#ifeq:{{REVISIONUSER}}|Mdean|MD|{{#ifeq:{{REVISIONUSER}}|Mwelling|MW|{{#ifeq:{{REVISIONUSER}}|Kyoungmeyer|KY|{{#ifeq:{{REVISIONUSER}}|Bserrano|BS|{{#ifeq:{{REVISIONUSER}}|Mgloff|MG|ME}}}}}}}}}}<nowiki> | project=OE 5 | title=Page Title | desc=Description for SEO }}
 +
</nowiki></code>
 +
 
 +
 
 +
 
 +
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 ==
 +
----
 +
</noinclude><includeonly>{{todo| NotStarted ({{subst:Seotstamp}}->{{{initials}}}+)| {{subst:REVISIONUSER}} | project={{{project}}},{{{initials}}} }}
 
{{#seo:
 
{{#seo:
|title=Page Title
+
|title={{{title}}}
 
|titlemode=append
 
|titlemode=append
 
|keywords=
 
|keywords=
|description=Description for SEO
+
|description={{{desc}}}
}}
+
}}</includeonly>
  
 
<!-- /*********************************************************************************************************/ -->
 
<!-- /*********************************************************************************************************/ -->
Line 17: Line 55:
 
<!-- /***************************************** Background Information ****************************************/ -->
 
<!-- /***************************************** Background Information ****************************************/ -->
 
<!-- /*********************************************************************************************************/ -->
 
<!-- /*********************************************************************************************************/ -->
{{:Templateimpl:bg | initials={{subst:Templateimpl:getinitials}} | title=Page Title | desc=Description for SEO | project=OE 5 }}
+
{{:Templateimpl:bg | initials={{{initials}}} | title={{{title}}} | desc={{{desc}}} | project={{{project}}} }}
  
 
<!-- /*********************************************************************************************************/ -->
 
<!-- /*********************************************************************************************************/ -->
 
<!-- /*****************************************  General Information  *****************************************/ -->
 
<!-- /*****************************************  General Information  *****************************************/ -->
 
<!-- /*********************************************************************************************************/ -->
 
<!-- /*********************************************************************************************************/ -->
{{:Templateimpl:geninfo | initials={{subst:Templateimpl:getinitials}} | title=Page Title | desc=Description for SEO | project=OE 5 }}
+
{{:Templateimpl:geninfo | initials={{{initials}}} | title={{{title}}} | desc={{{desc}}} | project={{{project}}} }}
  
 
<!-- /*********************************************************************************************************/ -->
 
<!-- /*********************************************************************************************************/ -->
 
<!-- /*****************************************  Using/Working With  ******************************************/ -->
 
<!-- /*****************************************  Using/Working With  ******************************************/ -->
 
<!-- /*********************************************************************************************************/ -->
 
<!-- /*********************************************************************************************************/ -->
{{:Templateimpl:using | initials={{subst:Templateimpl:getinitials}} | title=Page Title | desc=Description for SEO | project=OE 5 }}
+
{{:Templateimpl:using | initials={{{initials}}} | title={{{title}}} | desc={{{desc}}} | project={{{project}}} }}
  
 
<!-- /*********************************************************************************************************/ -->
 
<!-- /*********************************************************************************************************/ -->
 
<!-- /*****************************************      Examples        *****************************************/ -->
 
<!-- /*****************************************      Examples        *****************************************/ -->
 
<!-- /*********************************************************************************************************/ -->
 
<!-- /*********************************************************************************************************/ -->
{{:Templateimpl:examples | initials={{subst:Templateimpl:getinitials}} | title=Page Title | desc=Description for SEO | project=OE 5 }}
+
{{:Templateimpl:examples | initials={{{initials}}} | title={{{title}}} | desc={{{desc}}} | project={{{project}}} }}
  
 
<!-- /*********************************************************************************************************/ -->
 
<!-- /*********************************************************************************************************/ -->
 
<!-- /******************************************    Conclusion      ******************************************/ -->
 
<!-- /******************************************    Conclusion      ******************************************/ -->
 
<!-- /*********************************************************************************************************/ -->
 
<!-- /*********************************************************************************************************/ -->
{{:Templateimpl:conclusion | initials={{subst:Templateimpl:getinitials}} | title=Page Title | desc=Description for SEO | project=OE 5 }}
+
{{:Templateimpl:conclusion | initials={{{initials}}} | title={{{title}}} | desc={{{desc}}} | project={{{project}}} }}
  
 
<!-- /*********************************************************************************************************/ -->
 
<!-- /*********************************************************************************************************/ -->
 
<!-- /******************************************  More Information  *****************************************/ -->
 
<!-- /******************************************  More Information  *****************************************/ -->
 
<!-- /*********************************************************************************************************/ -->
 
<!-- /*********************************************************************************************************/ -->
{{:Templateimpl:moreinfo | initials={{subst:Templateimpl:getinitials}} | title=Page Title | desc=Description for SEO | project=OE 5 }}
+
{{:Templateimpl:moreinfo | initials={{{initials}}} | title={{{title}}} | desc={{{desc}}} | project={{{project}}} }}
 
*  
 
*  
  
{{:Templateimpl:whatnext | initials={{subst:Templateimpl:getinitials}} | title=Page Title | desc=Description for SEO | project=OE 5 }}
+
{{:Templateimpl:whatnext | initials={{{initials}}} | title={{{title}}} | desc={{{desc}}} | project={{{project}}} }}
 
*
 
*

Revision as of 21:36, 18 November 2014


Using this Template

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

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


I am Mdean

{{ subst:Pgtempl | initials=MD | project=OE 5 | title=Page Title | desc=Description for SEO }}


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:


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