No edit summary |
No edit summary |
||
| (15 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
<includeonly> | <includeonly> | ||
<div class="createsearch">{{#if:{{{title|}}}|<h2>{{{title|}}}</h2>}} | |||
{{#if:{{#user:}}| | |||
{{#if:{{{create|}}}| | {{#if:{{{create|}}}| | ||
{{Create | {{Create | ||
| Line 8: | Line 10: | ||
}} | }} | ||
}} | }} | ||
}}</div> | |||
{{{{{formatter|list}}} | |||
{{ | |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}}} | ||
|order={{{order|asc}}} | |order={{{order|asc}}} | ||
}} | |limit={{{limit|}}} | ||
|exclude={{{exclude|}}} | |||
}} | |||
</includeonly> | </includeonly> | ||
<noinclude> | <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 |