Difference between revisions of "Template:FFU profile/doc"
(moved categories over from template, updated documentation, added TemplateData, added examples) |
m (1 revision) |
(No difference)
|
Latest revision as of 04:12, 22 March 2014
40px | This is a documentation subpage for Template:FFU profile. It contains usage information, categories and other content that is not part of the original template page. |
Template:FFU profile displays an external link to an association football player's official FFU profile and statistics page.
Contents
Usage
Named parameters:
{{FFU profile|id=ID|name=NAME}}
{{FFU profile|id=ID}}
Unnamed parameters:
{{FFU profile|ID|NAME}}
{{FFU profile|ID}}
TemplateData
This is the TemplateData documentation for this template used by VisualEditor and other tools.
FFU profile
<templatedata>{ "description": "This template displays an external link to an association football player's official FFU (Football Federation of Ukraine) profile and statistics page.", "params": {
"id": { "label": "ID", "aliases": ["1"], "description": "ID number found in URL of the player's official FFU page. Example: 4262 for http://www.ffu.org.ua/ukr/tournaments/prof/4262", "type": "number", "default": "", "required": true }, "name": { "label": "Name", "aliases": ["2"], "description": "Name of player. If not given it defaults to the Wikipedia article name, therefore it should be specified when the article name contains disambiguation such as (footballer).", "type": "string", "default": "FFU profile/doc", "required": false }
}}</templatedata>
Examples
Two named parameters:
- Usage:
{{FFU profile|id=4262|name=Andriy Khomyn}}
- Result: Andriy Khomyn at FFU.org.ua (Ukrainian)
Two unnamed parameters:
- Usage:
{{FFU profile|4262|Andriy Khomyn}}
- Result: Andriy Khomyn at FFU.org.ua (Ukrainian)
One unnamed parameter:
- Usage:
{{FFU profile|4262}}
- Result: FFU profile/doc at FFU.org.ua (Ukrainian)