Maickel (talk | contribs)
No edit summary
Maickel (talk | contribs)
No edit summary
 
(16 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>
<table class="dataTable"> {{Categories
{{{{{formatter|list}}}
|categories = {{{categories|{{{group|}}},{{{type|}}}}}}
|search={{{search|}}}
|formatter = {{{formatter|list}}}
|filter={{{filter|}}}
|sort = {{{sort|page}}}  
|filter theme={{{filter theme|}}}
|order = {{{order|asc}}}  
|categories={{{categories|{{{group|}}},{{{type|}}},{{{page|}}}}}}
}}  
|formatter={{{formatter|list}}}
</table>
|sort={{{sort|page}}}  
|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.

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