Hi fellow wiki editors!

To help newly registered users get more familiar with the wiki (and maybe older users too) there is now a {{Welcome to the wiki}} template. Have a look at it and feel free to add it to new users discussion pages (and perhaps your own).

I have tried to keep the template short, but meaningful. /Johan G

Difference between revisions of "Template:Search"

From FlightGear wiki
Jump to: navigation, search
(doc; cat: Link templates)
 
(3 intermediate revisions by one other user 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= | 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=
   
+
__NOTOC__
</noinclude> {{project infrastructure|{{{channel|forum}}}|urn=search.php?st=0&sk=t&sd=d&sr=posts&keywords={{{keywords|skydiving}}} {{{channel|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>

Latest revision as of 11: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.