Jump to content

Module:Parameters/sandbox

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Izkala (talk | contribs) at 13:56, 7 June 2015 (f). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
local Set = require('Module:Set')
local base = {"collapsed", "type", "parliament", "year", "statutebookchapter", "simadedate", "silaiddate", "repealdate", "amends", "replaces", "primarylegislation", "eudirectives", "statusie", "statusni", "statusew", "statusscot", "legislationhistory", "theyworkforyou", "millbankhansard", "originaltext", "usenewukleg", "uklegtitle", "revisedtext"}
local other = {"name", "shorttitle", "image", "legislature", "consideredby", "enactedby", "dateenacted", "imagesize", "imagealt", "caption", "longtitle", "citation", "territorialextent", "datepassed", "enactedby", "dateenacted", "datepassed", "dateassented", "royalassent", "datesigned", "signedby", "datecommenced", "commencement", "dateeffective", "dateofexpiry", "daterepealed", "administeredby", "bill", "billdate", "streading", "ndreading", "rdreading", "billcitation", "introducedby", "confcommitteepassed", "committeereport", "bill", "billcitation", "billdate", "introducedby", "streading", "ndreading", "rdreading", "confcommitteepassed", "committeereport", "dateconfcommittee", "whitepaper", "amendments", "repeals", "repealinglegislation", "related", "relatedlegislation", "summary", "keywords", "status"}
p = {main = table.concat(Set.valueIntersection(base, other), '; ')}
return p