Module:Transcluder/doc
Jump to navigation
Jump to search
This is the documentation page for Module:Transcluder
Copied from MediaWiki's Transcluder
Documentation
[purge]
This module is a general-purpose transclusion engine, able to transclude any part of any page and with many options that normal transclusion doesn't provide.
Templates
The main entry point for templates is the main
It's essentially a wrapper of the get
method to make it usable for templates.
See the documentation of the get
method for more details and options.
Transclude the requested page
{{#invoke:Transcluder|main|Title#}}
— Transclude the lead section of the requested page</translate>{{#invoke:Transcluder|main|Title#Section}}
— Transclude the requested section or<section>
tag (includes any subsections)</translate>{{#invoke:Transcluder|main|Title#Section|sections=0}}
— Transclude the requested section, excluding subsections</translate>{{#invoke:Transcluder|main|Title|only=files|files=1}}
— Transclude only the first file of the page</translate>{{#invoke:Transcluder|main|Title#Section|only=tables|tables=2}}
— Transclude only the second table of the requested section</translate>{{#invoke:Transcluder|main|Title#|only=paragraphs|linkBold=yes}}
— Transclude only the paragraphs of the lead section and link the bold text</translate>