Difference between revisions of "Template:Fb ss2 player/doc"

From blackwiki
Jump to navigation Jump to search
imported>Brayan Jaimes
imported>Brayan Jaimes
Line 10: Line 10:
 
</pre>
 
</pre>
  
;n:Jersey number.
+
;n:Jersey number. '''Example''': 5
  
;pos:Position of the player, abbreviated. For the abbreviations, see {{tl|Fb position}}.
+
;pos:Position of the player, abbreviated. For the abbreviations, see {{tl|Fb position}}. '''Example''': GK
  
;c:Nationality (required).
+
;c:Nationality (required). '''Example''': England. '''Another way''': ENG
  
;cv:Flag variant. Use this for players of former countries or that played in a year in which the flag of their country was other than the actual.
+
;cv:Flag variant. Use this for players of former countries or that played in a year in which the flag of their country was other than the actual. '''Example''': 1945
  
;p:Name of the player (required).
+
;p:Name of the player (required). '''Example''': Falcao
  
;pl:Link of the player's article. It's only neccesary if the name of the player's article is different to the player's name.
+
;pl:Link of the player's article. It's only neccesary if the name of the player's article is different to the player's name. '''Example''': Radamel Falcao
  
;la:League appearances (required).
+
;la:League appearances (required). '''Example''': 10
  
;lg:League goals (required).
+
;lg:League goals (required). '''Example''': 4
  
;ca:Cup appearances (required).
+
;ca:Cup appearances (required). '''Example''': 10
  
;cg:Cup goals (required).
+
;cg:Cup goals (required). '''Example''': 4
  
;ia:International cup appearances (required).
+
;ia:International cup appearances (required). '''Example''': 10
  
;ig:International cup goals (required).
+
;ig:International cup goals (required). '''Example''': 4
  
;pm:Played minutes, only league (required).
+
;pm:Played minutes, only league (required). '''Example''': 1800
  
;yc:Yellow cards, only league (required).
+
;yc:Yellow cards, only league (required). '''Example''': 4
  
;rc:Red cards, only league (required).
+
;rc:Red cards, only league (required). '''Example''': 2
  
;u:Date of update (required). Used to know what was the last game taken as a reference.
+
;u:Date of update (required). Used to know what was the last game taken as a reference. For all the possible inputs, see {{tl|dts}}. '''Example''': 10 February 2011
  
 
===Example===
 
===Example===

Revision as of 03:19, 6 September 2013

Description

This template is an alternative of {{Fb ss player}}. To make the entire table is working, is necessary to put the templates in the following order:

  1. {{Fb ss2 header}}
  2. {{Fb ss2 player}}
  3. {{Fb ss2 footer}}

Usage

{{Fb ss2 player|n= |pos= |c= |cv= |p= |pl= |la= |lg= |ca= |cg= |ia= |ig= |pm= |yc= |rc= |u=}}
n
Jersey number. Example: 5
pos
Position of the player, abbreviated. For the abbreviations, see {{Fb position}}. Example: GK
c
Nationality (required). Example: England. Another way: ENG
cv
Flag variant. Use this for players of former countries or that played in a year in which the flag of their country was other than the actual. Example: 1945
p
Name of the player (required). Example: Falcao
pl
Link of the player's article. It's only neccesary if the name of the player's article is different to the player's name. Example: Radamel Falcao
la
League appearances (required). Example: 10
lg
League goals (required). Example: 4
ca
Cup appearances (required). Example: 10
cg
Cup goals (required). Example: 4
ia
International cup appearances (required). Example: 10
ig
International cup goals (required). Example: 4
pm
Played minutes, only league (required). Example: 1800
yc
Yellow cards, only league (required). Example: 4
rc
Red cards, only league (required). Example: 2
u
Date of update (required). Used to know what was the last game taken as a reference. For all the possible inputs, see {{dts}}. Example: 10 February 2011

Example

With all the parameters

{{Fb ss2 header}}
{{Fb ss2 player|n=10 |pos=FW |c=Spain |cv=1945 |p=Gabriel Castillo |pl=Wikipedia:Main Page |la=20 |lg=18 |ca=2 |cg=4 |ia=6 |ig=2 |pm=1790 |yc=2 |rc=1 |u=6 September 2013}}
{{Fb ss2 footer}}

Result:

No. Pos. Nat. Player LA LG CA CG IA IG TA TG PM Yellow card Red card Updated


Template:Nts FW 23x15px Gabriel Castillo Template:Nts Template:Nts Template:Nts Template:Nts Template:Nts Template:Nts 28 20 Template:Nts Template:Nts Template:Nts 6 September 2013

International cup: International cup name required


Only the required parameters

{{Fb ss2 header}}
{{Fb ss2 player|c=Faroe Islands |p=Þór  Stefansson |la=10 |lg=5 |ca=3 |cg=6 |ia=0 |ig=0 |pm=560 |yc=0 |rc=2 |u=6 September 2013}}
{{Fb ss2 footer}}

Result:

No. Pos. Nat. Player LA LG CA CG IA IG TA TG PM Yellow card Red card Updated


23x15px Þór Stefansson Template:Nts Template:Nts Template:Nts Template:Nts Template:Nts Template:Nts 13 11 Template:Nts Template:Nts Template:Nts 6 September 2013

International cup: International cup name required