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

From blackwiki
Jump to navigation Jump to search
imported>Brayan Jaimes
imported>Vanisaac
m (→‎Only the required parameters: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other)
 
(4 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 +
{{documentation subpage}}
 
===Description===
 
===Description===
 
This template is an alternative of {{tl|Fb ss player}}. To make the entire table is working, is necessary to put the templates in the following order:
 
This template is an alternative of {{tl|Fb ss player}}. To make the entire table is working, is necessary to put the templates in the following order:
Line 7: Line 8:
 
===Usage===
 
===Usage===
 
<pre style="overflow:auto">
 
<pre style="overflow:auto">
{{Fb ss2 player|n= |pos= |c= |cv= |p= |pl= |la= |lg= |ca= |cg= |ia= |ig= |pm= |yc= |rc= |u=}}
+
{{Fb ss2 player|n= |pos= |c= |cv= |p= |la= |lg= |ca= |cg= |ia= |ig= |pm= |yc= |rc= |u=}}
 
</pre>
 
</pre>
  
Line 18: Line 19:
 
;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
 
;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
+
;p:Name of the player (required). For'''Example''': Radamel Falcao
 
+
'''Note:''' For this list can be sorted according to last names, you should use the template [[Template:Sortname|Sortname]].
;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
 
;la:League appearances (required). '''Example''': 10
Line 40: Line 40:
 
;rc:Red cards, only league (required). '''Example''': 2
 
;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 {{tl|dts}}. '''Example''': 10 February 2011
+
;u:Date of update (required). Used to know what was the last game taken as a reference. For all the possible inputs, see {{tl|date table sorting}}. '''Example''': 10 February 2011
  
 
===Example===
 
===Example===
Line 46: Line 46:
 
<pre style="overflow:auto">
 
<pre style="overflow:auto">
 
{{Fb ss2 header}}
 
{{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 player|n=10 |pos=FW |c=Spain |cv=1945 |p={{sortname|Gabriel|Castillo}} |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}}
 
{{Fb ss2 footer}}
 
</pre>
 
</pre>
Line 52: Line 52:
 
Result:
 
Result:
 
{{Fb ss2 header}}
 
{{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 player|n=10 |pos=FW |c=Spain |cv=1945 |p={{sortname|Gabriel|Castillo}} |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}}
 
{{Fb ss2 footer}}
  
Line 67: Line 67:
 
{{Fb ss2 footer}}
 
{{Fb ss2 footer}}
  
<includeonly>
+
<includeonly>{{Sandbox other||
 
<!-- Categories go here, and interwikis go in Wikidata -->
 
<!-- Categories go here, and interwikis go in Wikidata -->
 
[[Category:Fb templates|{{PAGENAME}}]]
 
[[Category:Fb templates|{{PAGENAME}}]]
</includeonly>
+
}}</includeonly>

Latest revision as of 04:22, 25 April 2020

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= |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). ForExample: Radamel Falcao

Note: For this list can be sorted according to last names, you should use the template Sortname.

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 {{date table sorting}}. Example: 10 February 2011

Example

With all the parameters

{{Fb ss2 header}}
{{Fb ss2 player|n=10 |pos=FW |c=Spain |cv=1945 |p={{sortname|Gabriel|Castillo}} |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


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