Vorlage:Disambiguate/doc: Unterschied zwischen den Versionen

ZIM HilfeWiki - das Wiki
 
Zeile 6: Zeile 6:
 
== 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>

Version vom 30. September 2016, 10: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.