Template:NFF/doc
This is a documentation subpage for Template:NFF. It may contain usage information, categories and other content that is not part of the original template page. |
- NFF person ID (P3936) (see uses)
This template uses Lua: |
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:
- Lise Klaveness at the Norwegian Football Federation (in Norwegian)
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:
- Alexander Sørloth at the Norwegian Football Federation (in Norwegian)
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]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.
Parameter | Description | Type | Status | |
---|---|---|---|---|
id | id 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.
| Number | optional |
name | name 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)".
| String | optional |
See also
[change source]- Template:NIFS for links to the Norsk & Internasjonal Fotballstatistikk website