Difference between revisions of "Template:CFF player"

From blackwiki
Jump to navigation Jump to search
imported>Timbouctou
imported>Timbouctou
Line 4: Line 4:
  
 
<code><nowiki>{{CFF player|id|name}}</nowiki></code>
 
<code><nowiki>{{CFF player|id|name}}</nowiki></code>
* eg: <code><nowiki>{{CFF player|14831/vedran-corluka|Vedran Ćorluka}}</nowiki></code>  
+
*The "id" parameter is the code for the player profile at Croatian Football Federation website, as shown in address bar. The id usually consists of a series of digits, a slash sign ("/") and players name and last name separated by a dash sign ("-").
* or <code><nowiki>{{CFF player|14831/vedran-corluka}}</nowiki></code>  
+
*For example, the address for [[Vedran Ćorluka]] is <code><nowiki>http://hns-cff.hr/players/14831/vedran-corluka</nowiki></code>, so the id is "'''14831/vedran-corluka'''"
 +
*This yields <code><nowiki>{{CFF player|14831/vedran-corluka}}</nowiki></code>  
 +
*The "name" parameter is used to display player's name. If unused it defaults to article title.
 +
*For example: <code><nowiki>{{CFF player|14831/vedran-corluka|Vedran Ćorluka}}</nowiki></code>  
  
 
[[Category:Association football external link templates]]
 
[[Category:Association football external link templates]]

Revision as of 19:50, 15 June 2015

Template:PAGENAMEBASE at the Croatian Football Federation website Template:Hr icon

Usage

{{CFF player|id|name}}

  • The "id" parameter is the code for the player profile at Croatian Football Federation website, as shown in address bar. The id usually consists of a series of digits, a slash sign ("/") and players name and last name separated by a dash sign ("-").
  • For example, the address for Vedran Ćorluka is http://hns-cff.hr/players/14831/vedran-corluka, so the id is "14831/vedran-corluka"
  • This yields {{CFF player|14831/vedran-corluka}}
  • The "name" parameter is used to display player's name. If unused it defaults to article title.
  • For example: {{CFF player|14831/vedran-corluka|Vedran Ćorluka}}