Template linking and transclusion check
Template linking and transclusion check
Checks and reports which articles that transcludes a template that are not linked from the template, and which articles that are linked from a template but don't transclude it. Typical usage is to check navigational templates/navboxes.
Parameters
|
Name
| Status
| Description
|
lang
| Required
| Language code for wiki
|
name
| Required
| Name for template including namespace
|
complete
| Optional
| If set to 1 then also the complete transclusion/link lists are displayed
|
Example code for use in Wikipedia
- Sample code for template documentation pages (replace "
en
" with your language code):
- [{{fullurl:toollabs:templatetransclusioncheck/|lang=
en
&name={{FULLPAGENAMEE}}}} Check completeness of transclusions]
- [//tools.wmflabs.org/templatetransclusioncheck/index.php?lang=
en
&name={{FULLPAGENAMEE}} Check completeness of transclusions]
- Sample code for including in the sidebar toolbox:
// Add Chameleon's Template Linking and Transclusion Check to the toolbox
if (mw.config.get('wgAction') == 'view') {
$(function() {
if (mw.config.get('wgNamespaceNumber') == 10) { // 10 == NS_TEMPLATE
mw.util.addPortletLink('p-tb', "//tools.wmflabs.org/templatetransclusioncheck/index.php?lang=
en
&name=" + wgPageName, "Transclusion Check");
}
});
}
- Some examples on use in Wikipedia (as of January 2015):
Miscellaneous
Tool provided by
Chameleon
2015. Powered by
Wikimedia Labs
.