साँचा:Infobox UK legislation

मुक्त ज्ञानकोश विकिपीडिया से
परिचय का प्रतीक साँचा परिचय[देखें] [संपादन] [इतिहास] [पर्ज .]

Usage[संपादित करें]

Full syntax[संपादित करें]

This infobox takes a number of parameters:

{{{short_title}}}
[[{{{parliament}}}]]
Long title{{{long_title}}}
(The short title is authorised by section {{{citation_auth}}} of the Act.)
Citation{{{citation}}}
Introduced by{{{introduced_by}}}{{{introduced_commons}}} (साँचा:Hover title)
{{{introduced_lords}}} (साँचा:Hover title)
Territorial extent{{{territorial_extent}}}
Dates
Made{{{si_made_date}}}
Laid before Parliament{{{si_laid_date}}}
Royal assent{{{royal_assent}}}
Commencement{{{commencement}}}
Repealed{{{repeal_date}}}
Other legislation
Amends{{{amends}}}
Repeals{{{replaces}}}
Made under{{{primary_legislation}}}
Transposes{{{eu_directives}}}
Amended by{{{amendments}}}
Repealed by{{{repealing_legislation}}}
Relates to{{{related_legislation}}}
Status: Unknown
[{{{legislation_history}}} History of passage through Parliament]
Records of Parliamentary debate relating to the statute from Hansard, at TheyWorkForYou
Records of Parliamentary debate relating to the statute from Hansard
[{{{original_text}}} Text of statute as originally enacted]
[{{{revised_text}}} Revised text of statute as amended]
साँचा:UK-LEG
{{Infobox UK legislation
| short_title           = 
| type                  = 
| parliament            = 
| long_title            = 
| citation_auth         = 
| year                  = 
| citation              = 
| introduced_commons    = 
| introduced_lords      = 
| territorial_extent    = 
| si_made_date          = 
| si_laid_date          = 
| royal_assent          = 
| commencement          = 
| repeal_date           = 
| amends                = 
| replaces              = 
| primary_legislation   = 
| eu_directives         = 
| amendments            = 
| repealing_legislation = 
| related_legislation   = 
| status                = 
| status_EW             = 
| status_Scot           = 
| status_IE             = 
| status_NI             = 
| legislation_history   = 
| theyworkforyou        = 
| millbankhansard       = 
| original_text         = 
| revised_text          = 
| use_new_UK-LEG        = yes
| UK-LEG_title          = 
| collapsed             = 
}}

Acts of Parliament[संपादित करें]

{{Infobox UK legislation
| short_title           = 
| type                  = Act
| parliament            = 
| long_title            = 
| year                  = 
| citation              = 
| introduced_commons    = 
| introduced_lords      = 
| territorial_extent    = 
| royal_assent          = 
| commencement          = 
| repeal_date           = 
| amends                = 
| replaces              = 
| amendments            = 
| repealing_legislation = 
| related_legislation   = 
| status                = 
| legislation_history   = 
| theyworkforyou        = 
| millbankhansard       = 
| original_text         = 
| revised_text          = 
| use_new_UK-LEG        = yes
| UK-LEG_title          = 
}}

Statutory Instruments[संपादित करें]

{{Infobox UK legislation
| short_title           = 
| type                  = Statutory Instrument
| parliament            = 
| year                  = 
| citation              = 
| introduced_commons    = 
| introduced_lords      = 
| territorial_extent    = 
| si_made_date          = 
| si_laid_date          = 
| commencement          = 
| repeal_date           = 
| amends                = 
| replaces              = 
| primary_legislation   = 
| eu_directives         = 
| amendments            = 
| repealing_legislation = 
| related_legislation   = 
| status                = 
| legislation_history   = 
| theyworkforyou        = 
| millbankhansard       = 
| original_text         = 
| revised_text          = 
| use_new_UK-LEG        = yes
| UK-LEG_title          = 
}}

Microformat[संपादित करें]

The HTML mark up produced by this template includes an hCalendar microformat, which makes the event details parsable by computers, either acting automatically to catalogue articles across Wikipedia, or via a browser tool operated by a person, to (for example) add the subject to a calendar or diary application. For more information about the use of microformats on Wikipedia, please see the microformat project.

Sub-templates[संपादित करें]

Dates will only be included if you use {{Start date}} or {{End date}} (use the former for single dates; but do not use any of these if the date is before 1583 CE).

URLs will only be included if you use {{URL}}.

Please do not remove instances of these sub-templates.

Classes[संपादित करें]

hCalendar uses HTML classes including:

  • attendee
  • contact
  • description
  • dtend
  • dtstart
  • location
  • organiser
  • summary
  • url
  • vevent

Please do not rename or remove these classes; nor collapse nested elements which use them.

TemplateData[संपादित करें]

This is the TemplateData documentation for this template used by VisualEditor and other tools; see the monthly parameter usage report for this template.

TemplateData for Infobox UK legislation

An infobox for UK statute legislation.

साँचे के पैरामीटर्स[साँचा डेटा सम्पादित करें]

पैरामीटरविवरणप्रकारस्थिति
Short titleshort_title

The short title of the legislation, displayed at the top of the infobox. This will usually be the same as the article title.

डिफ़ॉल्ट
{{PAGENAME}}
स्ट्रिंगसुझावित
Typetype

The type of legislation, whether an Act or Statutory Instrument. Displays as a subheading at the top of the infobox.

स्ट्रिंगसुझावित
Parliamentparliament

The name of the parliament which made the legislation. This will be linked. This parameter will also affect which coat of arms is displayed. Valid values:

  • "Scottish Parliament", for the devolved Parliament
  • "Northern Ireland Assembly", for the devolved Assembly
  • "National Assembly for Wales", for the devolved Assembly
  • "Parliament of Northern Ireland", for the 1921–72 Parliament
  • "Parliament of Scotland", for the pre-Union Parliament
  • "Parliament of Ireland", for the pre-Union Parliament
  • "Parliament of England", for the pre-1707 Parliament
  • "Parliament of Great Britain" (1707–1800)
Any other value (including a missing value) will denote the post-1801 Parliament of the United Kingdom in Westminster

डिफ़ॉल्ट
Parliament of the United Kingdom
पृष्ठ का नामसुझावित
Long titlelong_title

The long title of the legislation. Some are extremely long and can clutter up the infobox.

स्ट्रिंगवैकल्पिक
Yearyear

The (calendar) year of the legislation — along with "parliament", this parameter affects the coat of arms to be displayed.

संख्यासुझावित
Citationcitation

The chapter within the statute book where the legislation is to be found. Where this is before 1963, it must use the regnal year, not the calendar year; see [[Citation of United Kingdom legislation#Acts of Parliament]].

स्ट्रिंगवैकल्पिक
Introduced byintroduced_by

Who first introduced the legislation into parliament? This could be a link to an individual politician, or a political party if you do not know the individual. One could also mention whether it was a government-supported bill or a private member's bill. Retained for compatibility purposes and for Scottish, Welsh and NI Assembly Acts. For legislation passed by the UK parliament, where possible you should use either introduced_commons or introduced_lords.

सामग्रीकालग्रस्त
introduced_commonsintroduced_commons

Who first introduced the legislation into the House of Commons. This could be a link to an individual politician, or a political party if you do not know the individual. One could also mention whether it was a government-supported bill or a private member's bill.

सामग्रीसुझावित
introduced_lordsintroduced_lords

Who first introduced the legislation into the House of Lords. This could be a link to an individual politician, or a political party if you do not know the individual. One could also mention whether it was a government-supported bill or a private member's bill.

सामग्रीसुझावित
Territorial extentterritorial_extent

The part(s) of the United Kingdom to which the act extends.

पृष्ठ का नामवैकल्पिक
Date madesi_made_date

The date a Statutory Instrument was made.

दिनांकवैकल्पिक
Date laid before Parliamentsi_laid_date

The date a Statutory Instrument was laid before Parliament.

दिनांकवैकल्पिक
Royal Assentroyal_assent

The date the legislation received Royal Assent (only applicable in Commonwealth countries, other users may wish to copy and modify the template).

दिनांकसुझावित
Commencementcommencement

The date(s) at which the legislation was brought into force (but note that for acts with more than three or four commencement dates this is inappropriate to use).

सामग्रीवैकल्पिक
Repeal daterepeal_date

The date the legislation was repealed.

सामग्रीवैकल्पिक
Amendsamends

Earlier legislation that is amended by this piece of legislation.

दिनांकवैकल्पिक
Replacesreplaces

Earlier legislation that is replaced by this piece of legislation.

दिनांकवैकल्पिक
Primary legislationprimary_legislation

The primary legislation secondary legislation is made under.

सामग्रीवैकल्पिक
EU directiveseu_directives

The EU directives this legislation transposes.

सामग्रीवैकल्पिक
Amendmentsamendments

Internal links to amending or repealing legislation, or even a list of years in which the legislation has been modified (note that for acts with a great deal of amending or repealing legislation only the most significant pieces of legislation should be listed).

सामग्रीवैकल्पिक
Repealing legislationrepealing_legislation

Internal links to legislation repealing this statute.

सामग्रीवैकल्पिक
Related legislationrelated_legislation

Internal links to related legislation

सामग्रीवैकल्पिक
Statusstatus

This can be one of eight values:

  • "Current" (for legislation still in force)
  • "Amended" (for legislation which has been modified by separate legislation)
  • "Spent" (for legislation exhausted in operation by the accomplishment of the purposes for which it was enacted)
  • "Repealed" (for legislation which has been repealed, or is no longer in force)
  • "partially_repealed" (for legislation which has only been partially repealed, but some sections are still in force)
  • "Not_yet_in_force" (for legislation which has not been commenced yet)
  • "Not_fully_in_force" (for legislation which has been partially commenced
  • "Not_passed" (for bills that have not been enacted). This defaults to "Unknown" if an illegal value is entered. The text area is colour-coded.

    डिफ़ॉल्ट
    Unknown
स्ट्रिंगसुझावित
Legislation history linklegislation_history

External link to information about the passage of the legislation through the legislature.

स्ट्रिंगवैकल्पिक
TWFY URL slugtheyworkforyou

URL slug for TheyWorkForYou link

स्ट्रिंगवैकल्पिक
Hansard URL slugmillbankhansard

URL search slug for hansard.parliament.uk, Parliament's official service for Hansard. Use this to give a link to the official record in Parliament about the legislation.

स्ट्रिंगवैकल्पिक
Original text linkoriginal_text

External link to the text of the legislation as originally enacted.

स्ट्रिंगवैकल्पिक
Revised text linkrevised_text

External link to the revised text of the statute, as amended

स्ट्रिंगवैकल्पिक
Use new UK-LEG?use_new_UK-LEG

"yes" to use new {{tl|UK-LEG}} template to automatically produce a URI for the legislation.gov.uk service

स्ट्रिंगवैकल्पिक
UK-LEG titleUK-LEG_title

Variable for {{tl|UK-LEG}}

डिफ़ॉल्ट
{{PAGENAME}}
स्ट्रिंगवैकल्पिक
Collapse?collapsed

"y" if the infobox should be collapsed by default.

स्ट्रिंगवैकल्पिक
  • Use of one or more unrecognised parameters will place the page in Category:Pages using Infobox UK legislation with unknown parameters (1).