Difference between revisions of "Template:MVLSZ profile"

From blackwiki
Jump to navigation Jump to search
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">&#123;&#123;[[Template:MVLSZ profile|MVLSZ profile]]&#125;&#125; 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%2Fsportolok%2F Google search]; the ID is the number in the URL}}
+
| <span class="error">&#123;&#123;[[Template:MVLSZ profile|MVLSZ profile]]&#125;&#125; 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 documentation[view] [edit] [history] [purge]

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.

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
URL
http://waterpolo.hu/jatekos/2435

Named parameters

Usage
* {{MVLSZ profile | id= 293 | name= Rita Keszthelyi }}
Output
URL
http://waterpolo.hu/jatekos/293

No parameters and Wikidata property not defined

Usage
* {{MVLSZ profile}}
Output

TemplateData

This is the TemplateData documentation for this template used by VisualEditor and other tools; see the monthly parameter usage report for this template.

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.

Template parameters

ParameterDescriptionTypeStatus
idid 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.

Default
Wikidata property P8725
Numberoptional
namename 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)".

Default
{{PAGENAMEBASE}}
Stringoptional

Tracking categories

template with ID
template missing ID

See also

External links