Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Transclude/doc: Difference between revisions

Template page
Created page with "{{documentation header}} <!-- documentation here --> 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. == Usage == *<code><nowiki>{{transclude| Template:Foo }}</nowiki></code> → '''{{transclude|Template:Foo}}''' *<code><nowiki>{{transclude| Category:Foo }}</nowiki></code> → '''{{transclude|Category:Foo}}''' *<code><..."
(No difference)

Revision as of 22:32, 16 June 2025

This is the documentation page. It should be transcluded into Template:Transclude. See Template:Documentation for more information.

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.

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