Difference between revisions of "Template:MVLSZ profile"
imported>Phikia m |
imported>Phikia |
||
| Line 1: | Line 1: | ||
| − | {{#if: {{{1<includeonly>|</includeonly>}}} {{{id|}}} | + | {{#if: {{{1<includeonly>|</includeonly>}}} {{{id|}}} {{#property:P8725}} |
| − | | [http://waterpolo.hu/jatekos/{{#if: {{{1|{{{id<includeonly>|</includeonly>}}}}}} | {{{1|{{{id}}}}}} | }} {{#if: {{{2|{{{name<includeonly>|</includeonly>}}}}}} | {{{2|{{{name}}}}}} | {{PAGENAMEBASE}} }}] at [[Hungarian Water Polo Federation]] {{in lang|hu}} | + | | [http://waterpolo.hu/jatekos/{{#if: {{{1|{{{id<includeonly>|</includeonly>}}}}}} | {{{1|{{{id}}}}}} | {{First word|1={{#property:P8725}}|sep=,}} }} {{#if: {{{2|{{{name<includeonly>|</includeonly>}}}}}} | {{{2|{{{name}}}}}} | {{PAGENAMEBASE}} }}] at [[Hungarian Water Polo Federation]] {{in lang|hu}}<includeonly>{{EditAtWikidata|pid=P8725|{{{1|{{{id|}}}}}}}}</includeonly>{{WikidataCheck|property=P8725|value={{{1|{{{id|}}}}}}|category=MVLSZ profile template with ID|namespaces=0|nocatsame=1}} |
| − | | <span class="error">{{[[Template:MVLSZ profile|MVLSZ profile]]}} template missing ID.</span>{{#invoke:Preview warning|main|1=to find the ID, see the [http://waterpolo.hu/jatekosok/ Waterpolo.hu player search page] or this [https://www.google.com/search?q={{urlencode:{{PAGENAMEBASE}}}}+site%3Awaterpolo.hu% | + | | <span class="error">{{[[Template:MVLSZ profile|MVLSZ profile]]}} template missing ID and not present in Wikidata.</span>{{#invoke:Preview warning|main|1=to find the ID, see the [http://waterpolo.hu/jatekosok/ Waterpolo.hu player search page] or this [https://www.google.com/search?q={{urlencode:{{PAGENAMEBASE}}}}+site%3Awaterpolo.hu%2Fjatekos%2F Google search]; the ID is the number in the URL}}{{Main other|[[Category:MVLSZ profile template missing ID and not in Wikidata]]}} |
}}<noinclude> | }}<noinclude> | ||
{{Documentation}}<!-- Please add categories to the /doc subpage & add interwikis to Wikidata. --> | {{Documentation}}<!-- Please add categories to the /doc subpage & add interwikis to Wikidata. --> | ||
</noinclude> | </noinclude> | ||
Latest revision as of 13:52, 22 October 2020
{{{name}}} at Hungarian Water Polo Federation (in Hungarian)Template:WikidataCheck
Template:Uses Wikidata Template:Tracks Wikidata Lua error in Module:Lua_banner at line 113: attempt to index field 'edit' (a nil value).
Template:MVLSZ profile displays an external link to a player's profile at the official website of the Hungarian Water Polo Federation, known in Hungarian as Magyar Vízilabda Szövetség (MVLSZ). It is intended for use in the external links section of an article.
Contents
Usage
- Unnamed parameters
{{MVLSZ profile | ID }}{{MVLSZ profile | ID | NAME }}
- Named parameters
{{MVLSZ profile | id= ID }}{{MVLSZ profile | id= ID | name= NAME }}
- Using Wikidata property Template:Property
{{MVLSZ profile}}{{MVLSZ profile | name= NAME }}
Examples
Unnamed parameters
- Usage
* {{MVLSZ profile | 2435 | Márton Vámos }}
- Output
-
- Márton Vámos at Hungarian Water Polo Federation (in Hungarian)Script error: No such module "EditAtWikidata".Template:WikidataCheck
Named parameters
- Usage
* {{MVLSZ profile | id= 293 | name= Rita Keszthelyi }}
- Output
-
- Rita Keszthelyi at Hungarian Water Polo Federation (in Hungarian)Script error: No such module "EditAtWikidata".Template:WikidataCheck
No parameters and Wikidata property not defined
- Usage
* {{MVLSZ profile}}
- Output
-
- Template:PAGENAMEBASE at Hungarian Water Polo Federation (in Hungarian)Script error: No such module "EditAtWikidata".Template:WikidataCheck
TemplateData
TemplateData for MVLSZ profile
This template displays an external link to a player's profile at the official website of the Hungarian Water Polo Federation, known in Hungarian as Magyar Vízilabda Szövetség (MVLSZ). 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, which is the number shown. Examples: 2435 is the ID portion of http://waterpolo.hu/jatekos/2435, and 293 is the ID portion of http://waterpolo.hu/jatekos/293. This parameter is optional if Wikidata property P8725 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 player. This parameter is optional; it defaults to the Wikipedia article name, without any disambiguation such as "(water polo)".
| String | optional |
Tracking categories
- template with ID
- Category:MVLSZ profile template with ID different from Wikidata (0)
- Category:MVLSZ profile template with ID not in Wikidata (0)
- template missing ID
See also
- {{MOB profile}} for links to profiles from the Hungarian Olympic Committee, known in Hungarian as Magyar Olimpiai Bizottság (MOB)
External links
- Player search at Waterpolo.hu (in Hungarian) – use Hungarian name order (e.g. Vámos Márton, not Márton Vámos)
| The above documentation is transcluded from Template:MVLSZ profile/doc. (edit | history) Editors can experiment in this template's sandbox (edit | diff) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |