Difference between revisions of "Help:Templates"
From Amahi Wiki
(3 intermediate revisions by the same user not shown) | |||
Line 6: | Line 6: | ||
</pre> | </pre> | ||
− | + | Some templates also have parameters. For instance, this usage | |
− | this | ||
− | where Name is the name of the Template you like to | + | <pre> |
+ | {{code|this is a test}} | ||
+ | </pre> | ||
+ | |||
+ | Will show: | ||
+ | |||
+ | {{code|this is a test}} | ||
+ | |||
+ | where Name is the name of the Template you like to embed. | ||
Further reading on [http://www.mediawiki.org/wiki/Help:Templates Templates] | Further reading on [http://www.mediawiki.org/wiki/Help:Templates Templates] |
Latest revision as of 03:07, 19 January 2011
Templates are standard wiki pages whose content is designed to be transcluded (embedded) inside other pages.
You can add a template by including following text anywhere in the page
{{Name}}
Some templates also have parameters. For instance, this usage
{{code|this is a test}}
Will show:
bash code |
---|
this is a test
|
where Name is the name of the Template you like to embed.
Further reading on Templates
There are several templates used in the Amahi Wiki Wiki. Here is the complete list of templates.
More details for each template can be found in TemplateName Talk page.
More help for the wiki in general