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

From blackwiki
Jump to navigation Jump to search
imported>John of Reading
m (Typo fixing, replaced: payed → paid using AWB)
imported>Vanisaac
m (→‎See also: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other)
 
(5 intermediate revisions by one other user not shown)
Line 1: Line 1:
 
{{Documentation subpage}}
 
{{Documentation subpage}}
 
<!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE -->
 
<!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE -->
 +
{{fb out2 header}}
 +
{{generic template demo| bg =  | tc = NLD | n=n | pos=GK | ni=FRA | nb=USA | p=p | age=age | eu=y | ncl=ncl | ncnat=PAK | type = type| w = w| f = f | os = os}}
 +
{{generic template demo| bg =y | tc = CHN | n=n | pos=ST | ni=BRA | nb=ARG | p=p | age=age | eu=y | ncl=ncl | ncnat=IND | type = type| w = w| f = f | os = os}}
 +
{{fb out2 footer}}
 +
==Basic syntax==
 +
<pre style="overflow:auto;">
 +
{{fb out2 player
 +
| bg  =
 +
| tc  =
 +
| p    =
 +
| n    =
 +
| pos  =
 +
| nb  =
 +
| ni  =
 +
| age  = <!-- {{age|year1|month1|day1|year2|month2|day2}} -->
 +
| eu  = <!-- or | us = for MLS clubs -->
 +
| ncl  =
 +
| ncnat=
 +
| type =
 +
| w    =
 +
| f    =
 +
| os  =
 +
}}
 +
</pre>
  
Template:Fb out player (Football - out - player)<br />
+
==Parameters==
<br />
+
{| class="wikitable"
Parameters<br />
+
|-
tc : team's country (team is the team that the article is about). When team's country is the same as new club's country, the new club country's flag doesn't show up;<br />
+
! bg
bg  : background color. y = yes; blank = no<br />
+
| background color
type : type of moving.<br />
+
| Should be used for alternation the background color per row from light grey to dark grey. y = yes; blank = no
eu : EU passport: y = yes; n = no; blank = blank; NOT defined = NO column <br />
+
|-
nb  : nationality of birth (following codes from List_of_FIFA_country_codes article)<br />
+
! tc  
n   : number on jersey<br />
+
| team country
p  : player's name on jersey and link to his article<br />
+
| team is the team that the article is about (this is the same for all players in the table). When team's country is the same as new club's country, the new club's flag doesn't show up.
pos : position (using codes from "Football (soccer) positions" article)<br />
+
|-
age : template age <nowiki>{{age|year|month|day}}</nowiki> with his birthday<br />
+
! p
nc  : new club (moving to)<br />
+
| player's name
ncl : new club link (moving to)<br />
+
| player's name on jersey and link to player's article
w   : window transfer: S = Summer; W = Winter; or any text<br />
+
|-
e   : contract ends<br />
+
! n
f   : transfer fee paid by the team (if less than 10 give a space after the currency symbol for the column sorting work properly); Free = free transfer; YS = Youth system; U = Undisclosed <br />
+
| number on jersey
ni  : nationality as international player (if different from nb) (following codes from List_of_FIFA_country_codes article)<br />
+
|
os : other source<br />
+
|-
<br />
+
! pos
If TEAM name shows as an unknown template, please create the template copying from this:<br />
+
| position
<code><nowiki>{{fb team |t=EnterHereTheNameToBeShown |tan=EnterHereTheTeamArticlesTitle |tc=EnterHereThe3LettersCountryDefinedIn_List_of_FIFA_country_codes_Article |oc={{#if:{{{oc|}}}|{{{oc}}} }} }}<!--</nowiki></code><br />
+
| using codes from [[Association football positions]]
<code><<nowiki>noinclude>-->[[Category:Fb_team_templates]]</noinclude</nowiki>></code><br />
+
|-
<br />
+
! nb
 +
| nationality of birth
 +
| following codes from [[List of FIFA country codes]]
 +
|-
 +
! ni
 +
| nationality as international player
 +
| Use if different from nb. Following codes from [[List of FIFA country codes]].
 +
|-
 +
! age
 +
| player's age
 +
| use [[:Template:Age]] with player's birthday and date of signing
 +
|-
 +
! eu
 +
| EU passport (for European clubs only)
 +
| y = yes; n = no; blank = blank; NOT defined = NO column
 +
|-
 +
! us
 +
| US citizen (for MLS teams only)
 +
| y = yes; n = no; blank = blank; NOT defined = NO column
 +
|-
 +
! nc 
 +
| new club
 +
| The club the player is moving to.
 +
|-
 +
! ncl
 +
| wikilink to new club
 +
| wikilink to the new club the player is moving to.
 +
|-
 +
! ncnat
 +
| new club nationality
 +
| nationality of the new club the player is moving to (if this is different from <code>tc</code>, a flagicon is rendered next to the new club name).
 +
|-
 +
! type
 +
| type of moving
 +
|
 +
|-
 +
! w  
 +
| window transfer
 +
| S = Summer; W = Winter; or any text
 +
|-
 +
! e  
 +
| contract ends
 +
| U = Undisclosed (does not show in table)
 +
|-
 +
! f  
 +
| transfer fee paid by the team
 +
| if less than 10 give a space after the currency symbol for the column sorting work properly. Free = free transfer; YS = Youth system; U = Undisclosed
 +
|-
 +
! os  
 +
| other source
 +
|
 +
|-
 +
! sn
 +
| status notes
 +
| (does not show in the table)
 +
|}
  
<includeonly>
+
If TEAM name shows as an unknown template, use {{para|ncl}} and {{para|ncnat}} instead of {{para|nc}}.
 +
== Tracking category ==
 +
* {{clc|Pages using fb out2 player with unknown parameters}}
 +
* {{clc|Pages using fb out2 player with bad flag data}}
 +
* {{clc|Pages using fb out2 player with blank ncnat}}
 +
 
 +
== See also ==
 +
* {{tl|fb out2 header}} / {{tl|fb out2 footer}}
 +
* {{tl|fb in2 player}}
 +
 
 +
<includeonly>{{Sandbox other||
 
<!-- ADD CATEGORIES BELOW THIS LINE -->
 
<!-- ADD CATEGORIES BELOW THIS LINE -->
[[Category:Fb_templates|{{PAGENAME}}]]
+
[[Category:Fb_templates]]
<!-- ADD INTERWIKIS BELOW THIS LINE -->
+
}}</includeonly>
 
 
</includeonly>
 

Latest revision as of 04:20, 25 April 2020

N
Pos.
Nat.
Name
Age
EU
Moving to
Type
Transfer
window
Transfer
fee
Source
  1. redirect Template:Parameter names example
  2. redirect Template:Parameter names example

Basic syntax

{{fb out2 player
| bg   = 
| tc   = 
| p    = 
| n    = 
| pos  = 
| nb   = 
| ni   = 
| age  = <!-- {{age|year1|month1|day1|year2|month2|day2}} -->
| eu   = <!-- or | us = for MLS clubs -->
| ncl  = 
| ncnat= 
| type = 
| w    = 
| f    = 
| os   = 
}}

Parameters

bg background color Should be used for alternation the background color per row from light grey to dark grey. y = yes; blank = no
tc team country team is the team that the article is about (this is the same for all players in the table). When team's country is the same as new club's country, the new club's flag doesn't show up.
p player's name player's name on jersey and link to player's article
n number on jersey
pos position using codes from Association football positions
nb nationality of birth following codes from List of FIFA country codes
ni nationality as international player Use if different from nb. Following codes from List of FIFA country codes.
age player's age use Template:Age with player's birthday and date of signing
eu EU passport (for European clubs only) y = yes; n = no; blank = blank; NOT defined = NO column
us US citizen (for MLS teams only) y = yes; n = no; blank = blank; NOT defined = NO column
nc new club The club the player is moving to.
ncl wikilink to new club wikilink to the new club the player is moving to.
ncnat new club nationality nationality of the new club the player is moving to (if this is different from tc, a flagicon is rendered next to the new club name).
type type of moving
w window transfer S = Summer; W = Winter; or any text
e contract ends U = Undisclosed (does not show in table)
f transfer fee paid by the team if less than 10 give a space after the currency symbol for the column sorting work properly. Free = free transfer; YS = Youth system; U = Undisclosed
os other source
sn status notes (does not show in the table)

If TEAM name shows as an unknown template, use |ncl= and |ncnat= instead of |nc=.

Tracking category

See also