Template:MLSZ player/doc
| This is a documentation subpage for Template:MLSZ player. It may contain usage information, categories and other content that is not part of the original template page. |
| This template uses Lua: |
Template:MLSZ player displays an external link to an association football (soccer) player's profile at MLSZ.hu, the official website of the Hungarian Football Federation (Hungarian: Magyar Labdarúgó Szövetség, MLSZ). It is intended for use in the external links section of an article.
Usage
[edit]Omit the ID to use the Wikidata property.
- Article name as link text
{{MLSZ player | ID }}{{MLSZ player | id= ID }}
- Parameter as link text
{{MLSZ player | ID | NAME }}{{MLSZ player | id= ID | name= NAME }}
Examples
[edit]Unnamed parameters
[edit]Example for Szabolcs Balajcza
- Usage
* {{MLSZ player | 19236 | Szabolcs Balajcza }}
- Output
- Szabolcs Balajcza at Magyar Labdarúgó Szövetség (MLSZ) (in Hungarian)
- URLs
- https://adatbank.mlsz.hu/player/19236.html
- http://ada1bank.mlsz.hu/player?itemId=19236 (redirects to URL above)
- Former URLs
- http://adatbank.mlsz.hu/pr01/p01_jatekos_nez.asp?p_jnkod=119197
- http://www.mlsz.hu/html/valogatott/balajcza_szabolcs.php (archive 2008-08-25)
Named parameters
[edit]Example for Béla Balogh (footballer)
- Usage
* {{MLSZ player | id= 427613 | name= Béla Balogh }}
- Output
- Béla Balogh at Magyar Labdarúgó Szövetség (MLSZ) (in Hungarian)
- URLs
- https://adatbank.mlsz.hu/player/427613.html
- http://ada1bank.mlsz.hu/player?itemId=427613 (redirects to URL above)
- Former URLs
- http://www.mlsz.hu/html/valogatott/balogh_bela.php (archive 2008-08-25)
No parameters and Wikidata property not defined
[edit]- Usage
* {{MLSZ player}}
- Output
- {{MLSZ player}} template missing ID and not present in Wikidata.
TemplateData
[edit]TemplateData for MLSZ player
This template displays an external link to an association football (soccer) player's profile at MLSZ.hu, the official website of the Hungarian Football Federation (Hungarian: Magyar Labdarúgó Szövetség, MLSZ). It is intended for use in the external links section of an article.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| id | id 1 | The ID number in a URL such as https://adatbank.mlsz.hu/player/19236.html or http://ada1bank.mlsz.hu/player?itemId=19236. This parameter is optional if Wikidata property P11513 exists, but required if not.
| Number | optional |
| name | name 2 | The link text, which should be the name of the player. This parameter is optional; it defaults to the Wikipedia article name, without any disambiguation such as "(footballer)" or "(soccer)".
| String | optional |
Tracking categories
[edit]- template with ID
- Category:MLSZ template with ID different from Wikidata (1)
- Category:MLSZ template with ID not in Wikidata (6)
- template missing ID
See also
[edit]- {{HLSZ player}}