Sunday, March 14, 2010

Mediawiki Templates

The equivalent of latex newcommand is templates in mediawiki. To use a new template:

Create a new page named "Template:Concept" for example. On the page, write:

'''{{{1}}}'''

Then on any other page, wherever {{concept|foo}} occurs, it will be replaced by foo in bold.

No comments: