Template:Search: Difference between revisions

From FlightGear wiki
Jump to navigation Jump to search
No edit summary
(doc; cat: Link templates)
Line 1: Line 1:
<noinclude>
{{project infrastructure|{{{mode|forum}}}|urn=
to be used for encapsulating infrastructure links to search community archives (mainly forum, devel list and issue tracker), so that articles can be updated in a holistic fashion more easily.
{{#ifeq: {{{mode|forum}}}| forum | search.php?st=0&sk=t&sd=d&sr=posts&keywords= | mailman/search/?q=}}{{{keywords|skydiving}}} {{{mode|forum}}} search for {{{keywords|skydiving}}}}}<noinclude>
todo: support other modes (e.g. devel list): https://sourceforge.net/p/flightgear/mailman/search/?q=parachuting
{{Informative template|1=
</noinclude>{{project infrastructure|{{{mode|forum}}}|urn=
__NOTOC__
{{#ifeq: {{{mode|forum}}}| forum | search.php?st=0&sk=t&sd=d&sr=posts&keywords= | mailman/search/?q=}}{{{keywords|skydiving}}} {{{mode|forum}}} search for {{{keywords|skydiving}}}}}
== Goal ==
This template can be used for encapsulating infrastructure links to search community archives (mainly forum, devel list and issue tracker), so that articles can be updated in a holistic fashion more easily.
 
== Usage ==
{{obr}}'''search''' {{!}}''mode='' {{!}}''keywords=''{{cbr}}
 
; keywords
: Keywords or search string to use. Defaults to '''skydiving'''.
 
; mode
: The infrastructure to search.  Defaults to the forum.
 
== Examples ==
{{obr}}search{{cbr}}
{{search}}
 
{{obr}}search {{!}}keywords=wingman{{cbr}}
{{search |keywords=wingman}}
 
== Known issues ==
Currently (June 2019) only searching the forum is supported.
 
== Technical details ==
This template uses {{tl|project infrastructure}} for URNs.
 
}}
 
[[Category:Link templates]]
</noinclude>

Revision as of 16:26, 14 June 2019

forum search for skydiving FlightGear Forum

The following template description is not displayed when the template is inserted in an article.

Goal

This template can be used for encapsulating infrastructure links to search community archives (mainly forum, devel list and issue tracker), so that articles can be updated in a holistic fashion more easily.

Usage

{{search |mode= |keywords=}}
keywords
Keywords or search string to use. Defaults to skydiving.
mode
The infrastructure to search. Defaults to the forum.

Examples

{{search}}

forum search for skydiving FlightGear Forum

{{search |keywords=wingman}}

forum search for wingman FlightGear Forum

Known issues

Currently (June 2019) only searching the forum is supported.

Technical details

This template uses {{project infrastructure}} for URNs.