Vorlage:Main/en: Unterschied zwischen den Versionen
Manal (Diskussion | Beiträge) Die Seite wurde neu angelegt: „<noinclude> <languages/> </noinclude><includeonly>{{hatnote|extraclasses=relarticle mainarticle|1={{#ifeq:{{SUBJECTSPACE}}|Category |{{#if:{{{2|}}} |The main pages for this category are |The main page for this category is }} |{{#if:{{{2|}}} |Main pages: |<span lang="de" dir="ltr" class="mw-content-ltr">Hauptseite:</span> }} }} {{ll|{{{1|{{PAGENAME:{{translatable}}}}}…“ Markierung: Erneut erstellt |
Manal (Diskussion | Beiträge) Die Seite wurde neu angelegt: „== TemplateData ==“ |
||
| Zeile 3: | Zeile 3: | ||
</noinclude><includeonly>{{hatnote|extraclasses=relarticle mainarticle|1={{#ifeq:{{SUBJECTSPACE}}|Category | </noinclude><includeonly>{{hatnote|extraclasses=relarticle mainarticle|1={{#ifeq:{{SUBJECTSPACE}}|Category | ||
|{{#if:{{{2|}}} | |{{#if:{{{2|}}} | ||
| | |<span lang="de" dir="ltr" class="mw-content-ltr">Die Hauptseiten für diese [[Special:MyLanguage/Help:Categories|category]] sind</span> | ||
|The main page for this [[Special:MyLanguage/Help:Categories|category]] is | |The main page for this [[Special:MyLanguage/Help:Categories|category]] is | ||
}} | }} | ||
Version vom 4. August 2025, 08:50 Uhr
Beispiele
{{Main}}
{{Main|Article 1}}
{{Main|Article 1|Article 2|Article Something#3}}
TemplateData
This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:Main in articles based on its TemplateData.
TemplateData for Main
This template is used to display a note directing users to the main article about a subject. This should be used at the top of a section, usually directly below a section heading.
| Parameter | Beschreibung | Typ | Status | |
|---|---|---|---|---|
| Page 1 | 1 | Page name of related article. It includes Special:MyLanguage prefix. | Seitenname | erforderlich |
| Label 1 | l1 | Custom label for the link to Page 1.
| Mehrzeiliger Text | optional |
| Page 2 | 2 | keine Beschreibung | Seitenname | optional |
| Label 2 | l2 | keine Beschreibung
| Mehrzeiliger Text | optional |
| Page 3 | 3 | keine Beschreibung | Seitenname | optional |
| Label 3 | l3 | keine Beschreibung
| Mehrzeiliger Text | optional |