No edit summary |
No edit summary |
||
| (3 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
<includeonly> | <includeonly> | ||
<div class="createsearch">{{#if:{{{title|}}}| | <div class="createsearch">{{#if:{{{title|}}}|<h2>{{{title|}}}</h2>}} | ||
{{#if:{{#user:}}| | {{#if:{{#user:}}| | ||
{{#if:{{{create|}}}| | {{#if:{{{create|}}}| | ||
| Line 13: | Line 13: | ||
{{{{{formatter|list}}} | {{{{{formatter|list}}} | ||
|search={{{search|}}} | |search={{{search|}}} | ||
|categories={{{categories|{{{group|}}},{{{type|}}}}}} | |filter={{{filter|}}} | ||
|filter theme={{{filter theme|}}} | |||
|categories={{{categories|{{{group|}}},{{{type|}}},{{{page|}}}}}} | |||
|formatter={{{formatter|list}}} | |formatter={{{formatter|list}}} | ||
|sort={{{sort|page}}} | |sort={{{sort|page}}} | ||
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 |