Movatterモバイル変換


[0]ホーム

URL:


Jump to content
Wikimedia Meta-Wiki
Search

Template:Main

Permanently protected template
From Meta, a Wikimedia project coordination wiki
Main article: Example
Template documentation

Usage

To link to a main article on a topic likeExample, use

{{Main|Example}}

which renders as

Main article: 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

Main article: Example

Translations

This template uses these translations fromtranslatewiki.net:

Help translateTranslationEnglish
TranslateMain articles: $1Main articles: $1

See also

The abovedocumentation istranscluded fromTemplate:Main/doc.(edit |history)
Editors can experiment in this template’s sandbox(create |mirror) and testcases(create) pages.
Subpages of this template.
Retrieved from "https://meta.wikimedia.org/w/index.php?title=Template:Main&oldid=26348632"
Category:
Hidden category:

[8]ページ先頭

©2009-2025 Movatter.jp