Help:Creating & Using Template 
From Singapore Hotels & Singapore Lifestyle
|
What is a template
A template is a fix format of display. This can be useful for displaying things that has a fixed display format for example the way Singaporeans write their address.
To create a template is just like starting a new page, but u must include a "Template:" in front of the template name. For example Template:CompanyFacts would create a template that is called CompanyFacts.
Example of Template
Below is the text that is found in "Template:Contacts":-
Tel: {{{Telephone Number}}}<br>Fax: {{{Fax Number}}}<br>Email: {{{Email}}}<br>Website: [http://{{{Website}}} {{{Website}}}]
It would display format would be:-
Tel: {{{Telephone Number}}}
Fax: {{{Fax Number}}}
Email: {{{Email}}}
Website: {{{Website}}}
To display the information in the format, you key in the necessary information in this way:-
{{Contacts|Telephone Number= 6123 4868|Fax Number=6123 2026|Email= editor@lifestylewiki.com |Website=www.lifestylewiki.com
}}
And it would generate:-'
Tel: 6123 4868
Fax: 6123 2026
Email: editor@lifestylewiki.com
Website: www.lifestylewiki.com

![Back to previous page [backspace]](/skins/monobook/back.jpg)



