Difference between revisions of "Template:In source/doc"
Jump to navigation
Jump to search
imported>Jarble (←Created page with '{{Documentation subpage}} <!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see Wikipedia:Wikidata) --> ===...') |
imported>Jarble |
||
| Line 2: | Line 2: | ||
<!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) --> | <!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) --> | ||
=== Usage === | === Usage === | ||
| − | * {{tnull|In | + | * {{tnull|In source|''words''|''caption''}} |
Creates a link to search for pages with source code that contains given words. The default value of the first parameter is the current page name, and that of the second parameter is 'All pages with source code containing "''searchterm''".' | Creates a link to search for pages with source code that contains given words. The default value of the first parameter is the current page name, and that of the second parameter is 'All pages with source code containing "''searchterm''".' | ||
| Line 9: | Line 9: | ||
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox | | | <includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox | | | ||
<!-- Categories below this line, please; interwikis at Wikidata --> | <!-- Categories below this line, please; interwikis at Wikidata --> | ||
| − | + | [[Category:Search templates]] | |
}}</includeonly> | }}</includeonly> | ||
Revision as of 01:43, 8 July 2015
| This is a documentation subpage for Template:In source. It contains usage information, categories and other content that is not part of the original template page. |
Usage
{{In source|words|caption}}
Creates a link to search for pages with source code that contains given words. The default value of the first parameter is the current page name, and that of the second parameter is 'All pages with source code containing "searchterm".'