Vorlage:ProjektSearch: Unterschied zwischen den Versionen

Aus OHO - search engine for sustainable open hardware projects
Wechseln zu:Navigation, Suche
Zeile 3: Zeile 3:
<div class="search_project_results">
<div class="search_project_results">
{{#mwCategoryLinks:
{{#mwCategoryLinks:
{{#ask:
  {{#if: {{{search|}}}|{{#arraymap:{{{search|}}}|<nowiki> </nowiki>|x|[[Projectname::~*x*]]|\n\n}}}}
  {{#if: {{{search|}}}|{{#arraymap:{{{search|}}}|<nowiki> </nowiki>|x|[[Projectname::~*x*]]|\n\n}}}}
  {{#if: {{{licence|}}}|[[Licence::{{{licence|}}}]]}}  
  {{#if: {{{licence|}}}|[[Licence::{{{licence|}}}]]}}  
Zeile 84: Zeile 83:
  |headers=hide
  |headers=hide
}}
}}
|@@#@@|@@-@@|ProjektSearch|subcat|[x] kategorien gefunden für “{{{search|}}}”:|[x] projekte gefunden für “{{{search|}}}”[catlink]:}}
|ProjektSearch|subcat|[x] kategorien gefunden für “{{{search|}}}”:|[x] projekte gefunden für “{{{search|}}}”[catlink]:}}


<div class="gallery_results">
<div class="gallery_results">
{{#ask:
{{#askPaginated:
  {{#if: {{{search|}}}|{{#arraymap:{{{search|}}}|<nowiki> </nowiki>|x|[[Projectname::~*x*]]|\n\n}}}}
  {{#if: {{{search|}}}|{{#arraymap:{{{search|}}}|<nowiki> </nowiki>|x|[[Projectname::~*x*]]|\n\n}}}}
  {{#if: {{{subcat|}}}|[[Category:{{{subcat|}}}]]}}  
  {{#if: {{{subcat|}}}|[[Category:{{{subcat|}}}]]}}  
Zeile 165: Zeile 164:
   {{#if: {{{technology_readyness_level|}}}|[[TechnologyReadynessLevel::{{{technology_readyness_level|}}}]]}}  
   {{#if: {{{technology_readyness_level|}}}|[[TechnologyReadynessLevel::{{{technology_readyness_level|}}}]]}}  
  }}
  }}
  |?Desc
  |?Desc;?Projectimage=Image;?Licence;?ContainsPdfDrawings;?Firstin;?CadFilesAreInEditableFormat;format=template;template=ProjektResults;link=none;class=search_items_results_page pagination-container;sort=ContainsPdfDrawings,;order=desc,asc
|?Projectimage=Image
|80
|?Licence
|?ContainsPdfDrawings
|?Firstin
|?CadFilesAreInEditableFormat
|format=listwidget
|headers=show
|template=ProjektResults
|link=none
|limit=1000
|widget=pagination
|pageitems=80
|class=search_items_results_page pagination-container
|sort=ContainsPdfDrawings,
|order=desc,asc
}}
}}
</div>
</div>

Version vom 2. März 2022, 01:47 Uhr

This is the 'ProjektSearch' template. It should be called via the Form:ProjektSearch form.

OPEN HARDWARE OBSERVATORY 2020
| |
|||