Template:NFF/doc

From Simple English Wikipedia, the free encyclopedia

Template:NFF displays an external link to an association football (soccer) player's profile at fotball.no, the official website of the Norwegian Football Federation (Norges Fotballforbund). It is intended for use in the external links section of an article.

Usage[change source]

Unnamed parameters:

{{NFF | ID }}
{{NFF | ID | NAME }}

Named parameters:

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

Using Wikidata property NFF person ID (P3936):

{{NFF}}
{{NFF | name=NAME }}

Examples[change source]

Unnamed parameters[change source]

Usage:

* {{NFF | 1987647 | Lise Klaveness }}

Output:

Current URLs:

https://www.fotball.no/fotballdata/person/profil/?fiksId=1987647
http://www.fotball.no/fotballdata/Profil/?fiksId=1987647

Former URL:

http://www.fotball.no/Community/Profil/?fiksId=1987647 (archive)

Named parameters[change source]

Usage:

* {{NFF | id=2568354 | name=Alexander Sørloth }}

Output:

Current URLs:

https://www.fotball.no/fotballdata/person/profil/?fiksId=2568354
http://www.fotball.no/fotballdata/Profil/?fiksId=2568354

Former URL:

http://www.fotball.no/Community/Profil/?fiksId=2568354 (archive)

No parameters and Wikidata property not defined[change source]

Usage:

* {{NFF}}

Output:

  • {{NFF}} template missing ID and not present in Wikidata.

TemplateData[change source]

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

TemplateData for NFF

This template displays an external link to an association football (soccer) player's profile at fotball.no, the official website of the Norwegian Football Federation (Norges Fotballforbund). 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: 1987647 is the ID portion of https://www.fotball.no/fotballdata/person/profil/?fiksId=1987647, http://www.fotball.no/fotballdata/Profil/?fiksId=1987647, or http://www.fotball.no/Community/Profil/?fiksId=1987647. This parameter is optional if Wikidata property P3936 exists, but required if not.

Default
Wikidata property P3936
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 "(footballer)" or "(soccer)".

Default
{{PAGENAMEBASE}}
Stringoptional

See also[change source]

  • Template:NIFS for links to the Norsk & Internasjonal Fotballstatistikk website