Template:Transclude

From TibiaCraft
Revision as of 18:44, 4 October 2025 by Root (talk | contribs) (Created page with "{{ #switch: {{NAMESPACE: {{{1}}} }} | #default = {{FULLPAGENAME: {{{1}}} }} <!-- eg "User:Foo" --> | {{ns:0}} = {{ #ifeq: {{NAMESPACE: {{{1}}} }} | {{NAMESPACE: Template{{{1}}} }} | Template:{{{1}}} <!-- no leading colon, eg "Foo" --> | {{PAGENAME: {{{1}}} }} <!-- leading colon, eg ":Foo", so we want the article --> }} }}<noinclude> {{Documentation}} <!-- categories/interwikis on the /doc subpage, not here --> </noinclude>")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

Template:{{{1}}}

Documentation[view] [edit] [history] [purge]

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

[view] [edit] [history] [purge]The above documentation is transcluded from Template:Transclude/doc.