Template:FIGC Italy player: Difference between revisions
Undid revision 1167349392 by MasterRus21thCentury (talk) This seems to have messed up the template. |
remove unused parameter, update error message for missing ID |
||
Line 1: | Line 1: | ||
{{#if: {{{1<includeonly>|</includeonly>}}} {{{id |
{{#if: {{{1<includeonly>|</includeonly>}}} {{{id|}}} |
||
| {{#if: {{{access-date|{{{accessdate|{{{citation|}}}}}}}}} |
| {{#if: {{{access-date|{{{accessdate|{{{citation|}}}}}}}}} |
||
| {{cite web |url=https://www.figc.it/it/nazionali/nazionali-in-cifre/dettaglio-convocato/?calciatoreId={{Trim|{{{1|{{{id |
| {{cite web |url=https://www.figc.it/it/nazionali/nazionali-in-cifre/dettaglio-convocato/?calciatoreId={{Trim|{{{1|{{{id}}}}}}}}&squadraId=12 |title={{#if: {{{2|{{{name<includeonly>|</includeonly>}}}}}} | {{{2|{{{name}}}}}} | {{PAGENAMEBASE}} }} |website=FIGC profile |language= IT |access-date={{{access-date|{{{accessdate|}}}}}} }} |
||
| [https://www.figc.it/it/nazionali/nazionali-in-cifre/dettaglio-convocato/?calciatoreId={{Trim|{{{1|{{{id|{{{pid}}}}}}}}}}}&squadraId=12 {{#if: {{{2|{{{name<includeonly>|</includeonly>}}}}}} | {{{2|{{{name}}}}}} | {{PAGENAMEBASE}} }}] FIGC Italy profile {{in lang|it}} |
| [https://www.figc.it/it/nazionali/nazionali-in-cifre/dettaglio-convocato/?calciatoreId={{Trim|{{{1|{{{id|{{{pid}}}}}}}}}}}&squadraId=12 {{#if: {{{2|{{{name<includeonly>|</includeonly>}}}}}} | {{{2|{{{name}}}}}} | {{PAGENAMEBASE}} }}] FIGC Italy profile {{in lang|it}} |
||
Line 9: | Line 9: | ||
}} |
}} |
||
| <span class="error">{{[[FIGC Italy |
| <span class="error">{{[[Template:FIGC Italy player|FIGC Italy player]]}} template missing ID.</span> |
||
}}<noinclude> |
}}<noinclude> |
Latest revision as of 16:50, 31 August 2023
{{{name}}} FIGC Italy profile (in Italian)
- FIGC player ID (P11919) (see uses)
This template uses Lua: |
Template:FIGC Italy player displays an external link or citation for an association football (soccer) player's statistics at figc.it for Italy's players.
Usage
[edit]Unnamed parameters:
{{FIGC Italy player | ID }}
{{FIGC Italy player | ID | NAME }}
Named parameters:
{{FIGC Italy player | id= ID }}
{{FIGC Italy player | id= ID | name= NAME }}
Using Wikidata property FIGC player ID (P11919):
{{FIGC Italy player}}
{{FIGC Italy player | name= NAME }}
Examples
[edit]Unnamed parameters
[edit]Usage:
* {{FIGC Italy player | 43346 | Roberto Baggio }}
Output:
- Roberto Baggio FIGC Italy profile (in Italian)
URL:
Named parameters
[edit]Usage:
* {{FIGC Italy player | id= 43346 | name= Roberto Baggio }}
Output:
- Roberto Baggio FIGC Italy profile (in Italian)
URL:
No parameters and Wikidata property not defined
[edit]Usage:
* {{FIGC Italy player}}
Output:
- {{FIGC Italy player}} template missing ID.
TemplateData
[edit]TemplateData for FIGC Italy player
This template displays an external link or citation for an association football (soccer) player's statistics at FIGC.it
Parameter | Description | Type | Status | |
---|---|---|---|---|
Player ID | 1 id | ID portion of the URL for player's profile at FIGC.it Example: 43346 is the ID portion of https://www.figc.it/it/nazionali/nazionali-in-cifre/dettaglio-convocato/?calciatoreId=43346&squadraId=12. This parameter is required.
| String | optional |
Player Name | 2 name | 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 |