Geen bewerkingssamenvatting |
Geen bewerkingssamenvatting |
||
(54 tussenliggende versies door 2 gebruikers niet weergegeven) | |||
Regel 6: | Regel 6: | ||
<pre> | <pre> | ||
{{BB Semantic search | {{BB Semantic search | ||
|context= | |||
|pagenames= | |||
|limit= | |||
|filter= | |||
|title= | |||
|formatter= | |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 | |||
{{{{{formatter|}}} header | |||
|title={{{title|}}} | |title={{{title|}}} | ||
}} | |}}<!-- | ||
{{#arraymap:{{#var: | -->{{#arraymap:{{#var:pages}}|,|item| | ||
{{{{{formatter|}}} | {{{{{formatter|}}} | ||
|pagename=item | |pagename=item | ||
|label={{{label|}}} | |||
|show button={{{show button|}}} | |show button={{{show button|}}} | ||
|show date={{{show date|}}} | |show date={{{show date|}}} | ||
}} | }} | ||
|}} | |}}<!-- | ||
{{{{{formatter| | -->{{{{{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": "Titel boven | "description": { | ||
"example": " | "nl": "Titel boven het blok", | ||
"suggested": true | "en": "Title above More like this" | ||
}, | |||
"example": "Gerelateerde pagina's", | |||
"suggested": true, | |||
"type": "string", | |||
"autovalue": "", | |||
"default": "Bekijk ook" | |||
}, | }, | ||
"formatter": { | "formatter": { | ||
Regel 71: | Regel 92: | ||
}, | }, | ||
"description": { | "description": { | ||
"nl": " | "nl": "Formatting-template", | ||
"en": "Choose formatter" | "en": "Choose formatter" | ||
}, | }, | ||
"example": "FMT Card, FMT Card cover, FMT List", | "example": "FMT Card, FMT Card cover, FMT List", | ||
"required": true | "required": true, | ||
"type": "wiki-template-name" | |||
}, | }, | ||
"show button": { | "show button": { | ||
"label": { | "label": { | ||
"nl": "Lees meer knop | "nl": "Toon Lees meer-knop", | ||
"en": "Show Read more button" | "en": "Show Read more button" | ||
}, | }, | ||
"description": " | "description": "Wel of niet tonen Lees meer-knop", | ||
"example": "true", | "example": "true", | ||
"autovalue": "true", | "autovalue": "true", | ||
Regel 89: | Regel 111: | ||
"show date": { | "show date": { | ||
"label": { | "label": { | ||
"nl": " | "nl": "Toon datum", | ||
"en": "Show date" | "en": "Show date" | ||
}, | }, | ||
"description": { | "description": { | ||
"nl": " | "nl": "Wel of niet tonen datum", | ||
"en": "Show date" | "en": "Show date" | ||
}, | }, | ||
Regel 99: | Regel 121: | ||
"autovalue": "true", | "autovalue": "true", | ||
"suggested": true | "suggested": true | ||
}, | |||
"label": { | |||
"label": "Label", | |||
"description": "Tekst label in afbeelding", | |||
"autovalue": "" | |||
}, | }, | ||
"filter": { | "filter": { | ||
"label": "Filter", | "label": { | ||
"nl": "Filter", | |||
"en": "Filter" | |||
}, | |||
"description": { | "description": { | ||
"nl": " | "nl": "Filteren op bestanden", | ||
"en": "Filter | "en": "Filter file" | ||
}, | }, | ||
"example": " | "example": "file", | ||
"autovalue": " | "autovalue": "", | ||
"suggested": true | "suggested": true | ||
}, | }, | ||
Regel 116: | Regel 146: | ||
}, | }, | ||
"description": { | "description": { | ||
"nl": " | "nl": "Maximaal aantal te tonen resultaten", | ||
"en": "Result limit" | "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": " | "label": "Link Meer-knop", | ||
"description": " | "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", | "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 |