Template:MOB profile/doc
| This is a documentation subpage for Template:MOB profile. It may contain usage information, categories and other content that is not part of the original template page. |
| This template uses Lua: |
Template:MOB profile displays an external link to an athlete's profile at the official website of the Hungarian Olympic Committee, known in Hungarian as Magyar Olimpiai Bizottság (MOB). It is intended for use in the external links section of an article.
Usage
[edit source]Omit the ID to use the Wikidata property.
- Article name as link text
{{MOB profile | ID }}{{MOB profile | id= ID }}
- Parameter as link text
{{MOB profile | ID | NAME }}{{MOB profile | id= ID | name= NAME }}
Examples
[edit source]Unnamed parameters
[edit source]- Usage
* {{MOB profile | 77 | Sarolta Kovács }}
- Output
-
- Sarolta Kovács at the Magyar Olimpiai Bizottság (in Hungarian) (English translation)
- Former URLs (redirect to current URL)
- http://olimpia.hu/champdata/details/id/77/m/612 (archive)
- http://www.mob.hu/champdata/details/id/77/m/612
Named parameters
[edit source]- Usage
* {{MOB profile | id= 105 | name= Diána Detre }}
- Output
-
- Diána Detre at the Magyar Olimpiai Bizottság (in Hungarian) (English translation)
- Former URLs (redirect to current URL)
- http://olimpia.hu/champdata/details/id/105/m/654 (archive)
- http://www.mob.hu/champdata/details/id/105/m/654
No parameters and Wikidata property not defined
[edit source]- Usage
* {{MOB profile}}
- Output
-
- MOB profile/doc at the Magyar Olimpiai Bizottság (in Hungarian) (English translation)Lua error in Module:EditAtWikidata at line 29: attempt to index field 'wikibase' (a nil value).
TemplateData
[edit source]TemplateData for MOB profile
This template displays an external link to an athlete's profile at the official website of the Hungarian Olympic Committee, known in Hungarian as Magyar Olimpiai Bizottság (MOB). It is intended for use in the external links section of an article.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| ID | id 1 | The ID is the first number in the URL, such as 77 in http://archiv.olimpia.hu/champdata/details/id/77/m/612 or http://www.mob.hu/champdata/details/id/77/m/612. This parameter is optional if Wikidata property P4066 exists, but required if not.
| Number | optional |
| Name | name 2 | The link text, which should be the name of the athlete. This parameter is optional; it defaults to the Wikipedia article name, without any disambiguation such as "(athlete)".
| String | optional |
Tracking categories
[edit source]- Category:MOB profile template with ID different from Wikidata (0)
- Category:MOB profile template with ID not in Wikidata (0)
- Category:MOB profile template missing ID and not in Wikidata (0)
Templates and modules used
[edit source]- {{PAGENAMEBASE}} and {{First word}}, implemented with Module:String
- {{EditAtWikidata}}, implemented with Module:EditAtWikidata
- {{WikidataCheck}}, implemented with Module:WikidataCheck
See also
[edit source]Olympic profile templates
[edit source]External links
[edit source]- Athlete search at archiv.olimpia.hu (in Hungarian) – use Hungarian name order (e.g. Kovács Sarolta, not Sarolta Kovács)