Пређи на садржај

Шаблон:quote-hansard


Usage

[уреди]

This template can be used in a dictionary entry to provide a quotation from official reports of legislative debates, often known as Hansard, of any country.

Sample template

[уреди]
Most commonly used parameters
#* {{quote-hansard|author=|speaker=|authorlink=|debate=|title=|url=|archiveurl=|archivedate=|report=|house=|location=|publisher=|date=|volume=|page=|pageurl=|column=|columnurl=|passage=|lang=}}
All available parameters
#* {{quote-hansard|indent=|author=|speaker=|authorlink=|author2=|authorlink2=|author3=|authorlink3=|author4=|authorlink4=|author5=|authorlink5=|last=|first=|last2=|first2=|last3=|first3=|last4=|first4=|last5=|first5=|quotee=|editor=|editors=|debate=|title=|url=|archiveurl=|archivedate=|report=|house=|location=|publisher=|month=|year=|date=|accessdate=|isbn=|issn=|lccn=|oclc=|id=|volume=|issue=|page=|pages=|pageurl=|column=|columns=|columnurl=|passage=|brackets=|translation=|transliteration=|lang=}}

Certain basic parameters can be used in the template without any named parameters, as follows:

#* {{quote-hansard|[year]|[speaker]|[debate]|[report]|[url]|[page]|[column]|[passage]}}

This will not work if any of the parameters contains an equals ("=") sign. The value of any parameter containing an equals sign must be surrounded by <nowiki> tags, like this: "<nowiki>http://foo.com?id=bar</nowiki>". Alternatively, use a named parameter such as url.

The following example:

{{quote-hansard|speaker={{w|Ed Miliband}} ([[w:Leader of the Opposition (United Kingdom)|Leader of the Opposition]])|debate=Prime Minister's Questions|url=http://www.publications.parliament.uk/pa/cm201212/cmhansrd/cm120418/debtext/120418-0001.htm#12041847002002|house=[[w:House of Commons of the United Kingdom|House of Commons]]|date=18 April 2012|column=314|passage=Over the past month we have seen the charity tax shambles, the churches tax shambles, the caravan tax shambles and the pasty tax shambles, so we are all keen to hear the Prime Minister’s view on why he thinks, four weeks on from the Budget, even people within Downing Street are calling it an '''omnishambles''' Budget.}}

produces this:

Parameters

[уреди]

All parameters are optional, and may contain inline interwiki or external links as needed.

Parameter Remarks
speaker
or
author
or
last and first
The name of the legislator quoted. Use speaker, author, or last and first (for the first name, and middle names or initials), not all of them. Additional authors can be added using the parameters author2 to author5, or last2 and first2 to last5 and first5.
authorlink The name of an English Wikipedia article about the legislator, which will be linked to the name(s) specified using author. Additional articles can be linked to other authors' names using the parameters authorlink2 to authorlink5. Do not add the prefix ":en:" or "w:".

Alternatively, link each person's name directly, like this: "author=[[w:John Smith (Labour Party leader)|John Smith]]" or "author={{w|David Cameron}}".

editor
or
editors
The name(s) of the editor(s) of the legislative debate reports. Separate multiple names with semicolons.
quotee The name of the person being quoted, if the whole passage quoted is a quotation of someone other than the legislator.
debate
or
title
The title of the legislative debate.
url The URL or web address of an external website containing the full text of the legislative debate. Do not link to any website that has content in breach of copyright.
archiveurl and archivedate
or
accessdate
Use archiveurl and archivedate (which must be used together) to indicate the URL or web address of a webpage on a website such as the Internet Archive or Perma.cc at which the webpage has been archived, and the date on which the webpage was archived.

Alternatively, if the webpage cannot be archived, use accessdate to indicate when its URL was accessed. (If the webpage has been archived, it is unnecessary to use this parameter.)

report The name of the legislative debate reports. If this is not stated, "parliamentary debates" is used as a default.
house The name of the legislative body in which the debates took place.
location
or
city
The location where the legislative debate reports were published. If more than one location is stated, separate the locations with semicolons, like this: "London; New York, N.Y.".
publisher The name of one or more publishers of the legislative debate reports. If more than one publisher is stated, separate the names with semicolons.
date
or
year (and month)
Mandatory: the date, or year (and month), of the legislative debate. Use either date, or year (and month), not both.
volume The volume number of the legislative debate reports.
issue The issue number of the legislative debate reports.
page
or
pages
The page number or range of page numbers of the legislative debate reports. Use page to indicate a single page, and pages to indicate a range of pages. For example, "pages=1–2" will display "pages 1–2". Use an en dash to separate the page numbers in the range.
pageurl The URL or web address of the webpage containing the page(s) of the legislative debate reports referred to. The page number(s) will be linked to this webpage.
column
or
columns
The column number or range of column numbers of the legislative debate reports. Use column to indicate a single column, and columns to indicate a range of columns. For example, "columns=300–301" will display "columns 300–301". Use an en dash to separate the column numbers in the range.
columnurl The URL or web address of the webpage containing the column(s) of the legislative debate reports referred to. The column number will be linked to this webpage.
isbn, issn, lccn, oclc, and/or id The International Standard Book Number (ISBN), International Standard Serial Number (ISSN), Library of Congress Control Number (LCCN), or Online Computer Library Center (OCLC) number (which can be looked up at the WorldCat website) of the legislative debate reports.

Use id for an identifier other than the ones listed above.

passage The portion of the legislative debate being quoted. Highlight the term defined in bold in the passage quoted like this: "'''politics'''".
brackets Use "brackets=on" to surround a quotation with brackets. This indicates that the quotation either contains a mere mention of a term (for example, "some people find the word manoeuvre hard to spell") rather than an actual use of it (for example, "we need to manoeuvre carefully to avoid causing upset"), or does not provide an actual instance of a term but provides information about related terms.
translation If the passage quoted is not in English, this parameter can be used to provide an English translation of it.
transliteration If the passage quoted uses a different writing system from the Latin alphabet (the usual alphabet used in English), this parameter can be used to provide a transliteration of it into the Latin alphabet.
lang A code indicating the language of the quotation; for a list of the codes, see Wiktionary:List of languages. The entry page will be added to a category in the form "Category:[Language] terms with quotations".
indent Instead of using wikitext outside the quotation template to indent it (for example, "#* {{quote-hansard|..."), you can use this parameter to specify the indent inside the template (for example, "{{quote-hansard|indent=#*|...")

Technical information

[уреди]

This template relies on {{quote-journal}}.