Difference between revisions of "Template:TournamentInfobox"

From Rigged Wiki
Jump to navigation Jump to search
m
 
(23 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: 180%; line-height: 100%; color: #FFF; padding-top: 10px; padding-bottom: 10px; {{radius|5px}}" | {{{tournament|2012 4chan Winter Cup}}}
! 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:Unknown Question Mark.png|300px]]  
! 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 Details
! colspan="2" style="background: #{{season 2|{{{season2|winter}}}}}; {{radius|7.5px}} color: #FFF;" | Tournament details
|-
|-
| width="40%" | '''Host board'''  
| width="30%" style="font-size: 90%;"| '''Host board'''  
| width="60%" | {{team away|{{{team|}}}}}
| width="70%" style="font-size: 90%;"| {{team away-small|{{{host|}}}}}
|-
|-
| width="40%" | '''Dates'''  
| width="30%" valign=top style="font-size: 90%;"| '''Dates'''  
| width="60%" | {{{dates|N/A}}}
| width="70%" style="font-size: 90%;"| {{{dates|N/A}}}


|-
|-
| width="40%" | '''Teams'''  
| width="30%" style="font-size: 90%;"| '''Teams'''  
| width="60%" | {{{teams|N/A}}}
| width="70%" style="font-size: 90%;"| {{{teams|N/A}}}
|-
|-
! colspan="2" style="background: #{{season 2|{{{season2|winter}}}}}; {{radius|5px}} color: #FFF;" | Final Positions
! colspan="2" style="background: #{{season 2|{{{season2|winter}}}}}; {{radius|7.5px}} color: #FFF;" | Final positions
|-
|-
| width="40%" | '''Champion'''  
| width="30%" style="font-size: 90%;"| '''Champion'''  
| width="60%" | {{team away|{{{first|}}}}}
| width="70%" style="font-size: 90%;"| {{team away-small|{{{first|}}}}}
|-
|-
| width="40%" | '''Runner-up'''  
| width="30%" style="font-size: 90%;"| '''Runner-up'''  
| width="60%" | {{team away|{{{second|}}}}}
| width="70%" style="font-size: 90%;"| {{team away-small|{{{second|}}}}}
|-
|-
| width="40%" | '''Third'''  
| width="30%" style="font-size: 90%;"| '''Third'''  
| width="60%" | {{team away|{{{third|}}}}}
| width="70%" style="font-size: 90%;"| {{team away-small|{{{third|}}}}}
|-
|-
| width="40%" | '''Fourth'''  
| width="30%" style="font-size: 90%;"| '''Fourth'''  
| width="60%" | {{team away|{{{fourth|}}}}}
| width="70%" style="font-size: 90%;"| {{team away-small|{{{fourth|}}}}}
|-
|-
| colspan="2" |
| colspan="2" |
{| width="102%" style="background: transparent; margin-left: -3px;"
{| 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 Statistics
! colspan="2" style="background: #{{season 2|{{{season2|winter}}}}}; {{radius|7.5px}} color: #FFF;" | Tournament statistics
|-
|-
| width="40%" | '''Matches played'''  
| width="30%" style="font-size: 90%;"| '''Matches'''  
| width="60%" | {{{matches|0}}}
| width="70%" style="font-size: 90%;"| {{{matches|0}}}
|-
|-
| width="40%" | '''Goals scored'''  
| width="30%" style="font-size: 90%;"| '''Goals scored'''  
| width="60%" | {{{goals|0}}} <small>({{#expr: {{{goals|0}}}/{{{matches|1}}} round 2 }} per match)</small>
| width="70%" style="font-size: 90%;"| {{{goals|0}}} <small>({{#expr: {{{goals|0}}}/{{{matches|1}}} round 2 }} per match)</small>
|-
|-
| width="40%" | '''Top Scorer(s)'''  
| width="30%" valign=top style="font-size: 90%;"| '''Top scorer(s)'''  
| width="60%" | {{{scorer|N/A}}}
| width="70%" style="font-size: 90%;"| {{{scorer|N/A}}}
|-
|-
| width="40%" | '''Top Assister(s)'''  
| width="30%" valign=top style="font-size: 90%;"| '''Top assister(s)'''  
| width="60%" | {{{assister|N/A}}}
| width="70%" style="font-size: 90%;"| {{{assister|N/A}}}
|-
|-
| width="40%" | '''Golden Gloves'''  
| width="30%" valign=top style="font-size: 90%;"| '''Golden Glove'''  
| width="60%" | {{{saves|N/A}}}
| width="70%" style="font-size: 90%;"| {{{saves|N/A}}}
|-
|-
| width="40%" | '''Best player'''  
| width="30%" valign=top style="font-size: 90%;"| '''Best player'''  
| width="60%" | {{{best|N/A}}}
| width="70%" style="font-size: 90%;"| {{{best|N/A}}}
|-
|-
| width="40%" | '''Yellow cards'''  
| width="30%" style="font-size: 90%;"| '''Yellow cards'''  
| width="60%" | {{{yellow|0}}} <small>({{#expr: {{{yellow|0}}}/{{{matches|1}}} round 2 }} per match)</small>
| width="70%" style="font-size: 90%;"| {{{yellow|0}}} <small>({{#expr: {{{yellow|0}}}/{{{matches|1}}} round 2 }} per match)</small>
|-
|-
| width="40%" | '''Red cards'''  
| width="30%" style="font-size: 90%;"| '''Red cards'''  
| width="60%" | {{{red|0}}} <small>({{#expr: {{{red|0}}}/{{{matches|1}}} round 2 }} per match)</small>
| 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>]]|&ndash;}}
|-
|-
! 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>]]|&ndash;}}
|}<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 of the tournament.
|best=Player with the most Man of the Match awards.
|previous=Previous Tournament.
|prev=Previous tournament.
|next=Next Tournament.
|next=Next tournament.
}}</pre>
}}</pre>
[[Category:Templates]]</noinclude><includeonly>[[Category:Tournaments]]</includeonly>
[[Category:Templates]]</noinclude>

Latest revision as of 12:00, 24 March 2019

2012 4chan Winter Cup
? logo.png
Tournament details
Host board TBD icon.png TBD
Dates N/A
Teams N/A
Final positions
Champion TBD icon.png TBD
Runner-up TBD icon.png TBD
Third TBD icon.png TBD
Fourth TBD icon.png TBD
Tournament statistics
Matches 0
Goals scored 0 (0 per match)
Top scorer(s) N/A
Top assister(s) N/A
Golden Glove N/A
Best player N/A
Yellow cards 0 (0 per match)
Red cards 0 (0 per match)

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.
}}