Open main menu
Home
Random
Donate
Recent changes
Special pages
Community portal
Preferences
About Stockhub
Disclaimers
Search
User menu
Talk
Contributions
Create account
Log in
Editing
Module:External links/conf/Sports/doc
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
{{#ifeq:{{SUBPAGENAME}}|sandbox||{{High-use}}}} {{:Module:External links/conf/documentation page}} == Examples == === message / short === Entering the following line in [[Module:External links/conf/Sports]]: : <syntaxhighlight lang="lua">{ prop='P1469', message='[$2 $1] at [[FIFA]]', short='[$2 FIFA]', langcode='en' },</syntaxhighlight> Would display as one of the following in [[Antonio Cabrini]]: : <code><nowiki>{{#invoke:External links|getLinks|conf=Sports}}</nowiki></code> β : [https://static.fifa.com/fifa-tournaments/players-coaches/people=174446/index.html Antonio Cabrini] at [[FIFA]] : <code><nowiki>{{#invoke:External links|getLinks|conf=Sports|short=1}}</nowiki></code> β : [https://static.fifa.com/fifa-tournaments/players-coaches/people=174446/index.html FIFA] === genitive === Entering the following line in [[Module:External links/conf/Sports]]: : <syntaxhighlight lang="lua">{ prop='P1469', message='[$2 $1 player profile] at FIFA', langcode='en', genitive=true },</syntaxhighlight> Would display as the following in [[Antonio Cabrini]]: : <code><nowiki>{{#invoke:External links|getLinks|conf=Sports}}</nowiki></code> β : [https://static.fifa.com/fifa-tournaments/players-coaches/people=174446/index.html Antonio Cabrini's player profile] at FIFA === langcode === Entering the following line in [[Module:External links/conf/Sports]]: : <syntaxhighlight lang="lua">{ prop='P3446', message='[$2 $1] at the [[Italian Athletics Federation]]$3', langcode='it' },</syntaxhighlight> Would display as the following in [[Dorando Pietri]]: : <code><nowiki>{{#invoke:External links|getLinks|conf=Sports}}</nowiki></code> β : [http://www.fidal.it/atleta_one.php?t=fKuUlJs Dorando Pietri] at the [[Italian Athletics Federation]] {{in lang|it}} === locally defined ID with regex === Entering the following line in [[Module:External links/conf/Sports]]: : <syntaxhighlight lang="lua">{ prop='dbwrestling', message="[$2 ''$1''] at the International Wrestling Database", langcode='en', url='https://www.iat.uni-leipzig.de/datenbanken/dbwrestling/daten.php?spid=$1', regex='[A-F0-9]+' },</syntaxhighlight> Would display the following in [[John-Olav Einemo]]: : <code><nowiki>{{#invoke:External links |getLinks |conf=Sports |dbwrestling=B777A635A94B435AB78C5413C14BE233}}</nowiki></code> β : [https://www.iat.uni-leipzig.de/datenbanken/dbwrestling/daten.php?spid=B777A635A94B435AB78C5413C14BE233 ''John-Olav Einemo''] at the International Wrestling Database Does not display a link if the ID does not match the [[regex]]: : <code><nowiki>{{#invoke:External links |getLinks |conf=Sports |dbwrestling=NonValidID}}</nowiki></code> == See also == * {{tl|Sports links}} * {{clc|Articles using sports links with data from Wikidata}} * {{clc|Articles using sports links with no link in Wikidata}} * {{clc|Articles using sports links with no data in Wikidata}} <includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox | | <!-- Categories below this line, please; interwikis at Wikidata --> }}</includeonly>
Summary:
Please note that all contributions to Stockhub may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
Stockhub:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Templates used on this page:
Template:Clc
(
edit
)
Template:High-use
(
edit
)
Template:In lang
(
edit
)
Template:Tl
(
edit
)
Module:External links/conf/documentation page
(
edit
)