Difference between revisions of "Help:Templates"

From Amahi Wiki
Jump to: navigation, search
(Created page with "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 p...")
 
 
(7 intermediate revisions by 2 users not shown)
Line 6: Line 6:
 
</pre>
 
</pre>
  
where Name is the name of the Template you like to embedd.
+
Some templates also have parameters. For instance, this usage
 +
 
 +
        <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]
 +
 +
There are several templates used in the {{SITENAME}} Wiki. Here is the complete list of [http://wiki.amahi.org/index.php?title=Special%3AAllPages&from=&to=&namespace=10 templates].
 +
 +
More details for each template can be found in TemplateName Talk page.
  
 
{{HelpPageFooter}}
 
{{HelpPageFooter}}

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