K (Schützte „Vorlage:Disambiguate“ ([Bearbeiten=Nur Administratoren erlauben] (unbeschränkt) [Verschieben=Nur Administratoren erlauben] (unbeschränkt))) |
|||
Zeile 15: | Zeile 15: | ||
}}<!-- | }}<!-- | ||
when there is more than one type, infobox article will show an error. however, we will print out our own, just to make sure | when there is more than one type, infobox article will show an error. however, we will print out our own, just to make sure | ||
− | -->{{#ifeq: {{#arraysize:disambig_types}}|1||{{Template warning|There is more than one type defined on the associated pages. this error has to be corrected on the corresponding page(s)! (passed types are {{#arrayprint:disambig_types}})|Disambiguate}} }}<!-- if there is text in {{{1}}}, print it before the articellisting -->{{#if: {{{1|}}}|{{{1}}}<p></p>}} | + | -->{{#ifeq: {{#arraysize:disambig_types}}|1||{{Template warning|There is more than one type defined on the associated pages. this error has to be corrected on the corresponding page(s)! (passed types are {{#arrayprint:disambig_types}})|Disambiguate}} }}<!-- if there is text in {{{1}}}, print it before the articellisting -->{{#if: {{{1|}}}|{{{1}}}<p></p>}}Das gewählte Thema wird auf den folgenden Seiten behandelt: |
{{#ask: [[Is disambiguated by::{{BASEPAGENAME}}]]|format=ul|sort=has sortkey|order=ascending}} | {{#ask: [[Is disambiguated by::{{BASEPAGENAME}}]]|format=ul|sort=has sortkey|order=ascending}} | ||
|<!-- | |<!-- |
Version vom 7. April 2020, 07:27 Uhr
Description[Quelltext bearbeiten]
This template uses Lua: |
Parameters[Quelltext bearbeiten]
Generates a disambiguation page.
Parameter | Beschreibung | Typ | Status | |
---|---|---|---|---|
Intro text | 1 | Content text (wikitext) displayed on the left of the infobox, right before the disambiguated pages' listing. | Inhalt | vorgeschlagen |
Usage[Quelltext bearbeiten]
{{disambiguate}}
Variables[Quelltext bearbeiten]
The templates sets these variables to the described values:
- disambig_osses
- array
- accumulated operation systems of associated articles
- disambig_pages
- array
- list of all disambiguated pages
- disambig_services
- array
- accumulated services of associated articles
- disambig_targetgroups
- array
- accumulated targetgroups of associated articles
- disambig_types
- array
- accumulated types of associated articles (should be only one)
See also[Quelltext bearbeiten]
- {{article}}