Vorlage:ProjektSearch: Unterschied zwischen den Versionen
Aus OHO - search engine for sustainable open hardware projects
Zeile 3: | Zeile 3: | ||
<div class="search_project_results"> | <div class="search_project_results"> | ||
{{#mwCategoryLinks: | {{#mwCategoryLinks: | ||
{{#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]:}} | |||
<div class="gallery_results"> | <div class="gallery_results"> | ||
{{# | {{#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 | ||
|80 | |||
}} | }} | ||
</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.