Template:BucketCount/doc: Difference between revisions

From The Deadlock Wiki
Jump to navigation Jump to search
m Kai moved page Template:Bucketcount/doc to Template:BucketCount/doc without leaving a redirect
No edit summary
Line 15: Line 15:
===Example===
===Example===
<pre>{{BucketCount|Feedback|page_name}}</pre>
<pre>{{BucketCount|Feedback|page_name}}</pre>
Result: {{BucketCount|Feedback|page_name}}
Result: {{BucketCount|Feedback|page}}

Revision as of 12:22, 28 August 2026

Usage

{{BucketCount|bucket_name|field|restriction=value}}

Parameters

(1)

The name of the Bucket to pull data from.

(2)

The name of the field to pull data from.

All named parameters

All named parameters are used as a where clause in the Bucket query.

Parameters beginning with ! are wrapped in a bucket.Not()

Example

{{BucketCount|Feedback|page_name}}

Result: Lua error in Module:BucketCount at line 23: Bucket Feedback does not exist.