Difference between revisions of "Template:Eduskunta"
imported>WOSlinker (use PAGENAMEBASE) |
imported>Pigsonthewing (use wikidata) |
||
| Line 1: | Line 1: | ||
| − | <includeonly>[http://www.eduskunta.fi/triphome/bin/hx5000.sh?{hnro}={{{id|{{ | + | <includeonly>[http://www.eduskunta.fi/triphome/bin/hx5000.sh?{hnro}={{Trim|{{{1|{{{id|{{#property:P2181|[[Category:Eduskunta template with no id set]]}}}}}}}}}}&{kieli}=su&{haku}=kaikki {{{name|{{PAGENAMEBASE}}}}}]. ''Edustajamatrikkeli. Kansanedustajat 1907 –''. Eduskunta (Parliament of Finland). {{fi icon}}</includeonly><noinclude>{{Documentation}}</noinclude> |
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | </noinclude> | ||
Revision as of 16:52, 27 July 2016
Template:Uses Wikidata Template:Tracks Wikidata Lua error in Module:Lua_banner at line 113: attempt to index field 'edit' (a nil value).
This template links to the list of Finnish MPs (1907 –) maintained by the Parliament of Finland (Finnish: Eduskunta).
The number used as a parameter is found in the URL of the MP's profile on eduskunta.fi, for example the number 911594 in https://www.eduskunta.fi/EN/kansanedustajat/Pages/911594.aspx.
If the ID number for the MP is in Wikidata (Template:Wikidata property link, the template works also without any parameters.
Usage
These example codes
* {{Eduskunta}}
* {{Eduskunta|910216}}
* {{Eduskunta|id=910216|name=Pekka Aakula}}
all produce the same result in the MP's article (the first example works only if the MP ID is in Wikidata):
- Pekka Aakula. Edustajamatrikkeli. Kansanedustajat 1907 –. Eduskunta (Parliament of Finland). Template:Fi icon
If the template is used in another article, the parameters id and name are required to produce the right result.
Tracking categories
- Category:Finnish MP ID not in Wikidata (0)
- Category:Finnish MP ID different from Wikidata (0)
- Category:Finnish MP ID same as Wikidata (0)
- Category:Eduskunta template with no id set (exists in template, not created)
| The above documentation is transcluded from Template:Eduskunta/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |