Jump to content

Template:Transclude/doc: Difference between revisions

From pool
[checked revision][checked revision]
Content deleted Content added
No edit summary
No edit summary
 
Line 1: Line 1:
{{for|a template to transclude wikitext|Template:Excerpt}}
{{for|a template to transclude wikitext|Template:Excerpt}}
{{Documentation subpage}}
{{Documentation subpage}}
{{High-risk}}
<!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) -->
<!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) -->
{{high-use}}
{{high-use}}

Latest revision as of 10:04, 20 October 2020


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 }}Template::Foo
  • {{transclude| :File:Foo }}File:Foo

TemplateData

This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. Click here to see a monthly parameter usage report for this template based on this TemplateData.

TemplateData for Transclude/doc

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.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
Page name1

The name of the page you are trying to link to

Stringrequired

See also

For more detail see wikipedia page wikipedia:Template:Transclude