Geen bewerkingssamenvatting |
Geen bewerkingssamenvatting |
||
(71 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= | |||
|label= | |||
|form= | |form= | ||
|concept= | |concept= | ||
Regel 17: | 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__<p class="lead | </noinclude><includeonly>__NOTOC__{{#if:{{{lead|}}}|<p class="lead">{{{lead|}}}</p><!-- | ||
-->{{#ifeq:{{{show create button}}}|true|{{#if:{{CURRENTLOGGEDUSER}}|<div class="actionbar"> | -->|}} | ||
<div class="emm-hide-me-inside-ve"> | |||
{{#ifeq:{{{show create button}}}|true|{{#if:{{CURRENTLOGGEDUSER}}|<div class="actionbar"> | |||
{{#formlink:form={{{form|}}} | {{#formlink:form={{{form|}}} | ||
|{{{category|}}}[Topcontext]={{#show:{{PAGENAME}}|?Topcontext|link=none}} | |{{{category|}}}[Topcontext]={{#show:{{PAGENAME}}|?Topcontext|link=none}} | ||
Regel 34: | Regel 42: | ||
}}</div> | }}</div> | ||
|}} | |}} | ||
|}}<!-- | |}}</div> | ||
-->{{#vardefine:list|{{{pagenames|{{#ask:[[Concept:{{{concept|}}}]] | <!-- | ||
-->{{#vardefine:list|{{{pagenames|{{#ask:{{{query|[[Concept:{{{concept|}}}]]}}} | |||
|link=none | |link=none | ||
|limit={{{limit|}}} | |limit={{{limit|3}}} | ||
|sort={{{sort|}}} | |sort={{{sort|}}} | ||
|order={{{order|}}} | |order={{{order|}}} | ||
|searchlabel= | |||
}} | }} | ||
}}} | }}} | ||
}}<!-- | }}<!-- | ||
-->{{{{{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}}</includeonly> | -->{{{{{formatter|}}} footer | ||
|link more text={{{link more text|{{int:EMM Text Read more}}}}} | |||
|read more page={{{read more page|}}} | |||
}}</includeonly> | |||
<noinclude> | <noinclude> | ||
<templatedata> | <templatedata> | ||
{ | { | ||
"params": { | |||
"lead": { | |||
"label": { | |||
"nl": "Leadtekst", | |||
"en": "Title" | |||
}, | |||
"description": { | |||
"nl": "(Inleidende) tekst boven het blok", | |||
"en": "Title above Building Block" | |||
} | |||
}, | |||
"title": { | |||
"label": { | |||
"nl": "Titel header FMT Featured", | |||
"en": "Title heading FMT Featured" | |||
}, | |||
"description": { | |||
"nl": "Titel headingFMT Featured", | |||
"en": "Title heading FMT Featured" | |||
} | |||
}, | |||
"show create button": { | |||
"label": { | |||
"nl": "Nieuw item aanmaken knop", | |||
"en": "Create new item button" | |||
}, | |||
"description": { | |||
"nl": "Nieuw item aanmaken knop", | |||
"en": "Create new item button" | |||
} | |||
}, | |||
"form": { | |||
"label": { | |||
"nl": "Formulier", | |||
"en": "Form" | |||
}, | |||
"description": { | |||
"nl": "Te gebruiken formulier", | |||
"en": "Form create items" | |||
} | |||
}, | |||
"category": { | |||
"label": { | |||
"nl": "Categorie", | |||
"en": "Category" | |||
}, | |||
"description": { | |||
"nl": "Categorie", | |||
"en": "Category" | |||
} | |||
}, | |||
"container page": { | |||
"label": { | |||
"nl": "Pagina", | |||
"en": "Container page" | |||
}, | |||
"description": "Bovenste pagina", | |||
"type": "wiki-page-name" | |||
}, | |||
"event type": { | |||
"label": { | |||
"nl": "Event soort", | |||
"en": "Event type" | |||
}, | |||
"description": { | |||
"nl": "Event soort(News, Event)", | |||
"en": "Type news(News, Event)" | |||
} | |||
}, | |||
"link create text": { | |||
"label": { | |||
"nl": "Text link item toevoegen", | |||
"en": "Link create text" | |||
}, | |||
"description": { | |||
"nl": "Text link naar het formulier", | |||
"en": "Text link to form" | |||
}, | |||
"suggested": true | |||
}, | |||
"formatter": { | |||
"label": { | |||
"nl": "Formatter", | |||
"en": "Formatter" | |||
}, | |||
"description": { | |||
"nl": "Te gebruiken formatter", | |||
"en": "Choose formatter" | |||
}, | |||
"example": "FMT Card, FMT Card cover, FMT List, FMT Item, FMT Featured", | |||
"required": true | |||
}, | |||
"concept": { | |||
"label": "Concept", | |||
"description": { | |||
"nl": "Mediawiki Concept te gebruiken in een ask query", | |||
"en": "Mediawiki Concept selection part of ask query" | |||
}, | |||
"suggested": true, | |||
"autovalue": "" | |||
}, | |||
"limit": { | |||
"label": { | |||
"nl": "Limiet", | |||
"en": "Limit" | |||
}, | |||
"description": { | |||
"nl": "Maximaal aantal resultaten", | |||
"en": "Result limit" | |||
}, | |||
"suggested": true, | |||
"autovalue": "3", | |||
"required": true | |||
}, | |||
"sort": { | |||
"label": { | |||
"nl": "Sortering", | |||
"en": "Sort order" | |||
}, | |||
"suggested": true | |||
}, | |||
"order": { | |||
"label": { | |||
"nl": "Volgorde", | |||
"en": "Order" | |||
}, | |||
"suggested": true | |||
}, | |||
"show button": { | |||
"label": { | |||
"nl": "Toon Meer-knop", | |||
"en": "Show Read more button" | |||
}, | |||
"description": "Meer-knop tonen (ja/nee)", | |||
"example": "true", | |||
"autovalue": "true", | |||
"suggested": true | |||
}, | |||
"show date": { | |||
"label": { | |||
"nl": "Toon datum", | |||
"en": "Show date" | |||
}, | |||
"description": { | |||
"nl": "Datum tonen", | |||
"en": "Show date" | |||
}, | |||
"example": "true", | |||
"autovalue": "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", | |||
"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 |