On November 27th, 2022, the 8,000th article was added to the SuccuWiki!

Template:Transclude/doc: Difference between revisions

From SuccuWiki - The Wiki of the Succubi
Jump to navigation Jump to search
m (1 revision: a lot of them at once)
 
mNo edit summary
Line 5: Line 5:
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.
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 {{Navbar|template:transclude/doc|mini=1}} menu used at the top of each {{tl|navbox}}, though it is used in other templates as well, such as {{tl|usbk}}.
The most prominent use of this template is in the Navbar menu used at the top of each navbox, though it is used in other templates as well, such as {{tl|usbk}}.


== Usage ==
== Usage ==
Line 20: Line 20:
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
[[Category:Wikipedia formatting and function templates|Transclude]]
[[Category:Wikipedia formatting and function templates|Transclude]]
[[ar:قالب:Transclude]]
[[et:Mall:Transclude]]
[[fa:الگو:Transclude]]
[[gu:ઢાંચો:Transclude]]
[[id:Templat:Transclude]]
[[ja:Template:Transclude]]
[[pt:Predefinição:Transclude]]
[[uk:Шаблон:Transclude]]
[[tr:Şablon:Görüntüle]]
</includeonly>
</includeonly>

Revision as of 19:08, 9 October 2012

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 Navbar menu used at the top of each navbox, though it is used in other templates as well, such as {{usbk}}.

Usage

  • {{transclude| Template:Foo }}Template:Foo
  • {{transclude| Category:Foo }}Category:Foo
  • {{transclude| Foo }}Template:Foo
  • {{transclude| :Foo }}Foo
  • {{transclude| :File:Foo }}File:Foo

See also