Difference between revisions of "Template:Search"

From FlightGear wiki
Jump to: navigation, search
m
 
(9 intermediate revisions by 2 users not shown)
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= | search/?q=}}{{{keywords|skydiving}}}&mail_list=flightgear-devel {{{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=
   
+
__NOTOC__
</noinclude> {{project infrastructure|{{{channel|forum}}}|urn=search.php?st=0&sk=t&sd=d&sr=posts&keywords={{{keywords|skydiving}}} 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}}
 +
 
 +
{{obr}}search {{!}}mode=mailing lists{{!}}keywords=CameraGroup{{cbr}}
 +
{{search |mode=mailing lists|keywords=CameraGroup}}
 +
 
 +
 
 +
== 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>

Latest revision as of 11:38, 11 July 2020

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

{{search |mode=mailing lists|keywords=CameraGroup}}

mailing lists search for CameraGroup FlightGear Mailing Lists


Known issues

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

Technical details

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