Difference between revisions of "Template:Infobox national football team season"

From blackwiki
Jump to navigation Jump to search
imported>Pelmeen10
m
imported>Frietjes
m (update image syntax)
 
(3 intermediate revisions by one other user not shown)
Line 1: Line 1:
 
{{ infobox
 
{{ infobox
 
| title  = {{{competition|<includeonly>{{PAGENAME}}</includeonly>}}}
 
| title  = {{{competition|<includeonly>{{PAGENAME}}</includeonly>}}}
| image  = {{#if:{{{logo|{{{image|}}}}}}|[[File:{{{logo|{{{image|}}}}}}|{{px|{{{pixels|}}}|200px}}|alt={{{alt|}}}]]}}
+
| image  = {{#invoke:InfoboxImage|InfoboxImage|image={{{logo|{{{image|}}}}}}|size={{{pixels|}}}|sizedefault=200px|alt={{{alt|}}}}}
 
| caption = {{{caption|}}}
 
| caption = {{{caption|}}}
  
Line 7: Line 7:
 
| data1  = {{{season|}}}
 
| data1  = {{{season|}}}
  
| label2  = Manager
+
| label2  = Supporters' Shield
| data2  = {{{manager|}}}
+
| data2  = {{{shield|}}}
  
| label3  = Assistant manager
+
| label3  = Manager
| data3  = {{{assistant manager|}}}
+
| data3  = {{{manager|}}}
  
| label4  = Captain
+
| label4  = Assistant manager
| data4  = {{{captain|}}}
+
| data4  = {{{assistant manager|}}}
  
| label5  = Home stadium
+
| label5  = Captain
| data5  = {{{home stadium|}}}
+
| data5  = {{{captain|}}}
  
| label6  = {{{continentalcup1|}}}
+
| label6  = Home stadium
| data6  = {{{continentalcup1 qualifiers|}}}
+
| data6  = {{{home stadium|}}}
| label7  = {{{continentalcup2|}}}
 
| data7  = {{{continentalcup2 qualifiers|}}}
 
| label8  = {{{continentalcup3|}}}
 
| data8  = {{{continentalcup3 qualifiers|}}}
 
| label9  = {{{continentalcup4|}}}
 
| data9  = {{{continentalcup4 qualifiers|}}}
 
  
| label10   = Wins
+
| label7  = {{{continentalcup1|}}}
| data10     = {{{wins|}}}
+
| data7  = {{{continentalcup1 qualifiers|}}}
| label11    = Losses
+
| label8  = {{{continentalcup2|}}}
| data11    = {{{losses|}}}
+
| data8  = {{{continentalcup2 qualifiers|}}}
| label12    = Matches played
+
| label9  = {{{continentalcup3|}}}
| data12    = {{{matches|}}}
+
| data9  = {{{continentalcup3 qualifiers|}}}
| label13    = Goals scored
+
| label10 = {{{continentalcup4|}}}
| data13     = {{#if:{{{total goals|}}}|{{{total goals}}}{{#if:{{{matches|}}}|&nbsp;<small>({{#expr: {{{total goals|0}}} / {{{matches|1}}} round 2}} per match)</small>}} }}
+
| data10 = {{{continentalcup4 qualifiers|}}}
| label14 = Average goals/game
+
 
| data14 = {{{average goals|}}}
+
| label11    = Matches played
| label15 = Goals against
+
| data11    = {{{matches|}}}
| data15 = {{{goals against|}}}
+
| label12    = Wins
| label16 = Top goalscorer
+
| data12    = {{{wins|}}}
| data16 = {{{top goalscorer|}}}
+
| label13   = Draws
| label17 = Most caps
+
| data13    = {{{draws|}}}
| data17 = {{{most caps|}}}
+
| label14    = Losses
| label18 = Biggest home win
+
| data14    = {{{losses|}}}
| data18 = {{{biggest home win|}}}
+
| label15   = Goals scored
| label19 = Biggest away win
+
| data15     = {{#if:{{{total goals|}}}|{{{total goals}}}{{#if:{{{matches|}}}|&nbsp;<small>({{#expr: {{{total goals|0}}} / {{{matches|1}}} round 2}} per match)</small>}} }}
| data19 = {{{biggest away win|}}}
+
| label16 = Average goals/game
| label20 = Highest scoring
+
| data16 = {{{average goals|}}}
| data20 = {{{highest scoring|}}}
+
| label17 = Goals against
| label21 = Longest winning run
+
| data17 = {{{goals against|}}}
| data21 = {{{longest wins|}}}
+
| label18 = Top goalscorer
| label22 = Longest unbeaten run
+
| data18 = {{{top goalscorer|}}}
| data22 = {{{longest unbeaten|}}}
+
| label19 = Most caps
| label23 = Longest winless run
+
| data19 = {{{most caps|}}}
| data23 = {{{longest winless|}}}
+
| label20 = Players
| label24 = Longest losing run
+
| data20  = {{{players|}}}
| data24 = {{{longest losses|}}}
+
| label21 = Goalscorers
| label25 = Highest attendance
+
| data21  = {{{goalscorers|}}}
| data25 = {{{highest attendance|}}}
+
| label22 = Debutants
| label26 = Lowest attendance
+
| data22  = {{{debutants|}}}
| data26 = {{{lowest attendance|}}}
+
| label23 = Biggest home win
| label27 = Average attendance
+
| data23 = {{{biggest home win|}}}
| data27 = {{{average attendance|}}}
+
| label24 = Biggest away win
| data28 = {{#switch: {{{kit|}}}
+
| data24 = {{{biggest away win|}}}
 +
| label25 = Highest scoring
 +
| data25 = {{{highest scoring|}}}
 +
| label26 = Longest winning run
 +
| data26 = {{{longest wins|}}}
 +
| label27 = Longest unbeaten run
 +
| data27 = {{{longest unbeaten|}}}
 +
| label28 = Longest winless run
 +
| data28 = {{{longest winless|}}}
 +
| label29 = Longest losing run
 +
| data29 = {{{longest losses|}}}
 +
| label30 = Highest attendance
 +
| data30 = {{{highest attendance|}}}
 +
| label31 = Lowest attendance
 +
| data31 = {{{lowest attendance|}}}
 +
| label32 = Average attendance
 +
| data32 = {{{average attendance|}}}
 +
| data33 = {{#switch: {{{kit|}}}
 
  |image = {{Infobox Football club/Kit image
 
  |image = {{Infobox Football club/Kit image
 
   |kit_image1= {{ #if:{{{kit_image1|}}} | {{{kit_image1}}} }}
 
   |kit_image1= {{ #if:{{{kit_image1|}}} | {{{kit_image1}}} }}

Latest revision as of 16:17, 13 March 2014

[[Category:Infobox templates|Template:Remove first word]]

50px Template documentation[view] [edit] [history] [purge]

Usage

Template:Parameter names example

{{Infobox national football team season
| image                      = 
| caption                    = 
| season                     = 
| shield                     = 
| manager                    = 
| assistant manager          = 
| captain                    = 
| home stadium               = 
| continentalcup1            = 
| continentalcup1 qualifiers = 
| continentalcup2            = 
| continentalcup2 qualifiers = 
| matches                    = 
| wins                       = 
| draws                      = 
| losses                     = 
| total goals                = 
| average goals              = 
| goals against              = 
| top goalscorer             = 
| most caps                  = 
| players                    = 
| goalscorers                = 
| debutants                  = 
| biggest home win           = 
| biggest away win           = 
| highest scoring            = 
| longest wins               = 
| longest unbeaten           = 
| longest winless            = 
| longest losses             = 
| highest attendance         = 
| lowest attendance          = 
| average attendance         = 
| pattern_la1                = 
| pattern_b1                 = 
| pattern_ra1                = 
| leftarm1                   = 
| body1                      = 
| rightarm1                  = 
| shorts1                    = 
| socks1                     = 
| pattern_la2                = 
| pattern_b2                 = 
| pattern_ra2                = 
| leftarm2                   = 
| body2                      = 
| rightarm2                  = 
| shorts2                    = 
| socks2                     = 
| pattern_la3                = 
| pattern_b3                 = 
| pattern_ra3                = 
| pattern_sh3                = 
| pattern_so3                = 
| leftarm3                   = 
| body3                      = 
| rightarm3                  = 
| shorts3                    = 
| socks3                     = 
| prevseason                 = 
| nextseason                 = 
}}

Parameters

All parameters are optional.

  • {{{competition}}} — The commonly-used name of the competition (including sponsorship). If this is omitted, it will be automatically derived from the article title.
  • {{{shield}}} — Supporters' Shield winners (where applicable)
  • {{{manager}}} — The national team's manager
  • {{{assistant manager}}} — The national team's assistant manager
  • {{{captain}}} — The national team's captain
  • {{{home stadium}}} — The national team's home stadium
  • {{{continentalcup1}}} — Continental cup1, e.g., Champions League
  • {{{continentalcup1 qualifiers}}} — Continental cup1 qualifiers
  • {{{wins}}} — Total number of wins
  • {{{losses}}} — Total number of losses
  • {{{matches}}} — Total number of matches played
  • {{{total goals}}} — Total number of goals scored. Works with *{{{matches}}} to provide average goals scored.
  • {{{average goals}}} — Manual input of average goals scored. Round to 2 decimal places.
  • {{{top goalscorer}}} — The national team's top goalscorer, and the number of scored goals, in the form "Footballer (goals)".
  • {{{most caps}}} — The national team's most capped player, and the number of caps, in the form"Footballer (caps)".
  • {{{players}}} — The number of players, that represented national team
  • {{{goalscorers}}} — The number of national team's goalscorers in the season
  • {{{debutants}}} — The number of national team's debutants in the season
  • {{{biggest home win}}} — Result (date)
  • {{{biggest away win}}} — As above
  • {{{highest scoring}}} — As above
  • {{{longest wins}}} — No. games - team (date from-date to)
  • {{{longest unbeaten}}} — As above
  • {{{longest winless}}} — As above
  • {{{longest losses}}} — As above
  • {{{highest attendance}}} — Attendance - match (date)
  • {{{lowest attendance}}} — As above
  • {{{average attendance}}} — Attendance
  • {{{Football kit}}} — Please refer to Template:Football kit
  • {{{prevseason}}} — The previous season of the subject
  • {{{nextseason}}} — The following (next) season of the subject