Difference between revisions of "Template:Eduskunta"
imported>JJMC89 (tracking categories, edit link) |
imported>Renamed user a2vv12zt2i (update to english) |
||
| Line 1: | Line 1: | ||
| − | [https://www.eduskunta.fi/ | + | [https://www.eduskunta.fi/EN/kansanedustajat/Pages/{{Trim|{{{id|{{{1|{{#property:P2181|[[Category:Eduskunta template with no id set]]}}}}}}}}}}.aspx {{{name|{{PAGENAMEBASE}}}}}]. ''Members of Parliament''. Eduskunta (Parliament of Finland). <includeonly>{{#invoke:EditAtWikidata|showMessage|pid=P2181|{{{id|{{{1|}}}}}}}}{{#if:{{{id|}}}{{{1|}}}|{{WikidataCheck|property=P2181|value={{{id|{{{1|}}}}}}|category=Finnish MP ID}}}}</includeonly><noinclude> |
{{Documentation}}</noinclude> | {{Documentation}}</noinclude> | ||
Revision as of 20:26, 28 February 2018
Template:PAGENAMEBASE. Members of Parliament. Eduskunta (Parliament of Finland).
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. Members of Parliament. Eduskunta (Parliament of Finland). Script error: No such module "EditAtWikidata".Template:WikidataCheck
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. |