Jump to content

Template:Search results/doc

From Appropedia

Use this template to search and display search results in a wiki page.

Note! By default, pages in Category:Automatic translations and Category:Maintenance pages are excluded from the search results.

Parameters

[edit source]
  • query or 1 - Required! Search query. See mw:Help:CirrusSearch for all available search operators. For example:
    • water - Search all pages with "water" in the text or title
    • -water - Search all pages without "water" in the text or title
    • intitle:water - Search all pages with "water" in the title
    • -intitle:water - Search all pages without "water" in the title
    • incategory:Water - Search all pages in Category:Water
    • -incategory:Water - Search all pages not in Category:Water
    • linksto:Water - Search all pages that link to Water
    • -linksto:Water - Search all pages that don't link to Water
    • inlanguage:es - Search all Spanish pages
    • -inlanguage:en - Search all non-English pages
    • hastemplate:Page_data - Search all pages with Template:Page data
    • -hastemplate:Page_data - Search all pages without Template:Page data
    • subpageof:Water - Search all subpages of Water
    • -subpageof:Water - Search all pages that are not a subpage of Water
  • namespace - Namespace to search, defaults to the main namespace. For example:
    • namespace=2 - Search user pages (see namespace numbers)
    • namespace=* - Search all namespaces
  • limit - Max number of results, defaults to 10. For example:
    • limit=100 - Limit to 100 search results
    • limit=max - Maximum allowed number of results (5000)
  • sort - Sort criteria, defaults to 'relevance'. Allowed values:
    • sort=create_timestamp_asc - Oldest pages first
    • sort=create_timestamp_desc - Most recent pages first
    • sort=incoming_links_asc - Least linked pages first
    • sort=incoming_links_desc - Most linked pages first
    • sort=last_edit_asc - Most recently edited pages first
    • sort=last_edit_desc - Least recently edited pages first
    • sort=random - Random sorting
    • sort=relevance - Sort by relevance as determined by the search engine
  • format - Format of the search results, defaults to 'list'. Allowed values:
    • format=list - Return an unordered list (<ul>) of search results, linked to their pages
    • format=card - Return pretty search cards (see Template:Search results/card)
    • format=count - Return the total number of search results as a plain number
    • format=plain - Return a comma-separated list of plain titles for further processing
    • format=json - Return a JSON object for further processing, for example in a Lua module

Examples

[edit source]
{{Search results|panel}}

Search operators

[edit source]
{{Search results|panel incategory:Photovoltaics linksto:Solar_energy}}

Parameters

[edit source]
{{Search results|panel|limit=5|sort=create_timestamp_asc}}

Card format

[edit source]
{{Search results|panel|format=card|limit=5}}
The purpose of this Solar Panel project is to show how to construct a solar panel by yourself at home, that produces enough power to charge any small devices or a small battery.
Executive Summary: (OLPC) is a non-profit organization that has provided children in some of the most remote areas on earth with the opportunity to meet their true educational potential. The OLPC organization has addressed the critical educational crisis facing developing countries with the development of the XO Laptop. Unfortunately, the majority children in these countries have no access to electricity, and consequently, no possibility of powering the laptops. Solar energy has thus been proposed as a convenient alternative to electrical energy, which requires a great deal of infrastructure. Although previous attempts have been made to find a solar solution to the XO, they have been unsuccessful at identifying an inexpensive and effective solution to this problem.
The scope of the research for this project involved, initially, understanding the science of solar panels as well as identifying the technical specifications and limitations of the XO, to eventually select an optimum solar panel for this project. After selecting several possible solar panels for the solution, it was immediately identified that the limiting factor in this project was the limited budget. After several unsuccessful attempts to purchase a solar panel due to cost, delivery issues, and being limited to products available in Canada, a solar panel was selected that met the technical requirements of the XO.
The final prototype was comprised of a solar panel with a compatible connector encased in a wood enclosure consisting of a padded interior of weather stripping and soft foam, and a hinged lid with Velcro fasteners and carrying handle. It also included a retractable leg to allow the panel to be inclined at angles up to 45°, which would accommodate required angles based on geographical and latitudinal locations of the target countries, for the optimum collection of the sun's rays. A shadow stick was included to manually adjust the case to the required angle.
Minimal testing was conducted, due to the resulting limited timeframe due to associated purchase issues, and consequently, limited accessibility of the XO and uncooperative weather conditions once the panel was received. Recommendations regarding testing include testing the power efficiency of the panel, as well as strength tests to assess the durability of the casing, and testing the complementary power outputs dependant on angle of inclination and geographic location. Additional testing should be conducted to assess the effectiveness of the solar panels' capability of powering the XO, as well as possibly charging its battery.
Although the scope of the project was to provide a prototype design that was portable, durable, and inexpensive, the final prototype was not the optimum solution. The optimal solution to this problem can correspondingly be found once additional funds are allocated for the purchase of the best solar panel. It is unrealistic to find the optimum solution when the one-off cost of the solar panel equates to the proposed mass production costs for the final product when millions of units would be purchased. With the decreasing cost of solar panels and the correspondingly reduced cost associated with large purchase orders, the prospect of selecting a thin-filmed flexible solar panel that could be rolled is within reach. The flexible panel could be protected with a waterproof sleeve, similar to those housing camping gear, and include an external pocket to accommodate a foldable stand for acquiring the appropriate angle of inclination depending on geographic location. The result would be a durable, portable, lightweight, technically effective solar panel, which would be inexpensive once purchased in mass quantities, and could be assembled locally to reduce costs and provide financial stimulus to the targeted countries.

Search in more than one category

[edit source]

Searching the term 'water' in pages that belong to both Category: Projects and Category:Literature reviews:

{{Search results|water incategory:"Projects" incategory:"Literature reviews"|limit=5|format=list}}

Template data

[edit source]

Use this template to search and display search results in a wiki page.

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Queryquery 1

Search query

Example
solar panel
Stringrequired
Namespacenamespace

Namespace to search (use * for all)

Default
0
Example
2
Numberoptional
Limitlimit

Max number of results (use 'max' for maximum allowed)

Default
10
Example
100
Numberoptional
Sortsort

Sort criteria

Suggested values
create_timestamp_asc create_timestamp_desc incoming_links_asc incoming_links_desc last_edit_asc last_edit_desc random relevance
Default
relevance
Stringoptional
Formatformat

Format of the search results

Suggested values
list card count plain json
Default
list
Example
card
Stringsuggested
Templatetemplate

Template to use with the template format

Templateoptional
Classclass

Additional CSS class

Suggested values
grid columns
Example
grid
Stringoptional
Automatic translationsautomatic-translations

Include automatic translations in the search results?

Default
no
Example
yes
Booleanoptional
Maintenance pagesmaintenance-pages

Include maintenance pages in the search results?

Default
no
Example
yes
Booleanoptional

See also

[edit source]
Cookies help us deliver our services. By using our services, you agree to our use of cookies.