Template:RomanianSoccer/doc
This is a documentation subpage for Template:RomanianSoccer. It may contain usage information, categories and other content that is not part of the original template page. |
This template is used on approximately 2,400 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them. |
This template uses Lua: |
Template:RomanianSoccer displays an external link to an association football (soccer) player's profile at RomanianSoccer.ro.
Usage
[edit]- Unnamed parameters (current ID)
{{RomanianSoccer | ID }}
{{RomanianSoccer | ID | NAME }}
- Named parameters (current ID)
{{RomanianSoccer | id= ID }}
{{RomanianSoccer | id= ID | name= NAME }}
{{RomanianSoccer | id= ID | name= NAME | accessdate= ACCESS DATE }}
- Named parameters (old ID)
{{RomanianSoccer | old_id= ID }}
{{RomanianSoccer | old_id= ID | name= NAME }}
{{RomanianSoccer | old_id= ID | name= NAME | accessdate= ACCESS DATE }}
- Using Wikidata property Romanian Soccer player ID (P6399)
{{RomanianSoccer}}
{{RomanianSoccer | name= NAME }}
{{RomanianSoccer | name= NAME | accessdate= ACCESS DATE }}
Examples
[edit]Current URL (ID number in Wikidata)
[edit]- Usage in Ionel Augustin
{{RomanianSoccer}}
{{RomanianSoccer | accessdate= 24 November 2024 }}
- Output
- Ionel Augustin at RomanianSoccer.ro (in Romanian)
- Ionel Augustin at RomanianSoccer.ro (in Romanian). Retrieved 24 November 2024.
Current URL (ID number in template)
[edit]- Usage in Ionel Augustin
{{RomanianSoccer | 97 }}
{{RomanianSoccer | id= 97 | accessdate= 24 November 2024 }}
- Output
- Ionel Augustin at RomanianSoccer.ro (in Romanian)
- Ionel Augustin at RomanianSoccer.ro (in Romanian). Retrieved 24 November 2024.
Current URL (full ID)
[edit]- Usage in Ionel Augustin
{{RomanianSoccer | 97/ionel-augustin }}
{{RomanianSoccer | id= 97/ionel-augustin | accessdate= 24 November 2024 }}
- Output
- Ionel Augustin at RomanianSoccer.ro (in Romanian)
- Ionel Augustin at RomanianSoccer.ro (in Romanian). Retrieved 24 November 2024.
Old URL (different ID)
[edit]- Usage in Mircea Sasu
{{RomanianSoccer | old_id= s/sasu_mircea | archive= 20140410145835 }}
{{RomanianSoccer | old_id= s/sasu_mircea | accessdate= 24 November 2024 }}
- Output
- Mircea Sasu at RomanianSoccer.ro (archived) (in Romanian)
- Mircea Sasu at RomanianSoccer.ro (archived) (in Romanian). Retrieved 24 November 2024.
- URLs
- https://web.archive.org/web/20140410145835/http://www.romaniansoccer.ro/players/s/sasu_mircea.shtml
- https://web.archive.org/web/1/https://www.romaniansoccer.ro/players/s/sasu_mircea.shtml
- http://www.romaniansoccer.ro/players/s/sasu_mircea.shtml (missing on current website)
No parameters
[edit]- Usage
{{RomanianSoccer}}
- Output
- {{RomanianSoccer}} template missing ID and not present in Wikidata.
TemplateData
[edit]TemplateData for RomanianSoccer
This template displays an external link to an association football (soccer) player's profile at RomanianSoccer.ro.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Old ID | old_id | An ID such as a/augustin_ionel in https://www.romaniansoccer.ro/players/a/augustin_ionel.shtml (which redirects to https://www.romaniansoccer.ro/players/97/ionel-augustin.htm). This parameter is optional if the "id" parameter (or unnamed parameter "1") is used or if Wikidata property P6399 exists. | String | optional |
ID | id 1 | An ID such as 97/ionel-augustin in https://www.romaniansoccer.ro/players/97/ionel-augustin.htm or 97 in https://www.romaniansoccer.ro/players/97/. This parameter is optional if the "old_id" parameter is used or if Wikidata property P6399 exists.
| String | optional |
Name | name 2 | 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 |
Access Date | accessdate | The date when the player's page was last accessed. It allows the template to be used as a reference, rather than as an external link. This parameter is optional. | Date | optional |
Tracking category
[edit]- Category:RomanianSoccer template with ID not matching pattern (6)
- Category:RomanianSoccer template missing ID (0)
External links
[edit]