Template:Match infobox: Difference between revisions

From Hattrick
Jump to navigationJump to search
mNo edit summary
mNo edit summary
Line 11: Line 11:
|-
|-
! width="50%" | [[{{{home_team}}}]] !! width="50%" | [[{{{away_team}}}]]
! width="50%" | [[{{{home_team}}}]] !! width="50%" | [[{{{away_team}}}]]
|- align="center"
| {{#if: {{{kit_home|}}}|[[Image:{{{kit_home}}}]]}} || {{#if: {{{kit_away|}}}|[[Image:{{{kit_away}}}]]}}
|-
! colspan="2" | Total stars
|-
| {{{home_stars}}} || {{{away_stars}}}
|-
! colspan="2" | Yellow stars
|-
|-
| {{#if: {{{kit_home|}}}|[[Image:{{{kit_home}}}]]}} || {{#if: {{{kit_away|}}}|[[Image:{{{kit_away}}}]]}}
| {{{home_stars_yellow}}} {{Rating_1}} || {{{away_stars_yellow}}} {{Rating_1}}
|-
! colspan="2" | Brown stars
|-
|-
|
| {{{home_stars_brown}}} {{Rating_1g}} || {{{away_stars_brown}}} {{Rating_1g}}
* Total stars: {{{home_stars}}}
* Yellow: {{{home_stars_yellow}}} {{Rating_1}}
* Brown: {{{home_stars_brown}}} {{Rating_1g}}
|
* Total stars: {{{away_stars}}}
* Yellow: {{{away_stars_yellow}}} {{Rating_1}}
* Brown: {{{away_stars_brown}}} {{Rating_1g}}
 
|}
|}



Revision as of 21:02, 3 April 2012

{{{home_team}}} - {{{away_team}}}
  • ID: {{{ID}}}
  • Type:
  • Date: {{{date}}}
  • Weather:
  • Crowd: {{{crowd}}}
  • Score:
[[{{{home_team}}}]] [[{{{away_team}}}]]
Total stars
{{{home_stars}}} {{{away_stars}}}
Yellow stars
{{{home_stars_yellow}}} {{{away_stars_yellow}}}
Brown stars
{{{home_stars_brown}}} {{{away_stars_brown}}}















Use like this: (and see example)

{{match_info |
| ID = match id
| type = L for league, C for cup, F for friendly
| date = match date
| weather = S for sunny, C for partialy cloudly, O for overcast, R for rain
| crowd = number of spectators
| win = score (use lost or draw variable instead of win, all three set the score value)
| kit = image of kit
| home_team = home team name
| home_flag = home team flag
| home_stars = home total stars
| home_stars_yellow = home total yellow stars
| home_stars_brown = home total brown stars
| away_team = away team name
| away_flag = away team flag
| away_stars = away total stars
| away_stars_yellow = away total yellow stars
| away_stars_brown = away total brown stars
}}