Difference between revisions of "Template:TournamentInfobox"
Jump to navigation
Jump to search
Fractalzoom (talk | contribs) m |
m |
||
(19 intermediate revisions by 8 users not shown) | |||
Line 1: | Line 1: | ||
{| width="320px" style="float: right; background: #{{season 1|{{{season1|winter}}}}}; border: 1px solid #{{season 2|{{{season2|winter}}}}}; {{radius}}" | <!-- | ||
<noinclude> | |||
{{#cargo_declare:_table=Tournaments|Name=String|Goals=Int}} | |||
</noinclude> | |||
{{#cargo_store:_table=Tournaments|Name={{{tournament|}}}|Goals={{{goals}}}}} | |||
--> | |||
{| width="320px" style="float: right; background: #{{season 1|{{{season1|winter}}}}}; border: 1px solid #{{season 2|{{{season2|winter}}}}}; {{radius}}" class="tournamentInfobox" | |||
|- | |- | ||
! colspan="2" style="background: #{{season 2|{{{season2|winter}}}}}; font-size: | ! colspan="2" style="background: #{{season 2|{{{season2|winter}}}}}; font-size: 150%; line-height: 100%; color: #FFF; padding-top: 10px; padding-bottom: 10px; {{radius|7.5px}}" | {{{tournament|2012 4chan Winter Cup}}} | ||
|- | |- | ||
! colspan="2" stytle="padding: 10px;" | [[File:{{{image| | ! colspan="2" stytle="padding: 10px;" | {{#if: {{{image|}}}|[[File:{{{image|}}}.png|300px]]|[[File:?_logo.png|300px]]}} | ||
|- | |- | ||
! colspan="2" style="background: #{{season 2|{{{season2|winter}}}}}; {{radius|5px}} color: #FFF;" | Tournament | ! colspan="2" style="background: #{{season 2|{{{season2|winter}}}}}; {{radius|7.5px}} color: #FFF;" | Tournament details | ||
|- | |- | ||
| width=" | | width="30%" style="font-size: 90%;"| '''Host board''' | ||
| width=" | | width="70%" style="font-size: 90%;"| {{team away-small|{{{host|}}}}} | ||
|- | |- | ||
| width=" | | width="30%" valign=top style="font-size: 90%;"| '''Dates''' | ||
| width=" | | width="70%" style="font-size: 90%;"| {{{dates|N/A}}} | ||
|- | |- | ||
| width=" | | width="30%" style="font-size: 90%;"| '''Teams''' | ||
| width=" | | width="70%" style="font-size: 90%;"| {{{teams|N/A}}} | ||
|- | |- | ||
! colspan="2" style="background: #{{season 2|{{{season2|winter}}}}}; {{radius|5px}} color: #FFF;" | Final | ! colspan="2" style="background: #{{season 2|{{{season2|winter}}}}}; {{radius|7.5px}} color: #FFF;" | Final positions | ||
|- | |- | ||
| width=" | | width="30%" style="font-size: 90%;"| '''Champion''' | ||
| width=" | | width="70%" style="font-size: 90%;"| {{team away-small|{{{first|}}}}} | ||
|- | |- | ||
| width=" | | width="30%" style="font-size: 90%;"| '''Runner-up''' | ||
| width=" | | width="70%" style="font-size: 90%;"| {{team away-small|{{{second|}}}}} | ||
|- | |- | ||
| width=" | | width="30%" style="font-size: 90%;"| '''Third''' | ||
| width=" | | width="70%" style="font-size: 90%;"| {{team away-small|{{{third|}}}}} | ||
|- | |- | ||
| width=" | | width="30%" style="font-size: 90%;"| '''Fourth''' | ||
| width=" | | width="70%" style="font-size: 90%;"| {{team away-small|{{{fourth|}}}}} | ||
|- | |- | ||
| colspan="2" | | | colspan="2" | | ||
{| width="102%" style="background: transparent; margin-left: -3px;" class="mw-collapsible mw-collapsed" | {| width="102%" style="background: transparent; margin-left: -3px;" class="mw-collapsible mw-collapsed" | ||
|- | |- | ||
! colspan="2" style="background: #{{season 2|{{{season2|winter}}}}}; {{radius|5px}} color: #FFF;" | Tournament | ! colspan="2" style="background: #{{season 2|{{{season2|winter}}}}}; {{radius|7.5px}} color: #FFF;" | Tournament statistics | ||
|- | |- | ||
| width=" | | width="30%" style="font-size: 90%;"| '''Matches''' | ||
| width=" | | width="70%" style="font-size: 90%;"| {{{matches|0}}} | ||
|- | |- | ||
| width=" | | width="30%" style="font-size: 90%;"| '''Goals scored''' | ||
| width=" | | width="70%" style="font-size: 90%;"| {{{goals|0}}} <small>({{#expr: {{{goals|0}}}/{{{matches|1}}} round 2 }} per match)</small> | ||
|- | |- | ||
| width=" | | width="30%" valign=top style="font-size: 90%;"| '''Top scorer(s)''' | ||
| width=" | | width="70%" style="font-size: 90%;"| {{{scorer|N/A}}} | ||
|- | |- | ||
| width=" | | width="30%" valign=top style="font-size: 90%;"| '''Top assister(s)''' | ||
| width=" | | width="70%" style="font-size: 90%;"| {{{assister|N/A}}} | ||
|- | |- | ||
| width=" | | width="30%" valign=top style="font-size: 90%;"| '''Golden Glove''' | ||
| width=" | | width="70%" style="font-size: 90%;"| {{{saves|N/A}}} | ||
|- | |- | ||
| width=" | | width="30%" valign=top style="font-size: 90%;"| '''Best player''' | ||
| width=" | | width="70%" style="font-size: 90%;"| {{{best|N/A}}} | ||
|- | |- | ||
| width=" | | width="30%" style="font-size: 90%;"| '''Yellow cards''' | ||
| width=" | | width="70%" style="font-size: 90%;"| {{{yellow|0}}} <small>({{#expr: {{{yellow|0}}}/{{{matches|1}}} round 2 }} per match)</small> | ||
|- | |- | ||
| width=" | | width="30%" style="font-size: 90%;"| '''Red cards''' | ||
| width=" | | width="70%" style="font-size: 90%;"| {{{red|0}}} <small>({{#expr: {{{red|0}}}/{{{matches|1}}} round 2 }} per match)</small> | ||
|} | |} | ||
|- | |- | ||
Line 64: | Line 70: | ||
---- | ---- | ||
|- | |- | ||
! colspan="2" style="background: #{{season 2|{{{season2|winter}}}}}; {{radius|5px}} color: #FFF;" | [[{{{prev|2011 4chan Summer Cup}}}|<span style="color: #FFF;">{{{prev|2011 4chan Summer Cup}}}</span>]] | ! colspan="2" style="background: #{{season 2|{{{season2|winter}}}}}; {{radius|7.5px}} color: #FFF;" | {{#if: {{{prev|2011 4chan Summer Cup}}}|[[{{{prev|2011 4chan Summer Cup}}}|<span style="color: #FFF;">{{{prev|2011 4chan Summer Cup}}}</span>]]|–}} | ||
|- | |- | ||
! colspan="2" | {{{tournament|2012 4chan Winter Cup}}} | ! colspan="2" | {{{tournament|2012 4chan Winter Cup}}} | ||
|- | |- | ||
! colspan="2" style="background: #{{season 2|{{{season2|winter}}}}}; {{radius|5px}} color: #FFF;" | [[{{{next|2012 4chan Spring Babby Cup}}}|<span style="color: #FFF;">{{{next|2012 4chan Spring Babby Cup}}}</span>]] | ! colspan="2" style="background: #{{season 2|{{{season2|winter}}}}}; {{radius|7.5px}} color: #FFF;" | {{#if: {{{next|2012 4chan Spring Babby Cup}}}|[[{{{next|2012 4chan Spring Babby Cup}}}|<span style="color: #FFF;">{{{next|2012 4chan Spring Babby Cup}}}</span>]]|–}} | ||
|}<noinclude> | |}<noinclude> | ||
==Usage:== | ==Usage:== | ||
Line 76: | Line 82: | ||
|tournament=Name of tournament. | |tournament=Name of tournament. | ||
|image=Image file (use without an extension -that means using .png-) | |image=Image file (use without an extension -that means using .png-) | ||
|color=Color used in Tournament Details, Final Positions and Tournament | |color=Color used in Tournament Details, Final Positions and Tournament Statistics. | ||
Statistics. | |||
|host= | |host= | ||
|date=Duration. Use "DD MM - DD MM (X days)" | |date=Duration. Use "DD MM - DD MM (X days)" | ||
Line 87: | Line 92: | ||
|matches=Number of matches played. | |matches=Number of matches played. | ||
|goals=Number of goals scored. | |goals=Number of goals scored. | ||
|number=Ordinal number, should show how many titles the board has had with | |number=Ordinal number, should show how many titles the board has had with this tournament. | ||
this tournament. | |scorer=Top scorer. Use "{{badgeicon-small}} Player". Separate with if there are two or more top scorers. | ||
|scorer=Top scorer. Use "{{badgeicon}} Player". Separate with if there are | |||
two or more top scorers. | |||
|assister=Top assister. Same as above. | |assister=Top assister. Same as above. | ||
|saves=For the goalkeeper who makes the most saves. | |saves=For the goalkeeper who makes the most saves. | ||
|yellow=Total of yellow cards. | |yellow=Total of yellow cards. | ||
|red=Total of red cards. | |red=Total of red cards. | ||
|best= | |best=Player with the most Man of the Match awards. | ||
|prev=Previous | |prev=Previous tournament. | ||
|next=Next | |next=Next tournament. | ||
}}</pre> | }}</pre> | ||
[[Category:Templates]]</noinclude | [[Category:Templates]]</noinclude> |
Latest revision as of 12:00, 24 March 2019
2012 4chan Winter Cup | |||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Tournament details | |||||||||||||||||||
Host board | TBD | ||||||||||||||||||
Dates | N/A | ||||||||||||||||||
Teams | N/A | ||||||||||||||||||
Final positions | |||||||||||||||||||
Champion | TBD | ||||||||||||||||||
Runner-up | TBD | ||||||||||||||||||
Third | TBD | ||||||||||||||||||
Fourth | TBD | ||||||||||||||||||
| |||||||||||||||||||
| |||||||||||||||||||
2011 4chan Summer Cup | |||||||||||||||||||
2012 4chan Winter Cup | |||||||||||||||||||
2012 4chan Spring Babby Cup |
Usage:
{{TournamentInfobox |season1=Color scheme used in the infobox. Use a season. |season2=Color scheme used in the infobox. Use a season. |tournament=Name of tournament. |image=Image file (use without an extension -that means using .png-) |color=Color used in Tournament Details, Final Positions and Tournament Statistics. |host= |date=Duration. Use "DD MM - DD MM (X days)" |teams=Number of teams. |first=Champion. |second=Runner-up. |third=Third place. |fourth=Fourth place. |matches=Number of matches played. |goals=Number of goals scored. |number=Ordinal number, should show how many titles the board has had with this tournament. |scorer=Top scorer. Use "{{badgeicon-small}} Player". Separate with if there are two or more top scorers. |assister=Top assister. Same as above. |saves=For the goalkeeper who makes the most saves. |yellow=Total of yellow cards. |red=Total of red cards. |best=Player with the most Man of the Match awards. |prev=Previous tournament. |next=Next tournament. }}