Jump to content

Template:EFC/doc

From Wikipedia, the free encyclopedia

Template:EFC displays an external link to a fencer's profile at EuroFencing.info, the official website of the European Fencing Confederation (EFC). It is intended for use in the external links section of an article.

Usage

[edit]

Unnamed parameters:

{{EFC | ID }}
{{EFC | ID | NAME }}

Named parameters:

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

Using Wikidata property P4475:

{{EFC}}
{{EFC | name= NAME }}

Examples

[edit]

Unnamed parameters

[edit]
Usage
* {{EFC | 00689610 | Elisa Di Francisca }}
Output
Current URL
https://www.eurofencing.info/competitions/fencers/case:fencer/licence:00689610
Former URL
http://www.eurofencing.info/athletes/biography/elisa-di-francisca (archived 2017-01-22)

Named parameters

[edit]
Usage
* {{EFC | id= 00689031 | name= Matyas Szabo }}
Output
Current URL
https://www.eurofencing.info/competitions/fencers/case:fencer/licence:00689031
Former URL
http://www.eurofencing.info/athletes/biography/matyas-szabo (archived 2017-04-30)

No parameters and Wikidata property not defined

[edit]
Usage
* {{EFC}}
Output
  • {{EFC}} template missing ID and not present in Wikidata.

TemplateData

[edit]
This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:EFC in articles based on its TemplateData.

TemplateData for EFC

This template displays an external link to a fencer's profile at EuroFencing.info, the official website of the European Fencing Confederation (EFC). 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: 00689610 is the ID portion of https://www.eurofencing.info/competitions/fencers/case:fencer/licence:00689610. This parameter is optional if Wikidata property P4475 exists, but required if not.

Default
Wikidata property P4475
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

[edit]
[edit]