模:Main

From Meta, a Wikimedia project coordination wiki
Jump to navigation Jump to search
This page is a translated version of the page Template:Main and the translation is 100% complete.

Template documentation[view] [edit] [history] [purge]
Other languages:
Bahasa Indonesia • ‎Bahasa Melayu • ‎Deutsch • ‎English • ‎Lëtzebuergesch • ‎Nederlands • ‎Türkçe • ‎asturianu • ‎català • ‎dansk • ‎español • ‎euskara • ‎français • ‎latviešu • ‎lietuvių • ‎magyar • ‎polski • ‎português • ‎português do Brasil • ‎română • ‎shqip • ‎suomi • ‎Ελληνικά • ‎български • ‎македонски • ‎русский • ‎українська • ‎ייִדיש • ‎اردو • ‎العربية • ‎سنڌي • ‎فارسی • ‎مصرى • ‎मैथिली • ‎हिन्दी • ‎தமிழ் • ‎ქართული • ‎ភាសាខ្មែរ • ‎中文 • ‎吴语 • ‎日本語 • ‎粵語 • ‎한국어

Usage

To link to a main article on a topic like Example, use

{{Main|Example}}

which renders as

主文: Example

You can add up to 5 article names in parameters:

{{Main|MediaWiki/de|MediaWiki/en|MediaWiki/es|MediaWiki/fr|MediaWiki/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 Meta should be translatable, in that case use

{{ Main |Special:MyLanguage/Example{{!}}Example}}

which renders as

主文: Example

See also