This article will address the topic of
User:Technical 13/Scripts/editTemplateNoDoc.js, which has been the subject of interest and debate in different areas.
User:Technical 13/Scripts/editTemplateNoDoc.js is a topic that has generated great expectations and has aroused the curiosity of experts and fans alike. Throughout history,
User:Technical 13/Scripts/editTemplateNoDoc.js has had a significant impact on various aspects of society, and its relevance continues to be the subject of study and research today. Through a detailed and exhaustive analysis, different approaches and perspectives on
User:Technical 13/Scripts/editTemplateNoDoc.js will be explored, with the aim of providing a comprehensive and enriching vision on this topic.
if( mw.config.get('wgNamespaceNumber') === 10 && mw.config.get('wgAction') === 'edit' && $( '.template-documentation' ).length !== -1){
$( '.template-documentation' ).css( 'display', 'none');
var tnd = mw.util.addPortletLink(
'p-tb',
'#',
'View doc',
'pt-temp-doc',
'View template documentation',
null,
null
);
$( tnd ).click( function ( e ) {
e.preventDefault();
/* Toggle documentation display */
$( '.template-documentation' ).css( 'display', function (i, val) {
return val === 'none' ? '' : 'none';
});
/* Toggle the link */
$( 'li#pt-temp-doc a' ).html( function (i, val) {
return val === 'View doc' ? 'Hide doc' : 'View doc';
});
/* Toggle the description */
$( 'li#pt-temp-doc a' ).attr( 'title', function (i, val) {
return val === 'View template documentation' ? 'Hide template documentation' : 'View template documentation';
});
});
} else {
/* Do nothing */
}