Template:BucketPut
Template documentation
This documentation is transcluded from Template:BucketPut/doc. [edit] [history] [purge]
Template:BucketPut invokes function main in Module:BucketPut using Lua.
A simple template for inline writing to Bucket. Suitable for replacing Semantic Media Wiki {{#set:}} calls.
Usage
{{BucketPut|bucket_name|field=value|field2=value2}}
Parameters
All Bucket and field names are lower case with no spaces.
(1)
The name of the Bucket to write to.
All named parameters
All named parameters are used a field=value pair. Repeated fields holding more than one value are not currently supported.
Example
{{BucketPut|example_bucket|color=green|shape=square}}
Result: The following is inserted into Bucket:example_bucket
| page_name | page_name_sub | color | shape |
|---|---|---|---|
| Template:BucketPut/doc | Template:BucketPut/doc | green | square |