Jump to content

Template:Main

From Wikifunctions
Template documentation


Usage

To link to a main article on a topic like Wikifunctions:User groups, use

{{Main|Wikifunctions:User groups}}

which renders as

You can add up to 5 article names in parameters:

{{Main|Template:Channel/de|Template:Channel/en|Template:Channel/es|Template:Channel/fr|Template:Channel/zh}}

which renders as

These parameters are used to generate links and may include namespace prefixes or interwiki prefixes. If you want to hide these prefixes (for example here for a link to English Wikipedia) and display an alternative text you can use

{{Main|w:en:Example{{!}}Example (in English Wikipedia)}}

which renders as

Internationalisation

Many articles on Wikifunctions should be translatable, in that case use

{{ Main |Special:MyLanguage/Wikifunctions:User groups{{!}}Wikifunctions:User groups}}

which renders as

See also