Template:Norwegian Football Federation link/doc
This is a documentation subpage for Template:Norwegian Football Federation link. It may contain usage information, categories and other content that is not part of the original template page. |
This template uses Lua: |
Template:Norwegian Football Federation link 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
[edit]Unnamed parameters:
{{Norwegian Football Federation link | ID }}
{{Norwegian Football Federation link | ID | NAME }}
Named parameters:
{{Norwegian Football Federation link | id=ID }}
{{Norwegian Football Federation link | id=ID | name=NAME }}
Using Wikidata property Norwegian Football Federation person ID (P3936):
{{Norwegian Football Federation link}}
{{Norwegian Football Federation link | name=NAME }}
Examples
[edit]Unnamed parameters
[edit]Usage:
* {{Norwegian Football Federation link | 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
[edit]Usage:
* {{Norwegian Football Federation link | 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
[edit]Usage:
* {{Norwegian Football Federation link}}
Output:
- {{NFF}} template missing ID and not present in Wikidata.
TemplateData
[edit]TemplateData for Norwegian Football Federation link
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
[edit]- Template:NIFS for links to the Norsk & Internasjonal Fotballstatistikk website