Jump to content

Template:LFG player/doc

From Wikipedia, the free encyclopedia

Template:LFG player displays an external link or citation for an association football (soccer) player's statistics at LebanonFG.com.

Usage

[edit]
[edit]
ID without name (uses Wikipedia article name as link text)
{{LFG player | ID }}
{{LFG player | id = ID }}
ID with name
{{LFG player | ID | NAME }}
{{LFG player | id = ID | name = NAME }}

Citation with access-date

[edit]
ID without name (uses Wikipedia article name as link text)
{{LFG player | ID | access-date = DATE }}
{{LFG player | id = ID | access-date = DATE }}
ID with name
{{LFG player | ID | NAME | access-date = DATE }}
{{LFG player | id = ID | name = NAME | access-date = DATE }}

Examples

[edit]
[edit]
URLs
https://www.falebanon.com/player/27/
ID without name (uses Wikipedia article name as link text)
* {{LFG player | 27 }}
* {{LFG player | id = 27 }}
ID with name
* {{LFG player | 27 | Hassan Maatouk }}
* {{LFG player | id = 27 | name = Hassan Maatouk }}

As citation with access-date

[edit]
URLs
https://www.falebanon.com/player/27/
ID without name (uses Wikipedia article name as link text)
{{LFG player | 27 | access-date = 17 August 2014 }}
"LFG player/doc". Lebanon Football Guide. Retrieved 17 August 2014.
{{LFG player | id = 27 | access-date = 17 August 2014 }}
"LFG player/doc". Lebanon Football Guide. Retrieved 17 August 2014.
ID with name
{{LFG player | 27 | Hassan Maatouk | access-date = 2014-08-17 }}
"Hassan Maatouk". Lebanon Football Guide. Retrieved 2014-08-17.
{{LFG player | id = 27 | name = Hassan Maatouk | access-date = 2014-08-17 }}
"Hassan Maatouk". Lebanon Football Guide. Retrieved 2014-08-17.
Citation without date
{{LFG player | 27 | Hassan Maatouk | citation = yes }}
"Hassan Maatouk". Lebanon Football Guide.
{{LFG player | id = 27 | name = Hassan Maatouk | citation = yes }}
"Hassan Maatouk". Lebanon Football Guide.

No ID in template

[edit]
Usage
* {{LFG player}}
Output

TemplateData

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

TemplateData for LFG player

This template displays an external link or citation for an association football (soccer) player's statistics at LebanonFG.com.

Template parameters

ParameterDescriptionTypeStatus
Player ID1 id pid

ID portion of the URL for player's profile at LebanonFG.com. Example: 27 is the ID portion of http://lebanonfg.com/player/27/. This parameter is required.

Numberrequired
Player Name2 name

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
Access Dateaccess-date accessdate

Date that the URL was accessed. If specified, the output is formatted as a web citation.

Dateoptional
Citationcitation

If a value is given, the output is formatted as a web citation. Useful when a citation is needed without an access date.

Stringoptional