How Templates Work/ Example Template

Sub-page of HowTemplatesWork

Template definition

<template> This is the example template.
<if name>Hello {{{name}}}!
</if> Anonymous said: {{{1}}} </template>

How to call the template

{{ How Templates Work/ Example
| name = Arno
| Hello to you too!
}}

How it looks

This is the example template.
Hello Arno!
Anonymous said: Hello to you too!

Remarks

Usually you should not put the template, explanations and examples all in one page. Keep the template page itself short. Longer explanations should be moved into a subpage, same for examples.


How Templates Work/ Example Template last edited by fernobob on June 17, 2008 - 23:10
RecentChanges · StartingPoints · About
Edit page ·Search · Related · Page info · Latest diff
[Welcome to Sensei's Library!]
RecentChanges
StartingPoints
About
RandomPage
Search position
Page history
Latest page diff
Partner sites:
Go Teaching Ladder
Goproblems.com
Login / Prefs
Tools
Sensei's Library