Difference between revisions of "Template:Eduskunta/doc"
Jump to navigation
Jump to search
imported>Kyykaarme (added instructions about wikidata use, User:Manelolo: it does work also without parameters if the ID is in wikidata) |
imported>Zyxw m (module note) |
||
Line 3: | Line 3: | ||
{{Uses Wikidata|P2181}} | {{Uses Wikidata|P2181}} | ||
{{Tracks Wikidata|P2181}} | {{Tracks Wikidata|P2181}} | ||
+ | {{Lua|Module:EditAtWikidata|Module:WikidataCheck}} | ||
This template links to the list of Finnish MPs (1907 –) maintained by the Parliament of Finland ({{lang-fi|Eduskunta}}).<br /> | This template links to the list of Finnish MPs (1907 –) maintained by the Parliament of Finland ({{lang-fi|Eduskunta}}).<br /> | ||
Line 32: | Line 33: | ||
<!-- Categories below this line, please; interwikis at Wikidata --> | <!-- Categories below this line, please; interwikis at Wikidata --> | ||
[[Category:People and person external link templates]] | [[Category:People and person external link templates]] | ||
+ | [[Category:External link templates using Wikidata]] | ||
[[Category:Templates that add a tracking category]] | [[Category:Templates that add a tracking category]] | ||
− | |||
− | |||
}}</includeonly> | }}</includeonly> |
Latest revision as of 04:27, 10 May 2019
![]() | This is a documentation subpage for Template:Eduskunta. It contains usage information, categories and other content that is not part of the original template page. |
Template:Uses Wikidata Template:Tracks Wikidata
![]() | This template uses Lua: |
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
- 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)