Difference between revisions of "Template:Friendly search suggestions/doc"

From blackwiki
Jump to navigation Jump to search
imported>Northamerica1000
(→‎Usage: - {{improve documentation}}. Listing every search engine as parameters isn't necessary; people know how search engines work)
imported>Vanisaac
m (→‎See also: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other)
 
(4 intermediate revisions by 3 users not shown)
Line 3: Line 3:
 
== Usage ==
 
== Usage ==
 
{{template shortcut|FSS}}
 
{{template shortcut|FSS}}
* This template can be placed on article talk pages using '''<nowiki>{{Friendly search suggestions}}</nowiki>'''.
+
This template can be placed on article talk pages using <code><nowiki>{{Friendly search suggestions}}</nowiki></code> or <code><nowiki>{{FSS}}</nowiki></code>. The default search value is the "sub page name".  To override the default use <code><nowiki>{{Friendly search suggestions|search string}}</nowiki></code> where <code>search string</code> is another search string.
 +
 
 +
===TemplateData===
 +
<templatedata>
 +
{
 +
"params": {
 +
"1": {
 +
"description": "Option to change the search term. Default to the article title.",
 +
"type": "string"
 +
},
 +
"image": {
 +
"description": "Choose which image to display in the corner of the message box.",
 +
"type": "wiki-file-name"
 +
},
 +
"small": {
 +
"description": "Option to change the style of the display to a smaller display",
 +
"type": "boolean",
 +
"default": "no"
 +
}
 +
},
 +
"description": "Place on talk pages to facilitate the discovery of new information."
 +
}
 +
</templatedata>
  
 
==See also==
 
==See also==
 
* {{tl|Friendly search suggestions for med talk pages}}
 
* {{tl|Friendly search suggestions for med talk pages}}
 
* [[Wikipedia:Advanced source searching]]
 
* [[Wikipedia:Advanced source searching]]
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox | |
+
<includeonly>{{Sandbox other||
 
<!-- Categories below this line, please; interwikis at Wikidata -->
 
<!-- Categories below this line, please; interwikis at Wikidata -->
 
[[Category:Source-finding templates]]
 
[[Category:Source-finding templates]]
 
}}</includeonly>
 
}}</includeonly>

Latest revision as of 05:14, 25 April 2020

Usage

This template can be placed on article talk pages using {{Friendly search suggestions}} or {{FSS}}. The default search value is the "sub page name". To override the default use {{Friendly search suggestions|search string}} where search string is another search string.

TemplateData

Place on talk pages to facilitate the discovery of new information.

Template parameters

ParameterDescriptionTypeStatus
11

Option to change the search term. Default to the article title.

Stringoptional
Imageimage

Choose which image to display in the corner of the message box.

Fileoptional
Smallsmall

Option to change the style of the display to a smaller display

Default
no
Booleanoptional

See also