Module:BucketDate/doc
Jump to navigation
Jump to search
This is the documentation page for Module:BucketDate
Module:BucketDate's function main is invoked by Template:BucketReleaseDate.
Module:BucketDate's function main is invoked by Template:BucketRemovalDate.
Module:BucketDate is required by Module:Infobox.
Module:BucketDate is required by Module:Infobox/sandbox.
| Function list |
|---|
| L 4 — p.main L 10 — p._main |
Used to parse the common infobox date wikicode format of [[27 February]] [[2002]], split it into its components, and then populate a target date Bucket. For examples, see Bucket:release_date or Bucket:removal_date.
Can be used directly (such as in modules) or via a template (such as {{BucketReleaseDate}} or {{BucketRemovalDate}}). The former should pass the target Bucket name as the third parameter, while the latter should add an invoke arg of bucket_name, e.g. {{#invoke:BucketDate|main|bucket_name=prom_date}}.