Jump to content

Template:Search results

From Appropedia
Template documentationedit documentation

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}}
Executive Summary: The non-profit organization OLPC (One Laptop Per Child) is looking for a cheap and effective way to power their laptops. One of the ways to obtain this power is though . About 15 watts of power must be outputted through a solar panel that is connected to the laptop, and this solar panel cannot be more than $80 in price, nor can it be too large to comfortably carry around with the laptop. It would also be beneficial for the solar powered laptop to also be durable, functional, and energy efficient.

The problem is that this laptop is to be distributed to children in 3rd world countries who do not have a lot of money. Many of them do not have the wealth to continuously maintain electricity throughout their homes, nor do they have the ability to access any sort of electricity at any time, which is why if it was solar powered this would be of much help to them.
The solution, therefore, is to create a solar panel that can be connected to the laptop. This way it can use the solar energy of the sun and convert it into electricity to run the laptop, and this would take out the necessity of charging it though a plug-in. The final product turned out to be a 9 watt solar panel that is surrounded in a casing of PVC to protect the solar panel from accidental damages and other harm such as water damage. It is connected to legs which adjust the solar panel so the rays of the sun can hit it at the optimum angle in order to give it its maximum power output.

The budget comes out to $76.00. It costs $64.00 to acquire the laptop and ship it out to our location, $2.00 for the plug to charge it, $10.00 for the PVC casing, and $10.00 for the wires, hinges, and legs. This is slightly over the projected budget of $80.00, but if the solar panel was to be mass produced then this would decrease the cost of it, therefore putting the limit under $80.00.
This gallery shows different photovoltaic systems at Humboldt County.
Robins were causing shading on the solar panel. This shading was interfering with the efficiency of the panel. This was causing extra work for the farmer, it is a long walk back to replace the battery with a fresh one from the barn where there is a 110v charger. After replacing the battery the panel had to be cleaned off as well.
If you have more than a single PV panel, or more than a single source of power ( and PV) then you need a charge controller. This piece of hardware will provide the battery (or batteries) with the optimal current to keep them charged. More expensive models may have a number of other features like:

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[Edit template data]

    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.