Vorlage:Transclude/doc

ZIM HilfeWiki - das Wiki
< Vorlage:Transclude
Version vom 11. Oktober 2014, 08:33 Uhr von mw>Oetterer

(Unterschied) ← Nächstältere Version | Bestätigte Version (Unterschied) | Aktuelle Version (Unterschied) | Nächstjüngere Version → (Unterschied)

This template resolves page names as they would be handled by MediaWiki's template-transclusion process. It thereby removes ambiguity when doing other things with template pagenames, e.g. linking.

The most prominent use of this template is in the

menu used at the top of each {{navbox}}, though it is used in other templates as well, such as {{usbk}}.

Usage[Quelltext bearbeiten]

  • {{transclude| Template:Foo }}Vorlage:Foo
  • {{transclude| Category:Foo }}Kategorie:Foo
  • {{transclude| Foo }}Template:Foo
  • {{transclude| :Foo }}Foo
  • {{transclude| :File:Foo }}Datei:Foo

See also[Quelltext bearbeiten]

  • {{para}}, for the presentation of template parameters and values (e.g. |paraname=val, |another=, etc).

Template-linking templates[Quelltext bearbeiten]

  • 1 {{tlg}} is the most general, allowing any combination of text style and/or link style options.
  • 2 Prevents wrapping of text by placing it inside <span class="nowrap">...</span> tags.
  • 3 Uses monospace font but not <code>...</code>.



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