Difference between revisions of "Template:In source"

From blackwiki
Jump to navigation Jump to search
imported>Jarble
(creating a new template analogous to Template:In title)
 
imported>Jarble
(this template is for source code, not page titles)
Line 1: Line 1:
<includeonly><span class="selfreference">[[Special:Search/intitle:{{{1|{{PAGENAME}}}}}|{{{2|All pages with titles containing "{{{1|{{PAGENAME}}}}}"}}}]]</span></includeonly><noinclude>
+
<includeonly><span class="selfreference">[[Special:Search/intitle:{{{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>

Revision as of 01:36, 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".'