模板:Parliament.ch/doc
此頁面是Template:Parliament.ch的模板文件。 此頁面可能包含了模板的使用說明、分類和其他內容。 |
Function
[編輯]In biographies of Swiss parliamentarians (members of the Swiss National Council or the Swiss Council of States), this template may be used to link to the corresponding profile on website of the Swiss parliament, usually under the "References" or "External links" heading.
The outline of the profile is generally in the main language of the parliamentarian (German, French, Italian, or Romansh), even on the English language version of the website.
Usage
[編輯]{{Parliament.ch|ID|AlternateName|date=}}
where ID is the ID number of the profile. The ID number is apparent in the URL, for example http://www.parlament.ch/E/Suche/Pages/biografie.aspx?biografie_id=267.
The parameter AlternateName is optional, but if used must immediately follow the ID. When used, this name will appear as the name of the parliamentarian. Otherwise, the article name will appear.
The parameter date= is optional. When supplied with the date of the retrieval of the profile in ISO 8601 YYYY-MM-DD format, e.g. 2007-12-03, it appends version information to the reference. The date text must not be wikilinked.
Examples
[編輯]- When used in the article Samuel Schmid
{{Parliament.ch|267}}
results in:
Samuel Schmid的人物介紹見瑞士議會網站.
- But in the same article
{{Parliament.ch|267|Samuel Schmid (Bern)}}
would result in:
Samuel Schmid (Bern)的人物介紹見瑞士議會網站.
- Using the date:
{{Parliament.ch|267|Samuel Schmid|date=2006-08-13}}
results in:
Samuel Schmid的人物介紹見瑞士議會網站. Retrieved on 2006-08-13.