সাঁচ:Infobox legislation/doc
অৱয়ব
এয়া হৈছে ‘সাঁচ:Infobox legislation’ শীৰ্ষক সাঁচটোৰ নথিকৰণৰ উপপৃষ্ঠা। ইয়াত সাঁচটো ব্যৱহাৰৰ তথ্য, শ্ৰেণীসমূহ, আন্তঃৱিকি সংযোগবোৰ আৰু অন্য সমল থাকে, যিবোৰ মূল সাঁচ পৃষ্ঠাটোৰ অংশ নহয়। |
এই সাঁচটো সাঁচ বিন্যাসৰ জটিল বৈশিষ্টৰে পৰিপূৰ্ণ।
এই সাঁচটো সম্পাদনা কৰাৰ আগতে আপুনি ইয়াৰ ব্যৱস্থাপনা আৰু পাৰ্চাৰ ফাংচন সম্পৰ্কে ভালকৈ জনাতো বাঞ্চনীয়। যদি আপোনাৰ সম্পাদনাই অবাঞ্চিত সমস্যাৰ সৃষ্টি কৰিছে, অনুগ্ৰহ কৰি অতি সোনকালে ইয়াক পূৰ্বৱত কৰক কিয়নো এই সাঁচটো অসংখ্য পৃষ্ঠাত ব্যৱহৃত হৈ থাকিবও পাৰে। মনত ৰাখিব যে, এই সাঁচটোত পৰিবৰ্তন ঘটোৱাৰ আগত আপুনি যিকোনো ধৰণৰ পৰীক্ষা, আৰু সাঁচটো উন্নীতকৰণৰ পৰীক্ষামূলক কাৰ্য সাধাৰণ সাঁচ পৰীক্ষাগাৰ অথবা আপোনাৰ সদস্য স্থানত কৰিব পাৰে। |
Usage
[সম্পাদনা কৰক]This template summarizes information about a piece of legislation. It is designed to be generic so that it can be used for the statutes and subsidiary legislation of any jurisdiction. If you have suggestions as to how the template may be improved, please leave a message on the talk page.
Infobox legislation/doc | |
---|---|
ভাষ্য | Ordinance No. 26 of 1955, now সাঁচ:Singapore Statute |
{{Infobox legislation | shorttitle = | image = | imagesize = | imagelink = | imagealt = | caption = | longtitle = | citation = | territorialextent = | enactedby = | dateenacted = | dateassented = | datesigned = | datecommenced = | bill = | billcitation = | billdate = | introducedby = | 1streading = | 2ndreading = | 3rdreading = | whitepaper = | committeereport = | amendments = | repeals = | related = | summary = | keywords = }}
Parameters
[সম্পাদনা কৰক]This infobox takes a number of parameters, which are all optional:
Parameter | Description |
---|---|
shorttitle | The short title of the legislation, which should preferably be the same as the article title. If the parameter is left blank or omitted, the article name is used. |
image | An image to represent the person or institution that enacted the legislation, such as a coat of arms, a seal or a photograph of a building. Type the name of the image without the "File:" prefix and do not wikilink it. If you omit this parameter, the template automatically displays an image according to the scheme at {{Infobox legislation/images}}. |
imagesize | The width of the image in pixels (px), particularly if it is less than 180 px. Type the number without the "px" suffix ("150", not "150px"). If this parameter is left blank or omitted, the image size defaults to 180 px. |
imagelink | A hyperlink for the image. This can either be a URL or the name of a Wikipedia article. Do not enclose the URL or article name in square brackets. If no link is specified or the parameter is omitted, the image is linked to its image description page. |
imagealt | Alt text for the image. For more information, see "Wikipedia:Alternative text for images". |
caption | A caption for the image. Terms in the caption can be wikilinked, if desired. |
longtitle | The long title of the legislation. |
citation | The citation of the legislation. If the legislation is available online, use a citation template where available to generate an external link automatically, or else create a link manually. If the citation uses square brackets, replace them with [ and ] when putting them inside an external link. |
territorialextent | The territorial area to which the legislation extends or applies. If possible provide a wikilink. |
enactedby | The name of the person or institution that enacted the legislation. Wikilink the name to a Wikipedia article about the person or institution, if there is one. To cause the template to automatically display an image representing the person or institution, such as a coat of arms, a seal or a photograph of a building, enter the name of the person or institution as shown at {{Infobox legislation/images}}. |
dateenacted | The date the legislation was enacted or passed. In line with "Wikipedia:Manual of Style (dates and numbers)#Linking and autoformatting of dates", do not wikilink dates. |
dateassented | The date when a head of state or his or her representative gives formal assent to the legislation (for instance, when a constitutional monarch gives Royal Assent to a statute); or, in the case of the United States, when the President or a state governor signs a piece of legislation. Use either |dateassented= or |datesigned= , not both.
|
datesigned | |
datecommenced | The date when the legislation came into force as law. |
bill | The name of the bill that was eventually enacted. Wikilink the name to an article about the bill, if there is one. |
billcitation | The citation of the bill. If the bill is available online, create an external link to it. If the citation uses square brackets, replace them with [ and ] when putting them inside an external link. |
billdate | The date when the bill was published. |
introducedby | The name of the legislator who introduced the bill. |
1streading | The dates of the first, second and third readings of the bill in the legislature. If the legislative debates are available online, create external links to them. |
2ndreading | |
3rdreading | |
whitepaper | The name of a white paper relating to the legislation. If the white paper is available online, create an external link to it. |
committeereport | The name of a report issued by a legislative committee about the bill that was eventually enacted. If the report is available online, create an external link to it. |
amendments | The citations of any notable amendments to the legislation. If the texts of the amendments are available online, create external links to them. |
repeals | The citations of any notable legislation repealing parts or previous versions of the legislation. If the texts of the repealing legislation are available online, create external links to them. |
related | The names and citations of any related pieces of legislation. Where possible, link the name of a related piece of legislation to a Wikipedia article about it, and link the citation to an external website containing the text of the related legislation. |
summary | A very brief summary of the subjects that the legislation deals with. |
keywords | A list of keywords that describe the legal issues dealt with by the legislation. List keywords alphabetically, separate them with commas, and link them to appropriate Wikipedia articles wherever possible; for example, "[[Bailment]], [[common carrier]], [[negligence]], [[strict liability]]". |
Technical information
[সম্পাদনা কৰক]This section contains technical information to assist editors familiar with templates and parser functions to edit this template. |
The |image=
parameter in the template contains (with slight modifications) the following function:
{{#if:{{{image|}}} | [[File:{{{image}}} | {{#if:{{{imagesize|}}} | {{{imagesize}}}|180}}px | link={{#if:{{{imagelink|}}} | {{{imagelink}}} | File:{{{image}}} }} | alt={{{imagealt|}}}]] | {{#ifeq:{{Infobox Court Case/images|courtimage={{{court|}}} }} | None | | [[File:{{Infobox Court Case/images|courtimage={{{court}}}|date={{{dateenacted|}}} }} | {{#if:{{{imagesize|}}} | {{{imagesize}}}|180}}px | link={{#if:{{{imagelink|}}} | {{{imagelink}}} | File:{{Infobox Court Case/images | courtimage={{{court}}} | date={{{dateenacted|}}} }} }} | alt={{{imagealt|}}}]] }} }}
The function does the following tasks:
- If the parameter
|image=
is used in the template, that image is displayed. If a value is specified for|imagesize=
, the image is given that width; otherwise the image width defaults to 180 px. - If
|image=
is not used, a check is done to see if the value of|enactedby=
is listed in {{Infobox legislation/images}}. If the result is "None", then no image is displayed. If the result is an image file (the coat of arms or seal, or a photograph of a building representing the person or institution that enacted the legislation), then the image file is displayed. {{Infobox legislation/images}} can be tweaked to display different images depending on the date when the legislation was decided – for help with this, leave a message on the talk page. - Again, if a value is specified for
|imagesize=
, the image is given that width; otherwise the image width defaults to 180px. - In either case the image is given a link and alt text specified by
|imagelink=
and|imagealt=
. If|imagelink=
is omitted or given no value, the image is linked to its image description page.
JackLee came up with the first version of this function for {{Infobox Court Case}}, but thanks are due to Chris Cunningham for coming up with a cleaner solution that works better.
See also
[সম্পাদনা কৰক]- {{Infobox AU Legislation}}
- {{Infobox EU legislation}}
- {{Infobox Northern Ireland law}}
- {{Infobox New Zealand legislation}}
- {{Infobox UK Legislation}}
- {{Infobox UK Legislation mini}}
- {{Infobox UK Statutory Instrument}}
- {{Infobox U.S. legislation}}