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

From blackwiki
Jump to navigation Jump to search
imported>Brayan Jaimes
imported>Brayan Jaimes
Line 7: Line 7:
 
===Usage===
 
===Usage===
 
<pre style="overflow:auto">
 
<pre style="overflow:auto">
{{Fb ss2 player|n= |pos= |c= |p= |pl= |la= |lg= |ca= |cg= |ia= |ig= |pm= |yc= |rc= |u=}}
+
{{Fb ss2 player|n= |pos= |c= |cv= |p= |pl= |la= |lg= |ca= |cg= |ia= |ig= |pm= |yc= |rc= |u=}}
 
</pre>
 
</pre>
  
Line 18: Line 18:
 
;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.
  
;p:Name of the player.
+
;p:Name of the player (required).
  
 
;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.
Line 41: Line 41:
  
 
;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.
 +
 +
===Example===
 +
====With all the parameters====
 +
<pre style="overflow:auto">
 +
{{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}}
 +
</pre>
 +
 +
Result:
 +
{{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=0 |ia=6 |ig=2 |pm=1690 |yc=2 |rc=1 |u=6 September 2013}}
 +
{{Fb ss2 footer}}
 +
 +
====Only the required parameters====
 +
<pre style="overflow:auto">
 +
{{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}}
 +
</pre>
 +
 +
Result:
 +
{{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}}
  
 
<includeonly>
 
<includeonly>

Revision as of 03:12, 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.
pos
Position of the player, abbreviated. For the abbreviations, see {{Fb position}}.
c
Nationality (required).
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.
p
Name of the player (required).
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.
la
League appearances (required).
lg
League goals (required).
ca
Cup appearances (required).
cg
Cup goals (required).
ia
International cup appearances (required).
ig
International cup goals (required).
pm
Played minutes, only league (required).
yc
Yellow cards, only league (required).
rc
Red cards, only league (required).
u
Date of update (required). Used to know what was the last game taken as a reference.

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 Spain 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


Faroe Islands Þó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