Vorlage:Disambiguate/doc: Unterschied zwischen den Versionen

ZIM HilfeWiki - das Wiki
 
imported>Oetterer
 
(Eine dazwischenliegende Version von einem anderen Benutzer wird nicht angezeigt)
Zeile 2: Zeile 2:
 
<!-- Categories go at the bottom of this page. -->
 
<!-- Categories go at the bottom of this page. -->
 
== Description ==
 
== Description ==
Generates a disambiguation page. Gathers all associated articles automatically, accumulates services, operation systems, targetgroups, and types. Then uses {{tl|article}} and prints an infobox. Also lists all disambiguated pages.
+
{{lua|Module:Disambiguate}}Generates a disambiguation page. Gathers all associated articles automatically, accumulates services, operation systems, targetgroups, and types. Then uses {{tl|article}} and prints an infobox. Also lists all disambiguated pages.
  
 
== Parameters ==
 
== Parameters ==
 
<templatedata>{
 
<templatedata>{
     "description": "Description of the entity created by this template or of the function of this template",
+
     "description": "Generates a disambiguation page.",
 
     "params": {
 
     "params": {
 
         "1": {
 
         "1": {
Zeile 19: Zeile 19:
  
 
== Usage ==
 
== Usage ==
{{code|lang=bibtex|code=<nowiki>
+
<pre>
 
{{disambiguate}}
 
{{disambiguate}}
</nowiki>}}
+
</pre>
  
 
== Variables ==
 
== Variables ==
Zeile 44: Zeile 44:
 
* {{tl|article}}
 
* {{tl|article}}
  
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox | |
+
[[Category:Hilfewiki templates]]<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox | |
 
{{#ifeq:{{SUBPAGENAME}}|sandbox | |
 
{{#ifeq:{{SUBPAGENAME}}|sandbox | |
 
<!-- ADD CATEGORIES AFTER THIS LINE -->
 
<!-- ADD CATEGORIES AFTER THIS LINE -->
[[Category:Hilfewiki templates]]
+
 
 
}}
 
}}
 
}}</includeonly>
 
}}</includeonly>

Aktuelle Version vom 7. März 2023, 21:43 Uhr

Description[Quelltext bearbeiten]

Generates a disambiguation page. Gathers all associated articles automatically, accumulates services, operation systems, targetgroups, and types. Then uses {{article}} and prints an infobox. Also lists all disambiguated pages.

Parameters[Quelltext bearbeiten]

Generates a disambiguation page.

Vorlagenparameter

ParameterBeschreibungTypStatus
Intro text1

Content text (wikitext) displayed on the left of the infobox, right before the disambiguated pages' listing.

Inhaltvorgeschlagen

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]

Cookies helfen uns bei der Bereitstellung des ZIM HilfeWikis. Bei der Nutzung vom ZIM HilfeWiki werden die in der Datenschutzerklärung beschriebenen Cookies gespeichert.