Lasted edited by Andrew Munsey, updated on June 15, 2016 at 1:12 am.
The template function enables you to create content in one place, then to call for that content to be included whereever you want it.
This is not to be confused with another usage of the word "template" in our files, such as Directory:Template, which is a boiler plate page we use for creating new directory pages.
Note : This page needs to be combined with the page called Template but at this url, not that one.
See Help:Using Templates for Bullets - separate page
At the bottom of most Directory pages, as you will see in the above-mentioned template, is an example of a mediawiki template function.
Note in the "See also" section the following code:
• Latest
• News
That code pulls in the document found at Template:Directory footer
If we want to change the footer, we edit that page.
This, incidentally, is probably the most-used template.
Here is a list of pags that use it:
http://peswiki.com/index.php?title=Special:Whatlinkshere&target=Template%3ADirectory_footer
List of PESWiki footers
not yet a comprehensive list
Template:Fuel Efficiency footer
Specific Project footers
The template feature can be used for creating a navigation structure within a sub-site within PESWiki.
For example, Template:NEC is the right-hand navigation column for the New Energy Congress pages. It's not used on the NEC home page, but it is use on most all internal pages. For example, in source view ("edit" or "view source") you will see New Energy Congress
NewEnergyCongress.org
• New Energy Congress in the News
Technologies
• Top 5 Exotic Free Energy Technologies
• Congress:Top 100 Technologies -- RD (Main20)
• Congress:Top 100:Complete List
• Directory:Best Exotic Clean Energy Technologies
• Submit
• Congress:Technology Criteria
• New Energy Congress: Validation Service
Membership
• Congress:What Membership Entails
Management
• Congress:Bylaws (rd)
There was an error working with the wiki: Code[1]
Category:New Energy Congress at the top of the page contents.
Please use the following naming structure.
http://peswiki.com/index.php/Template:Ad:Category:Product_Name
for example:
Template:Ad:Spark Plugs:Pulstar
is called for here:
For names that are used frequently, to show them hyperlinked to their profile at PESWiki, typically used for NEC members.
Template:SDA - Sterling D. Allan
There was an error working with the wiki: Code[1]
This function can also be used for other strings of text used frequently. Such as
Template:Welc - welcome message posted on talk page of new members
Template:Welcome - alt. welcome
Template:Vandal - signifying a user as a vandal