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)
 
(12 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 5: Line 6:
 
#{{tl|Fb ss2 footer}}
 
#{{tl|Fb ss2 footer}}
  
<includeonly>
+
===Usage===
<!-- Categories go here, and interwikis go in Wikidata -->
+
<pre style="overflow:auto">
[[Category:Fb templates|{{PAGENAME}}]]
+
{{Fb ss2 player|n= |pos= |c= |cv= |p= |la= |lg= |ca= |cg= |ia= |ig= |pm= |yc= |rc= |u=}}
</includeonly>
+
</pre>
 +
 
 +
;n:Jersey number. '''Example''': 5
 +
 
 +
;pos:Position of the player, abbreviated. For the abbreviations, see {{tl|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). For'''Example''': Radamel Falcao
 +
'''Note:''' For this list can be sorted according to last names, you should use the template [[Template:Sortname|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 {{tl|date table sorting}}. '''Example''': 10 February 2011
 +
 
 +
===Example===
 +
====With all the parameters====
 +
<pre style="overflow:auto">
 +
{{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}}
 +
</pre>
 +
 
 +
Result:
 +
{{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=0 |ia=6 |ig=2 |pm=1690 |yc=2 |rc=1 |u=6 September 2013}}
 +
{{Fb ss2 footer}}
  
===Usage===
+
====Only the required parameters====
 
<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 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>
 
</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>{{Sandbox other||
 +
<!-- Categories go here, and interwikis go in Wikidata -->
 +
[[Category:Fb templates|{{PAGENAME}}]]
 +
}}</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 File:Flag of Spain (1945–1977).svg 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