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>Frietjes
Line 2: Line 2:
 
<!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE -->
 
<!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE -->
  
Template:Fb out player (Football - out - player)<br />
+
==Basic syntax==
<br />
+
<pre style="overflow:auto;">
Parameters<br />
+
{{fb out2 player
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 />
+
| tc  =
type : type of moving.<br />
+
| p    =
eu : EU passport: y = yes; n = no; blank = blank; NOT defined = NO column <br />
+
| n    =
nb : nationality of birth (following codes from List_of_FIFA_country_codes article)<br />
+
| pos  =
n  : number on jersey<br />
+
| nb  =
p  : player's name on jersey and link to his article<br />
+
| ni  =
pos : position (using codes from "Football (soccer) positions" article)<br />
+
| age  = <!-- {{age|year1|month1|day1|year2|month2|day2}} -->
age : template age <nowiki>{{age|year|month|day}}</nowiki> with his birthday<br />
+
| eu  =
nc  : new club (moving to)<br />
+
| ncl  =
ncl : new club link (moving to)<br />
+
| ncnat=
w   : window transfer: S = Summer; W = Winter; or any text<br />
+
| type =
e   : contract ends<br />
+
| w    =
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 />
+
| f    =
ni  : nationality as international player (if different from nb) (following codes from List_of_FIFA_country_codes article)<br />
+
| os  =
os : other source<br />
+
}}
<br />
+
</pre>
If TEAM name shows as an unknown template, please create the template copying from this:<br />
+
 
<code><nowiki>{{fb team |t=EnterHereTheNameToBeShown |tan=EnterHereTheTeamArticlesTitle |tc=EnterHereThe3LettersCountryDefinedIn_List_of_FIFA_country_codes_Article |oc={{#if:{{{oc|}}}|{{{oc}}} }} }}<!--</nowiki></code><br />
+
==Parameters==
<code><<nowiki>noinclude>-->[[Category:Fb_team_templates]]</noinclude</nowiki>></code><br />
+
{| class="wikitable"
<br />
+
|-
 +
! 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
 +
| 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)
 +
|}
 +
 
 +
If TEAM name shows as an unknown template, use {{para|ncl}} and {{para|ncnat}} instead of {{para|nc}}.
 +
== See also ==
 +
* {{tl|fb out2 header}} / {{tl|fb out2 footer}}
 +
* {{tl|fb in2 player}}
  
 
<includeonly>
 
<includeonly>
 
<!-- ADD CATEGORIES BELOW THIS LINE -->
 
<!-- ADD CATEGORIES BELOW THIS LINE -->
[[Category:Fb_templates|{{PAGENAME}}]]
+
[[Category:Fb_templates]]
<!-- ADD INTERWIKIS BELOW THIS LINE -->
 
 
 
 
</includeonly>
 
</includeonly>

Revision as of 13:48, 23 April 2018

Basic syntax

{{fb out2 player
| bg   = 
| tc   = 
| p    = 
| n    = 
| pos  = 
| nb   = 
| ni   = 
| age  = <!-- {{age|year1|month1|day1|year2|month2|day2}} -->
| eu   = 
| 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 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=.

See also