k (Maickelfu heeft de pagina Sjabloon:BB More like this hernoemd naar Sjabloon:BB Semantic search zonder een doorverwijzing achter te laten) |
Geen bewerkingssamenvatting |
||
(70 tussenliggende versies door 2 gebruikers niet weergegeven) | |||
Regel 2: | Regel 2: | ||
[[Category:BB]] | [[Category:BB]] | ||
[[Category:EMont core]] | [[Category:EMont core]] | ||
This is the "BB | This is the "BB Semantic search" template. | ||
It should be called in the following format: | It should be called in the following format: | ||
<pre> | <pre> | ||
{{BB | {{BB Semantic search | ||
| | |context= | ||
|pagenames= | |||
|limit= | |limit= | ||
|filter= | |||
|title= | |||
|formatter= | |||
|show date= | |||
|label= | |||
|container page= | |||
|show button= | |||
|read more page= | |||
}} | }} | ||
</pre> | </pre> | ||
</noinclude> | </noinclude> | ||
<includeonly> | <includeonly><!-- | ||
__NOTOC__ | -->__NOTOC__<!-- | ||
{{#vardefine: | -->{{#vardefine:pages| | ||
| | {{BB Semantic search parser | ||
|context={{{context|}}} | |||
|document type={{{document type|}}} | |||
|theme={{{theme|}}} | |||
|filter={{{filter|}}} | |||
|limit={{Page limit|pagenames={{{pagenames|}}}|limit={{{limit|0}}}}} | |||
|searchstring={{{search|}}} | |||
|exclude_page_search={{{exclude_page_search|}}} | |||
| | |||
}} | }} | ||
| | |}}<!-- | ||
| | -->{{#vardefine:pages|{{{pagenames|}}},{{#var:pages}}}}<!-- | ||
| | -->{{{{{formatter|}}} header | ||
|title={{{title|}}} | |||
|}}<!-- | |||
-->{{#arraymap:{{#var:pages}}|,|item| | |||
{{{{{formatter|}}} | |||
|pagename=item | |||
|label={{{label|}}} | |||
|show button={{{show button|}}} | |||
|show date={{{show date|}}} | |||
}} | }} | ||
}} | |}}<!-- | ||
|}} | -->{{{{{formatter|}}} footer | ||
{{{{{ | |link more text={{{link more text|{{int:EMM Text Read more}}}}} | ||
| | |read more page={{{read more page|}}} | ||
}} | }} | ||
</includeonly> | </includeonly> | ||
<noinclude> | <noinclude> | ||
Regel 56: | Regel 54: | ||
{ | { | ||
"params": { | "params": { | ||
"context": { | |||
"label": { | |||
"nl": "Context", | |||
"en": "Context" | |||
}, | |||
"description": "Context waarin te zoeken", | |||
"autovalue": "", | |||
"required": true | |||
}, | |||
"pagenames": { | |||
"label": { | |||
"nl": "Pagina's", | |||
"en": "Pagenames" | |||
}, | |||
"description": "Vaste lijst weer te geven pagina's", | |||
"autovalue": "" | |||
}, | |||
"title": { | "title": { | ||
"label": { | "label": { | ||
Regel 61: | Regel 76: | ||
"en": "Title" | "en": "Title" | ||
}, | }, | ||
"description": " | "description": { | ||
"example": " | "nl": "Titel boven het blok", | ||
"en": "Title above More like this" | |||
}, | |||
"example": "Gerelateerde pagina's", | |||
"suggested": true, | |||
"type": "string", | |||
"autovalue": "", | |||
"default": "Bekijk ook" | |||
}, | }, | ||
" | "formatter": { | ||
"label": "Formatter", | "label": { | ||
"description": " | "nl": "Formatter", | ||
"example": "Card | "en": "Formatter" | ||
"required": true | }, | ||
"description": { | |||
"nl": "Formatting-template", | |||
"en": "Choose formatter" | |||
}, | |||
"example": "FMT Card, FMT Card cover, FMT List", | |||
"required": true, | |||
"type": "wiki-template-name" | |||
}, | }, | ||
"button": { | "show button": { | ||
"label": "Lees meer knop | "label": { | ||
"description": "Lees meer knop | "nl": "Toon Lees meer-knop", | ||
"en": "Show Read more button" | |||
}, | |||
"description": "Wel of niet tonen Lees meer-knop", | |||
"example": "true", | "example": "true", | ||
"autovalue": "true" | "autovalue": "true", | ||
"suggested": true | |||
}, | }, | ||
"date": { | "show date": { | ||
"label": " | "label": { | ||
"description": " | "nl": "Toon datum", | ||
"en": "Show date" | |||
}, | |||
"description": { | |||
"nl": "Wel of niet tonen datum", | |||
"en": "Show date" | |||
}, | |||
"example": "true", | "example": "true", | ||
"autovalue": "true" | "autovalue": "true", | ||
"suggested": true | |||
}, | |||
"label": { | |||
"label": "Label", | |||
"description": "Tekst label in afbeelding", | |||
"autovalue": "" | |||
}, | }, | ||
"filter": { | "filter": { | ||
"label": "Filter", | "label": { | ||
"description": "Filter | "nl": "Filter", | ||
"example": " | "en": "Filter" | ||
"autovalue": " | }, | ||
"description": { | |||
"nl": "Filteren op bestanden", | |||
"en": "Filter file" | |||
}, | |||
"example": "file", | |||
"autovalue": "", | |||
"suggested": true | |||
}, | }, | ||
"limit": { | "limit": { | ||
"label": "Limit", | "label": { | ||
"description": " | "nl": "Limiet", | ||
"en": "Limit" | |||
}, | |||
"description": { | |||
"nl": "Maximaal aantal te tonen resultaten", | |||
"en": "Result limit" | |||
}, | |||
"autovalue": "3", | "autovalue": "3", | ||
" | "required": true | ||
}, | |||
"container page": { | |||
"label": { | |||
"nl": "Overkoepelende pagina", | |||
"en": "container page" | |||
}, | |||
"description": "Overkoepelende pagina", | |||
"autovalue": "" | |||
}, | |||
"link more text": { | |||
"autovalue": "", | |||
"label": "Tekst Meer-knop", | |||
"description": "Tekst Meer-knop" | |||
}, | |||
"read more page": { | |||
"label": "Link Meer-knop", | |||
"description": "Link Meer-knop" | |||
} | } | ||
}, | }, | ||
"description": " | "description": "Bouwblok gerelateerde pagina's", | ||
"paramOrder": [ | "paramOrder": [ | ||
"context", | |||
"pagenames", | |||
"filter", | |||
"limit", | |||
"formatter", | |||
"title", | "title", | ||
" | "show date", | ||
" | "label", | ||
" | "container page", | ||
" | "show button", | ||
" | "read more page", | ||
] | "link more text" | ||
], | |||
"format": "block" | |||
} | } | ||
</templatedata> | </templatedata> | ||
</noinclude> | </noinclude> |
Huidige versie van 18 apr 2024 om 10:08
This is the "BB Semantic search" template. It should be called in the following format:
{{BB Semantic search |context= |pagenames= |limit= |filter= |title= |formatter= |show date= |label= |container page= |show button= |read more page= }}
Bouwblok gerelateerde pagina's
Parameter | Beschrijving | Type | Status | |
---|---|---|---|---|
Context | context | Context waarin te zoeken
| Onbekend | vereist |
Pagina's | pagenames | Vaste lijst weer te geven pagina's
| Onbekend | optioneel |
Filter | filter | Filteren op bestanden
| Onbekend | voorgesteld |
Limiet | limit | Maximaal aantal te tonen resultaten
| Onbekend | vereist |
Formatter | formatter | Formatting-template
| Sjabloon | vereist |
Titel | title | Titel boven het blok
| Tekenreeks | voorgesteld |
Toon datum | show date | Wel of niet tonen datum
| Onbekend | voorgesteld |
Label | label | Tekst label in afbeelding
| Onbekend | optioneel |
Overkoepelende pagina | container page | Overkoepelende pagina
| Onbekend | optioneel |
Toon Lees meer-knop | show button | Wel of niet tonen Lees meer-knop
| Onbekend | voorgesteld |
Link Meer-knop | read more page | Link Meer-knop | Onbekend | optioneel |
Tekst Meer-knop | link more text | Tekst Meer-knop
| Onbekend | optioneel |