Jump to content

Template:Signpost/Search/doc

From Wikipedia, the free encyclopedia

Usage

[edit]

Makes searching through Wikipedia:Signpost articles much easier, by giving you a search box that automatically adds terrifying regexes to a query.

This template is actually several templates (articles, talk, and all) which you can select between by passing a parameter. Like so:

{{Signpost/Search|articles}}
{{Signpost/Search|talk}}
{{Signpost/Search|all}}


You can also specify triple to get all three:

{{Signpost/Search|triple}}


If you don't supply a parameter, or supply something not recognized, it will just return the "articles" search box.

{{Signpost/Search}}
{{Signpost/Search|tutti frutti}}

Subtemplates

[edit]

Ideally, you don't call these directly, you do it from {{Signpost/Search}}.

Template:Signpost/Search/talk

[edit]

Searches through all pages with "Talk:" and "Signpost" in them.

Template:Signpost/Search/articles

[edit]

The regex is this: intitle:/Signpost\/[0-9]{4}-[0-9]{2}-[0-9]{2}\/.*/ -intitle:"/SPV"

Template:Signpost/Search/all

[edit]

Automatically filters to only pages with "Signpost" in their title.

Other templates

[edit]

Template:Signpost/Search/mostrecent

[edit]

This creates a link to a search formatted to find the most recent instance of the column name you give it. For example:

[{{Signpost/Search/mostrecent|Arbitration report}} Click here!!!]

gives:

Click here!!!

Note that you don't need to do any special formatting (like "Arbitration_report") for the parameter -- it makes a correct URL automatically.

See also

[edit]