Template:Transclude/doc
From Kerbal Space Program Wiki
Error creating thumbnail: /bin/bash: rsvg-convert: command not found |
This is a documentation subpage for Template:Transclude. It contains usage information, categories and other content that is not part of the original template page. |
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
<templatedata> {
"description": "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.", "params": { "1": { "label": "Page name", "description": "The name of the page you are trying to link to", "type": "string", "required": true } }
} </templatedata>