Difference between revisions of "Template:Eduskunta"

From blackwiki
Jump to navigation Jump to search
imported>Kyykaarme
(I reverted to the previous version, because at least at the moment there are no English pages for the former members so their links don't work)
imported>Trappist the monk
m (in lang|fi;)
 
Line 1: Line 1:
[https://www.eduskunta.fi/FI/kansanedustajat/Sivut/{{Trim|{{{id|{{{1|{{#property:P2181|[[Category:Eduskunta template with no id set]]}}}}}}}}}}.aspx {{{name|{{PAGENAMEBASE}}}}}]. ''Edustajamatrikkeli. Kansanedustajat 1907 &ndash;''. Eduskunta (Parliament of Finland). {{fi icon}}<includeonly>{{#invoke:EditAtWikidata|showMessage|pid=P2181|{{{id|{{{1|}}}}}}}}{{#if:{{{id|}}}{{{1|}}}|{{WikidataCheck|property=P2181|value={{{id|{{{1|}}}}}}|category=Finnish MP ID}}}}</includeonly><noinclude>
+
[https://www.eduskunta.fi/FI/kansanedustajat/Sivut/{{Trim|{{{id|{{{1|{{#property:P2181|[[Category:Eduskunta template with no id set]]}}}}}}}}}}.aspx {{{name|{{PAGENAMEBASE}}}}}]. ''Edustajamatrikkeli. Kansanedustajat 1907 &ndash;''. Eduskunta (Parliament of Finland). {{in lang|fi}}<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>

Latest revision as of 20:06, 29 December 2019

Template:PAGENAMEBASE. Edustajamatrikkeli. Kansanedustajat 1907 –. Eduskunta (Parliament of Finland). (in Finnish)

Template documentation[view] [edit] [history] [purge]

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). (in Finnish)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