This wiki is a XML full dump clone of "Heroes Wiki", the main wiki about the Heroes saga that has been shut down permanently since June 1, 2020. The purpose of this wiki is to keep online an exhaustive and accurate database about the franchise.
Template:Searchlink: Difference between revisions
Jump to navigation
Jump to search
Content deleted Content added
imported>Hardvice fix link |
imported>Ryangibsonstewart underscore doesn't work; plus signs do |
||
| (4 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
<includeonly><span class="plainlinks">[{{SERVER}}{{localurl |
<includeonly><span class="plainlinks">[{{SERVER}}{{localurl:Special:Search}}?ns0=1&ns4=1&ns6=1&ns10=1&ns12=1&ns14=1&ns100=1&ns102=1&ns104=1&ns106=1&ns108=1{{#if:{{{talk|}}}|&ns1=1&ns5=1&ns7=1&ns9=1&ns11=1&ns13=1&ns15=1&ns101=1&ns103=1&ns105=1&ns107=1&ns109=1}}{{#if:{{{user|}}}|ns2=1&ns3=1}}&search={{{text|}}}&searchx=Search {{{display|{{{text}}}}}}]</span></includeonly><noinclude> |
||
==Usage== |
==Usage== |
||
Produces a "plain" or internal search link for the text entered. The link will search in the following namespaces by default: |
Produces a "plain" or internal search link for the text entered. The link will search in the following namespaces by default: |
||
| Line 13: | Line 13: | ||
* Theory |
* Theory |
||
To include talk pages, add <code>talk=y</code> |
To include talk pages, add <code>talk=y</code>. To include user pages and user talk pages, add <code>user=y</code>. |
||
To include user pages and user talk pages, add <code>user=y</code> |
|||
''For multi-word search terms, be sure to use plus signs (+) instead of spaces.'' |
|||
<pre>{{searchlink |
<pre>{{searchlink |
||
| text = <!-- Text to search for --> |
| text = <!-- Text to search for --> |
||
| display = <!--OPTIONAL Override link text to display--> |
|||
| talk = <!--OPTIONAL Anything to include talk pages --> |
| talk = <!--OPTIONAL Anything to include talk pages --> |
||
| user = <!--OPTIONAL Anything to include user pages --> |
| user = <!--OPTIONAL Anything to include user pages --> |
||
}}</pre> |
}}</pre> |
||
[[Category:Templates]] |
|||
[[Category:Link Templates]]</noinclude> |
[[Category:Link Templates]]</noinclude> |
||
Latest revision as of 05:11, 17 November 2007
Usage
Produces a "plain" or internal search link for the text entered. The link will search in the following namespaces by default:
- Main
- Heroes Wiki
- Image
- Template
- Help
- Category
- Episode
- Graphic Novel
- Interview
- Theory
To include talk pages, add talk=y. To include user pages and user talk pages, add user=y.
For multi-word search terms, be sure to use plus signs (+) instead of spaces.
{{searchlink
| text = <!-- Text to search for -->
| display = <!--OPTIONAL Override link text to display-->
| talk = <!--OPTIONAL Anything to include talk pages -->
| user = <!--OPTIONAL Anything to include user pages -->
}}