Help:Templates: Difference between revisions

Jump to navigation Jump to search
11 bytes added ,  16:12, 16 October 2017
no edit summary
No edit summary
No edit summary
Line 84: Line 84:
The converse is <code><nowiki><includeonly></nowiki></code>. Text between <code><nowiki><includeonly></nowiki></code> and <code><nowiki></includeonly></nowiki></code> will be processed and displayed only when the page is being included. The obvious application is to add all pages containing a given template to a [[Help:Categories|category]], without putting the template itself into that category.
The converse is <code><nowiki><includeonly></nowiki></code>. Text between <code><nowiki><includeonly></nowiki></code> and <code><nowiki></includeonly></nowiki></code> will be processed and displayed only when the page is being included. The obvious application is to add all pages containing a given template to a [[Help:Categories|category]], without putting the template itself into that category.


'''Note:''' when you change the categories applied by a template, the categorization of the pages that use that template may not be updated until some time later: this is handled by the {{mediawiki|Manual:Job queue|job queue}}.
'''Note:''' when you change the categories applied by a template, the categorization of the pages that use that template may not be updated until some time later: this is handled by the {{mediawiki|Manual:Job_queue|job queue}}.


==Organizing templates==
==Organizing templates==
Line 102: Line 102:
*[[Help:External searches]] – a template special use case example
*[[Help:External searches]] – a template special use case example
*[[Help:Magic words]] – fancy stuff you may find in some templates
*[[Help:Magic words]] – fancy stuff you may find in some templates
*{{mediawiki|meta:Help:Embed page}} – embedding pages from {{mediawiki|namespace|namespaces}} other than <code>Template:</code>.
*{{mediawiki|meta:Help:Embed_page|Embed page}} – embedding pages from {{mediawiki|namespace|namespaces}} other than <code>Template:</code>.


[[Category:Help|{{PAGENAME}}]]
[[Category:Help|{{PAGENAME}}]]
[[Category:Template]]
[[Category:Template]]
Bureaucrats, checkuser, oversight, Administrators
118,403

edits



Navigation menu