Difference between revisions of "Template:MOB profile/doc"
imported>Zyxw (create) |
imported>Zyxw m (→External links: update template) |
||
| Line 98: | Line 98: | ||
== External links == | == External links == | ||
| − | * [http://olimpia.hu/sportolok Athlete search at Olimpia.hu] {{hu | + | * [http://olimpia.hu/sportolok Athlete search at Olimpia.hu] {{link lang|hu}} |
<includeonly>{{sandbox other|| | <includeonly>{{sandbox other|| | ||
Revision as of 05:57, 13 June 2019
| This is a documentation subpage for Template:MOB profile. It contains usage information, categories and other content that is not part of the original template page. |
| 30px | This template uses Lua: |
Template:MOB profile displays an external link to an athlete's profile at Olimpia.hu, an official website of the Hungarian Olympic Committee (MOB: Magyar Olimpiai Bizottság). It is intended for use in the external links section of an article.
Contents
Usage
- Unnamed parameters
{{MOB profile | ID }}{{MOB profile | ID | NAME }}
- Named parameters
{{MOB profile | id= ID }}{{MOB profile | id= ID | name= NAME }}
- Using Wikidata property Template:Property
{{MOB profile}}{{MOB profile | name= NAME }}
Examples
Unnamed parameters
- Usage
* {{MOB profile | 77 | Sarolta Kovács }}
- Output
-
- Sarolta Kovács at the Magyar Olimpiai Bizottság (in Hungarian) (English translation)Script error: No such module "EditAtWikidata".Template:WikidataCheck
Named parameters
- Usage
* {{MOB profile | id= 23491 | name= Margit Korondi }}
- Output
-
- Margit Korondi at the Magyar Olimpiai Bizottság (in Hungarian) (English translation)Script error: No such module "EditAtWikidata".Template:WikidataCheck
No parameters and Wikidata property not defined
- Usage
* {{MOB profile}}
- Output
-
- Template:PAGENAMEBASE at the Magyar Olimpiai Bizottság (in Hungarian) (English translation)Script error: No such module "EditAtWikidata".Template:WikidataCheck
TemplateData
TemplateData for MOB profile
This template displays an external link to an athlete's profile at Olimpia.hu, an official website of the Hungarian Olympic Committee (MOB: Magyar Olimpiai Bizottság). It is intended for use in the external links section of an article.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| id | id 1 | The "id" parameter (or unnamed parameter "1") should contain the ID portion of the URL. Example: 77 is the ID portion of http://olimpia.hu/champdata/details/id/77. This parameter is optional if Wikidata property P4066 exists, but required if not.
| Number | optional |
| name | name 2 | The "name" parameter (or unnamed parameter "2") may be used to specify 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 |
See also
- {{IOC profile}} for links to profiles from the International Olympic Committee
- {{AOC profile}} for links to profiles from the Australian Olympic Committee
- {{BOC profile}} for links to profiles from the Brazilian Olympic Committee
- {{CNOSF profile}} for links to profiles from the Comité National Olympique et Sportif Français
- {{COA profile}} for links to profiles from the Comité Olímpico Argentino
- {{COC profile}} for links to profiles from the Canadian Olympic Committee
- {{COE profile}} for links to profiles from the Comité Olímpico Español
- {{CONI profile}} for links to profiles from the Comitato Olimpico Nazionale Italiano
- {{COSR profile}} for links to profiles from the Comitetul Olimpic și Sportiv Român
- {{COV profile}} for links to profiles from the Český olympijský výbor
- {{DOSB profile}} for links to profiles from the Deutscher Olympischer Sportbund
- {{LOK profile}} for links to profiles from the Latvijas Olimpiskā Komiteja
- {{NZOC profile}} for links to profiles from the New Zealand Olympic Committee
- {{SOK profile}} for links to profiles from the Sveriges Olympiska Kommitté
- {{Team GB}} for links to profiles from Team GB (the British Olympic Association)
- {{USOC profile}} for links to profiles from the United States Olympic Committee
External links