PesWiki.com

Menu

Help:Templates

Lasted edited by Andrew Munsey, updated on June 14, 2016 at 9:12 pm.

  • One error has been found on this page. Administrator will correct this soon.
  • This page has been imported from the old peswiki website. This message will be removed once updated.

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.

Using Templates for News Bullets

See Help:Using Templates for Bullets - separate page

Examples

Footers

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:

- Directory

Latest

Directory:A

Directory:J

Directory:S

Directory:Tree

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:Directory footer

Template:PowerPedia footer

Template:News footer

Template:Fuel Efficiency footer

Template:Events footer

Template:Solar footer

Template:Article footer

Template:Reviews footer

Template:Site footer

Template:Video footer

Specific Project footers

Template:CD Motor footer

Template:NEC footer

Template:Acetone footer

Template:LRP footer

Template:FPPP footer

Sub-site navigation columns

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

Image:NewEnergyCongressShieldBanner95x95 byKevn.jpg

NewEnergyCongress.org

New Energy Congress

Congress:Latest

New Energy Congress in the News

Facebook

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:Members

Congress:Specialists

Congress:Action

Congress:Tasks

Congress:Committees

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.

Template:FEV

Template:Joe Cell

Template:FPPP

Template:CD Motor

FOR AD PURPOSES

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:

Directory:Spark Plugs

Name Shortcuts

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

Template:Mark Dansie

Template:Robert Nelson

There was an error working with the wiki: Code[1]

Template:Ken Rauen

Template:Terry Sisson

Repeat Messages

This function can also be used for other strings of text used frequently. Such as

Template:Top 100

Template:Stub

Template:Welc - welcome message posted on talk page of new members

Template:Welcome - alt. welcome

Template:Vandal - signifying a user as a vandal

Other Template Uses

Template:MainPageHeaderBanner

Template:LeftMainBottom

Template:RightMainTop

Comments