Jump to content

Template:AutoSection

From SankoQuest Wiki

Cargo-backed section wrapper with a structured empty state.

Cargo-backed section wrapper with a MissingData empty state.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
Section keykey

Stable CSS/debug key for this section.

Lineoptional
Titletitle

Optional heading rendered inside the section.

Lineoptional
Cargo tablestables

Cargo table list for the query.

Linerequired
Fieldsfields

Cargo fields passed to the query.

Contentrequired
Wherewhere

Cargo where clause. AutoSection adds the schema-placeholder filter.

Contentoptional
Join onjoin_on

Cargo join condition.

Contentoptional
Order byorder_by

Cargo order by expression.

Lineoptional
Limitlimit

Maximum query rows. Defaults to 50.

Numberoptional
Formatformat

Cargo query format. Defaults to template.

Lineoptional
Row templatetemplate

Template used by the Cargo query result.

Lineoptional
Missing copymissing

Specific empty-state text for MissingData.

Contentoptional
Accepted evidenceevidence

Evidence guidance passed to MissingData.

Contentoptional
Suggested templatesuggested_template

Template contributors should use when filling this section.

Lineoptional
Target pagepage

Page where data should be added. Defaults to the current page.

Page nameoptional
Action labelaction_label

Label for the edit link in MissingData. Defaults to Add data.

Lineoptional
Edit targetedit_target

Page title to open in edit mode.

Page nameoptional
Bounty targetbounty_target

Page title for the open-bounties link.

Page nameoptional
Help targethelp_target

Page title for verification rules.

Page nameoptional