Maickel (talk | contribs)
No edit summary
Maickel (talk | contribs)
No edit summary
Line 1: Line 1:
<includeonly>
{{Create
{{Create
|type={{{type|}}}
|type={{{type|}}}
Line 12: Line 13:
|order = {{{order|asc}}}
|order = {{{order|asc}}}
}}
}}
</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>

Revision as of 14:47, 21 January 2026


A template to generate a creation button and a list of pages filtered by category.

Template parameters[Edit template data]

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Typetype

The category type (e.g., Project, Class). Used for the create button and filtering.

Stringsuggested
Groupgroup

The parent group or department. Used for the create button and filtering.

Stringsuggested
Pre-filled Page Namepage

Optional title for the new page being created.

Stringoptional
Button Texttext

The text displayed on the creation button.

Default
{{int:Create}}
Stringoptional
Manual Categoriescategories

Comma-separated list of categories. Overrides the Group/Type automatic filtering.

Stringoptional
Formatterformatter

The output format of the list (e.g., list, table, or wiki-template-name).

Suggested values
list table wiki-template-name
Default
list
Stringoptional
Sort Bysort

Field to sort the list by (e.g., page, date).

Default
page
Stringoptional
Sort Orderorder

The order of the list: ascending or descending.

Suggested values
asc desc
Default
asc
Stringoptional