Difference between revisions of "Template:In source"

From blackwiki
Jump to navigation Jump to search
imported>Jarble
(this template is for source code, not page titles)
imported>Jarble
 
Line 1: Line 1:
<includeonly><span class="selfreference">[[Special:Search/intitle:{{{1|{{PAGENAME}}}}}|{{{2|All pages with source code containing "{{{1|{{PAGENAME}}}}}"}}}]]</span></includeonly><noinclude>
+
<includeonly><span class="selfreference">[[Special:Search/insource:{{{1|{{PAGENAME}}}}}|{{{2|All pages with source code containing "{{{1|{{PAGENAME}}}}}"}}}]]</span></includeonly><noinclude>
 
{{documentation}}
 
{{documentation}}
 
<!-- Add categories and interwikis to the /doc subpage, not here! -->
 
<!-- Add categories and interwikis to the /doc subpage, not here! -->
 
</noinclude>
 
</noinclude>

Latest revision as of 01:37, 8 July 2015

Template documentation[view] [edit] [history] [purge]

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