No edit summary |
No edit summary |
||
| (21 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
<includeonly> | |||
<div class="createsearch">{{#if:{{{title|}}}|<h2>{{{title|}}}</h2>}} | |||
{{#if:{{#user:}}| | |||
{{#if:{{{create|}}}| | |||
{{Create | {{Create | ||
|type={{{type|}}} | |type={{{type|}}} | ||
| Line 5: | Line 9: | ||
|text={{{text|{{int:Create}}}}} | |text={{{text|{{int:Create}}}}} | ||
}} | }} | ||
}} | }} | ||
}}</div> | |||
{{{{{formatter|list}}} | |||
|search={{{search|}}} | |||
|filter={{{filter|}}} | |||
|filter theme={{{filter theme|}}} | |||
|categories={{{categories|{{{group|}}},{{{type|}}},{{{page|}}}}}} | |||
|formatter={{{formatter|list}}} | |||
|sort={{{sort|page}}} | |||
|order={{{order|asc}}} | |||
|limit={{{limit|}}} | |||
|exclude={{{exclude|}}} | |||
}} | |||
</includeonly> | |||
<noinclude> | |||
<templatedata> | |||
{ | |||
"description": { | |||
"en": "A template to generate a creation button and a list of pages filtered by category.", | |||
"nl": "Een sjabloon om een aanmaakknop en een lijst met pagina's gefilterd op categorie te genereren." | |||
}, | |||
"params": { | |||
"type": { | |||
"label": { | |||
"en": "Type", | |||
"nl": "Type" | |||
}, | |||
"description": { | |||
"en": "The category type (e.g., Project, Class). Used for the create button and filtering.", | |||
"nl": "Het categorietype (bijv. Project, Klasse). Wordt gebruikt voor de aanmaakknop en het filteren." | |||
}, | |||
"type": "string", | |||
"suggested": true | |||
}, | |||
"group": { | |||
"label": { | |||
"en": "Group", | |||
"nl": "Groep" | |||
}, | |||
"description": { | |||
"en": "The parent group or department. Used for the create button and filtering.", | |||
"nl": "De bovenliggende groep of afdeling. Wordt gebruikt voor de aanmaakknop en het filteren." | |||
}, | |||
"type": "string", | |||
"suggested": true | |||
}, | |||
"page": { | |||
"label": { | |||
"en": "Pre-filled Page Name", | |||
"nl": "Vooraf ingevulde paginanaam" | |||
}, | |||
"description": { | |||
"en": "Optional title for the new page being created.", | |||
"nl": "Optionele titel voor de nieuwe pagina die wordt aangemaakt." | |||
}, | |||
"type": "string" | |||
}, | |||
"text": { | |||
"label": { | |||
"en": "Button Text", | |||
"nl": "Knoptekst" | |||
}, | |||
"description": { | |||
"en": "The text displayed on the creation button.", | |||
"nl": "De tekst die op de aanmaakknop wordt weergegeven." | |||
}, | |||
"type": "string", | |||
"default": "{{int:Create}}" | |||
}, | |||
"categories": { | |||
"label": { | |||
"en": "Manual Categories", | |||
"nl": "Handmatige categorieën" | |||
}, | |||
"description": { | |||
"en": "Comma-separated list of categories. Overrides the Group/Type automatic filtering.", | |||
"nl": "Komma-gescheiden lijst met categorieën. Overschrijft de automatische filtering van Groep/Type." | |||
}, | |||
"type": "string" | |||
}, | |||
"formatter": { | |||
"label": { | |||
"en": "Formatter", | |||
"nl": "Formatteerder" | |||
}, | |||
"description": { | |||
"en": "The output format of the list (e.g., list, table, or wiki-template-name).", | |||
"nl": "Het uitvoerformaat van de lijst (bijv. list, table, of wiki-template-name)." | |||
}, | |||
"type": "string", | |||
"default": "list", | |||
"suggestedvalues": [ | |||
"list", | |||
"table", | |||
"wiki-template-name" | |||
] | |||
}, | |||
"sort": { | |||
"label": { | |||
"en": "Sort By", | |||
"nl": "Sorteren op" | |||
}, | |||
"description": { | |||
"en": "Field to sort the list by (e.g., page, date).", | |||
"nl": "Veld om de lijst op te sorteren (bijv. page, date)." | |||
}, | |||
"type": "string", | |||
"default": "page" | |||
}, | |||
"order": { | |||
"label": { | |||
"en": "Sort Order", | |||
"nl": "Sorteervolgorde" | |||
}, | |||
"description": { | |||
"en": "The order of the list: ascending or descending.", | |||
"nl": "De volgorde van de lijst: oplopend (asc) of aflopend (desc)." | |||
}, | |||
"type": "string", | |||
"default": "asc", | |||
"suggestedvalues": [ | |||
"asc", | |||
"desc" | |||
] | |||
} | |||
}, | |||
"format": "block" | |||
} | |||
</templatedata> | |||
</noinclude> | |||
Latest revision as of 16:04, 6 February 2026
A template to generate a creation button and a list of pages filtered by category.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Type | type | The category type (e.g., Project, Class). Used for the create button and filtering. | String | suggested |
| Group | group | The parent group or department. Used for the create button and filtering. | String | suggested |
| Pre-filled Page Name | page | Optional title for the new page being created. | String | optional |
| Button Text | text | The text displayed on the creation button.
| String | optional |
| Manual Categories | categories | Comma-separated list of categories. Overrides the Group/Type automatic filtering. | String | optional |
| Formatter | formatter | The output format of the list (e.g., list, table, or wiki-template-name).
| String | optional |
| Sort By | sort | Field to sort the list by (e.g., page, date).
| String | optional |
| Sort Order | order | The order of the list: ascending or descending.
| String | optional |