Difference between revisions of "Template:In source/doc"

From blackwiki
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>Vanisaac
m (→‎Usage: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other)
 
(One intermediate revision by one other user not shown)
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 title|''words''|''caption''}}
+
* {{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''".'
  
  
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox | |
+
<includeonly>{{Sandbox other||
 
<!-- Categories below this line, please; interwikis at Wikidata -->
 
<!-- Categories below this line, please; interwikis at Wikidata -->
 
+
[[Category:Search templates]]
 
}}</includeonly>
 
}}</includeonly>

Latest revision as of 17:26, 25 April 2020

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".'