Geen bewerkingssamenvatting |
|||
(36 tussenliggende versies door 3 gebruikers niet weergegeven) | |||
Regel 4: | Regel 4: | ||
This is the "BB Query" template. | This is the "BB Query" template. | ||
It should be called in the following format: | It should be called in the following format: | ||
<pre> | <pre> | ||
{{BB Query | {{BB Query | ||
| | |pagenames= | ||
|formatter= | |formatter= | ||
|lead= | |lead= | ||
|title= | |title= | ||
|label= | |||
|form= | |form= | ||
|concept= | |concept= | ||
Regel 18: | Regel 20: | ||
|event type= | |event type= | ||
|container page= | |container page= | ||
|show create button= | |||
|show date= | |show date= | ||
|show button= | |show button= | ||
|link create text= | |link create text= | ||
|link more text= | |||
|read more page= | |||
}} | }} | ||
</pre> | </pre> | ||
</noinclude><includeonly>__NOTOC__{{#if:{{{lead|}}}|<p class="lead | </noinclude><includeonly>__NOTOC__{{#if:{{{lead|}}}|<p class="lead">{{{lead|}}}</p><!-- | ||
-->|}} | -->|}} | ||
<div class="emm-hide-me-inside-ve"> | |||
{{#ifeq:{{{show create button}}}|true|{{#if:{{CURRENTLOGGEDUSER}}|<div class="actionbar"> | {{#ifeq:{{{show create button}}}|true|{{#if:{{CURRENTLOGGEDUSER}}|<div class="actionbar"> | ||
{{#formlink:form={{{form|}}} | {{#formlink:form={{{form|}}} | ||
Regel 36: | Regel 42: | ||
}}</div> | }}</div> | ||
|}} | |}} | ||
|}}<!-- | |}}</div> | ||
-->{{#vardefine:list|{{{pagenames|{{#ask:[[Concept:{{{concept|}}}]] | <!-- | ||
-->{{#vardefine:list|{{{pagenames|{{#ask:{{{query|[[Concept:{{{concept|}}}]]}}} | |||
|link=none | |link=none | ||
|limit={{{limit|3}}} | |limit={{{limit|3}}} | ||
Regel 46: | Regel 53: | ||
}}} | }}} | ||
}}<!-- | }}<!-- | ||
-->{{{{{formatter|}}} header | | -->{{ {{{formatter|}}} header |title={{{title|}}} }}<!-- | ||
-->{{#arraymap:{{#var:list}}|,|item| | -->{{#arraymap:{{#var:list}}|,|item| | ||
{{{{{formatter|}}} | {{{{{formatter|}}} | ||
|pagename=item | |pagename=item | ||
|projectcode={{{projectcode|}}} | |||
|archive={{{archive|}}} | |||
|label={{{label|}}} | |||
|show button={{{show button|}}} | |show button={{{show button|}}} | ||
|show date={{{show date|}}} | |show date={{{show date|}}} | ||
}}|}}<!-- | }}|}}<!-- | ||
-->{{{{{formatter|}}} footer | -->{{{{{formatter|}}} footer | ||
|link more text={{{link more text}}} | |link more text={{{link more text|{{int:EMM Text Read more}}}}} | ||
| | |read more page={{{read more page|}}} | ||
}}</includeonly> | }}</includeonly> | ||
<noinclude> | <noinclude> | ||
Regel 63: | Regel 73: | ||
"lead": { | "lead": { | ||
"label": { | "label": { | ||
"nl": " | "nl": "Leadtekst", | ||
"en": "Title" | "en": "Title" | ||
}, | }, | ||
"description": { | "description": { | ||
"nl": " | "nl": "(Inleidende) tekst boven het blok", | ||
"en": "Title above Building Block" | "en": "Title above Building Block" | ||
} | } | ||
Regel 158: | Regel 168: | ||
"en": "Mediawiki Concept selection part of ask query" | "en": "Mediawiki Concept selection part of ask query" | ||
}, | }, | ||
"suggested": true | "suggested": true, | ||
"autovalue": "" | |||
}, | }, | ||
"limit": { | "limit": { | ||
Regel 166: | Regel 177: | ||
}, | }, | ||
"description": { | "description": { | ||
"nl": " | "nl": "Maximaal aantal resultaten", | ||
"en": "Result limit" | "en": "Result limit" | ||
}, | }, | ||
Regel 189: | Regel 200: | ||
"show button": { | "show button": { | ||
"label": { | "label": { | ||
"nl": " | "nl": "Toon Meer-knop", | ||
"en": "Show Read more button" | "en": "Show Read more button" | ||
}, | }, | ||
"description": " | "description": "Meer-knop tonen (ja/nee)", | ||
"example": "true", | "example": "true", | ||
"autovalue": "true", | "autovalue": "true", | ||
Regel 199: | Regel 210: | ||
"show date": { | "show date": { | ||
"label": { | "label": { | ||
"nl": " | "nl": "Toon datum", | ||
"en": "Show date" | "en": "Show date" | ||
}, | }, | ||
Regel 209: | Regel 220: | ||
"autovalue": "true", | "autovalue": "true", | ||
"suggested": true | "suggested": true | ||
}, | |||
"pagenames": { | |||
"label": "Pagenames" | |||
}, | |||
"label": { | |||
"label": "Label", | |||
"description": "Tekst label in afbeelding", | |||
"autovalue": "" | |||
}, | |||
"link more text": { | |||
"autovalue": "", | |||
"label": "Tekst Meer-knop", | |||
"description": "Tekst Meer-knop" | |||
}, | |||
"query": {}, | |||
"read more page": { | |||
"label": "Link Meer-knop", | |||
"description": "Link Meer-knop" | |||
} | } | ||
}, | }, | ||
"format": "\n{{_\n|_ = _\n}}\n", | "format": "\n{{_\n|_ = _\n}}\n", | ||
"description": "BB Query" | "description": "BB Query", | ||
"paramOrder": [ | |||
"formatter", | |||
"concept", | |||
"pagenames", | |||
"lead", | |||
"title", | |||
"show create button", | |||
"form", | |||
"category", | |||
"container page", | |||
"event type", | |||
"link create text", | |||
"limit", | |||
"sort", | |||
"order", | |||
"label", | |||
"show date", | |||
"show button", | |||
"link more text", | |||
"read more page", | |||
"query" | |||
] | |||
} | } | ||
</templatedata> | </templatedata> | ||
</noinclude> | </noinclude> |
Huidige versie van 4 nov 2024 om 13:18
This is the "BB Query" template. It should be called in the following format:
{{BB Query |pagenames= |formatter= |lead= |title= |label= |form= |concept= |limit= |sort= |order= |category= |event type= |container page= |show create button= |show date= |show button= |link create text= |link more text= |read more page= }}
BB Query
Parameter | Beschrijving | Type | Status | |
---|---|---|---|---|
Formatter | formatter | Te gebruiken formatter
| Onbekend | vereist |
Concept | concept | Mediawiki Concept te gebruiken in een ask query
| Onbekend | voorgesteld |
Pagenames | pagenames | geen beschrijving | Onbekend | optioneel |
Leadtekst | lead | (Inleidende) tekst boven het blok | Onbekend | optioneel |
Titel header FMT Featured | title | Titel headingFMT Featured | Onbekend | optioneel |
Nieuw item aanmaken knop | show create button | Nieuw item aanmaken knop | Onbekend | optioneel |
Formulier | form | Te gebruiken formulier | Onbekend | optioneel |
Categorie | category | Categorie | Onbekend | optioneel |
Pagina | container page | Bovenste pagina | Paginanaam | optioneel |
Event soort | event type | Event soort(News, Event) | Onbekend | optioneel |
Text link item toevoegen | link create text | Text link naar het formulier | Onbekend | voorgesteld |
Limiet | limit | Maximaal aantal resultaten
| Onbekend | vereist |
Sortering | sort | geen beschrijving | Onbekend | voorgesteld |
Volgorde | order | geen beschrijving | Onbekend | voorgesteld |
Label | label | Tekst label in afbeelding
| Onbekend | optioneel |
Toon datum | show date | Datum tonen
| Onbekend | voorgesteld |
Toon Meer-knop | show button | Meer-knop tonen (ja/nee)
| Onbekend | voorgesteld |
Tekst Meer-knop | link more text | Tekst Meer-knop
| Onbekend | optioneel |
Link Meer-knop | read more page | Link Meer-knop | Onbekend | optioneel |
query | query | geen beschrijving | Onbekend | optioneel |