More actions
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><..." |
mNo edit summary |
||
Line 17: | Line 17: | ||
<includeonly>{{sandbox other|| | <includeonly>{{sandbox other|| | ||
<!-- template categories/interwikis here --> | <!-- template categories/interwikis here --> | ||
[[Category: | [[Category:Meta templates]] | ||
}}</includeonly> | }}</includeonly> | ||
<noinclude> | <noinclude> | ||
<!-- documentation categories/interwikis here --> | <!-- documentation categories/interwikis here --> | ||
</noinclude> | </noinclude> |
Latest revision as of 22:33, 16 June 2025
[purge]
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
- Template:Transclude on Wikipedia