Difference between revisions of "Template:FIE"

From blackwiki
Jump to navigation Jump to search
imported>Zyxw
(update URL to avoid redirect at website)
imported>Zyxw
(update link)
 
Line 1: Line 1:
 
{{#if: {{{1<includeonly>|</includeonly>}}} {{{id|}}} {{#property:P2423}}
 
{{#if: {{{1<includeonly>|</includeonly>}}} {{{id|}}} {{#property:P2423}}
 
    
 
    
−
| [https://fie.org/athletes/{{#if: {{{1|{{{id<includeonly>|</includeonly>}}}}}} | {{{1|{{{id}}}}}} | {{First word|1={{#property:P2423}}|sep=,}} }} {{#if: {{{2|{{{name<includeonly>|</includeonly>}}}}}} | {{{2|{{{name}}}}}} | {{PAGENAMEBASE}} }}] at [[Fédération Internationale d'Escrime|FIE]]<includeonly>{{EditAtWikidata|pid=P2423|{{{1|{{{id|}}}}}}}}</includeonly>
+
| [https://fie.org/athletes/{{#if: {{{1|{{{id<includeonly>|</includeonly>}}}}}} | {{{1|{{{id}}}}}} | {{First word|1={{#property:P2423}}|sep=,}} }} {{#if: {{{2|{{{name<includeonly>|</includeonly>}}}}}} | {{{2|{{{name}}}}}} | {{PAGENAMEBASE}} }}] at the [[Fédération Internationale d'Escrime|International Fencing Federation]]<includeonly>{{EditAtWikidata|pid=P2423|{{{1|{{{id|}}}}}}}}</includeonly>
  
 
| <span class="error">&#123;&#123;[[Template:FIE|FIE]]&#125;&#125; template missing ID and not present in Wikidata.</span>
 
| <span class="error">&#123;&#123;[[Template:FIE|FIE]]&#125;&#125; template missing ID and not present in Wikidata.</span>

Latest revision as of 17:32, 14 February 2020

{{{name}}} at the International Fencing Federation

50px Template documentation[view] [edit] [history] [purge]

Template:Uses Wikidata Lua error in Module:Lua_banner at line 113: attempt to index field 'edit' (a nil value).

Template:FIE displays an external link to a fencer's profile at FIE.org, the official website of the International Fencing Federation (FIE: Fédération Internationale d'Escrime). It is intended for use in the external links section of an article.

Usage

Unnamed parameters:

{{FIE | ID }}
{{FIE | ID | NAME }}

Named parameters:

{{FIE | id= ID }}
{{FIE | id= ID | name= NAME }}

Using Wikidata property P2423:

{{FIE}}
{{FIE | name= NAME }}

Examples

Unnamed parameters

Usage
* {{FIE | 9377 | Arianna Errigo }}
Output
Current URL
https://fie.org/athletes/9377
Former URLs
http://fie.org/fencers/fencer/9377
http://fie.org/fencers/Arianna-ERRIGO-9377/
http://fie.ch/Competitions/FencerDetail.aspx?param=BF9EB8FA551B2405F04E393DFECF8109 (archive)

Named parameters

Usage
* {{FIE | id= 21958 | name= Alexander Massialas }}
Output
Current URL
https://fie.org/athletes/21958
Former URLs
http://fie.org/fencers/fencer/21958
http://fie.org/fencers/Alexander-MASSIALAS-21958/
http://fie.ch/Competitions/FencerDetail.aspx?param=FE93F3070E705537C5E0F6A3396061EB (archive)

No parameters and Wikidata property not defined

Usage
{{FIE}}
Output
Template:PAGENAMEBASE at the International Fencing FederationScript error: No such module "EditAtWikidata".

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 FIE

This template displays an external link to a fencer's profile at FIE.org, the official website of the International Fencing Federation (FIE: Fédération Internationale d'Escrime). 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. Example: 9377 is the ID portion of https://fie.org/athletes/9377 or http://fie.org/fencers/fencer/9377 or http://fie.org/fencers/Arianna-ERRIGO-9377/. This parameter is optional if Wikidata property P2423 exists, but required if not.

Default
Wikidata property P2423
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 fencer. This parameter is optional; it defaults to the Wikipedia article name, without any disambiguation such as "(fencer)".

Default
{{PAGENAMEBASE}}
Stringoptional

See also

External links