No edit summary |
No edit summary |
||
| (20 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|}}}| | |||
{{Create | {{Create | ||
|type={{{type|}}} | |type={{{type|}}} | ||
| Line 6: | Line 9: | ||
|text={{{text|{{int:Create}}}}} | |text={{{text|{{int:Create}}}}} | ||
}} | }} | ||
}} | |||
{{ | }}</div> | ||
|categories = {{{categories|{{{group|}}},{{{type|}}}}}} | {{{{{formatter|list}}} | ||
|formatter = {{{formatter|list}}} | |search={{{search|}}} | ||
|sort = {{{sort|page}}} | |filter={{{filter|}}} | ||
|order = {{{order|asc}}} | |filter theme={{{filter theme|}}} | ||
|categories={{{categories|{{{group|}}},{{{type|}}},{{{page|}}}}}} | |||
|formatter={{{formatter|list}}} | |||
|sort={{{sort|page}}} | |||
|order={{{order|asc}}} | |||
|limit={{{limit|}}} | |||
|exclude={{{exclude|}}} | |||
}} | }} | ||
</includeonly> | </includeonly> | ||
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 |