Miraheze Developers Wiki:About

From Miraheze Developers Wiki

This is a community owned template repository making Mediawiki templates available for Miraheze wikis.

What are templates?

A template is a page that gets transcluded in another page. This is useful for text that is used in multiple places, only the template needs editing to change all instances where it appears.

All templates are in the "templates namespace".

For example, create a page called Template:Main with the text

''The main article for this is [[Special:MyLanguage/{{{1}}}|{{{1}}}]]''.

and then inserting the template {{Main|Random page}} where you want the text to appear gives:

The main article for this is Random page.