Vorlage:Main/en: Unterschied zwischen den Versionen
Manal (Diskussion | Beiträge) Die Seite wurde neu angelegt: „== TemplateData ==“ |
Manal (Diskussion | Beiträge) Die Seite wurde neu angelegt: „Template:Main“ |
||
| 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 | |The main pages for this [[Special:MyLanguage/Help:Categories|category]] are | ||
|<span lang="de" dir="ltr" class="mw-content-ltr">Die Hauptseite für diese [[Special:MyLanguage/Help:Categories|category]] ist</span> | |||
}} | }} | ||
|{{#if:{{{2|}}} | |{{#if:{{{2|}}} | ||
|Main pages: | |Main pages: | ||
| | |Main page: | ||
}} | }} | ||
}} {{ll|{{{1|{{PAGENAME:{{translatable}}}}}}}|{{{l1|{{{1|{{PAGENAME:{{translatable}}}}}}}}}}}}{{#if:{{{2| }}} | }} {{ll|{{{1|{{PAGENAME:{{translatable}}}}}}}|{{{l1|{{{1|{{PAGENAME:{{translatable}}}}}}}}}}}}{{#if:{{{2| }}} | ||
| Zeile 19: | Zeile 19: | ||
|{{#if:{{{9|}}}|<nowiki/>{{int|comma-separator}}{{int|word-separator}}<nowiki/>|<nowiki/>{{int|and}}{{int|word-separator}}<nowiki/>}}{{ll|{{{8}}}|{{{l8|{{{8}}}}}}}}}}{{#if:{{{9|}}} | |{{#if:{{{9|}}}|<nowiki/>{{int|comma-separator}}{{int|word-separator}}<nowiki/>|<nowiki/>{{int|and}}{{int|word-separator}}<nowiki/>}}{{ll|{{{8}}}|{{{l8|{{{8}}}}}}}}}}{{#if:{{{9|}}} | ||
|{{#if:{{{10|}}}|<nowiki/>{{int|comma-separator}}{{int|word-separator}}<nowiki/>|<nowiki/>{{int|and}}{{int|word-separator}}<nowiki/>}}{{ll|{{{9}}}|{{{l9|{{{9}}}}}}}}}}{{#if:{{{10|}}} | |{{#if:{{{10|}}}|<nowiki/>{{int|comma-separator}}{{int|word-separator}}<nowiki/>|<nowiki/>{{int|and}}{{int|word-separator}}<nowiki/>}}{{ll|{{{9}}}|{{{l9|{{{9}}}}}}}}}}{{#if:{{{10|}}} | ||
|<nowiki/>{{int|and}}{{int|word-separator}}{{ll|{{{10}}}|{{{l10|{{{10}}}}}}}}}}{{#if:{{{11| }}}|  | |<nowiki/>{{int|and}}{{int|word-separator}}{{ll|{{{10}}}|{{{l10|{{{10}}}}}}}}}}{{#if:{{{11| }}}|  (too many parameters in {{((}}{{ll|Template:main}}{{))}})}}}}</includeonly><!-- | ||
--><noinclude> | --><noinclude> | ||
{{documentation|content= | {{documentation|content= | ||
< | <span id="Beispiele"></span> | ||
== | == Examples == | ||
<pre> | <pre> | ||
{{Main}} | {{Main}} | ||
Version vom 4. August 2025, 09:10 Uhr
Examples
{{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 |