Difference between revisions of "Template:TeamInfobox"

From Rigged Wiki
Jump to navigation Jump to search
m (Renamed "HEX color" to "Chat color" so people know what it's for)
 
(6 intermediate revisions by one other user not shown)
Line 8: Line 8:
{| width="100%" align="center" style="background: transparent;"
{| width="100%" align="center" style="background: transparent;"
|-
|-
! style="padding: 10px;" | [[File:{{#rreplace:{{{team|4ccc}}}}} logo.png|250px]]
! style="padding: 10px;" | [[File:{{{team|4ccc}}} logo.png|250px]]
|-
|-
|}
|}
Line 17: Line 17:
{| width="100%" style="background: transparent;"
{| width="100%" style="background: transparent;"
|-
|-
| width="45%" | '''Founded'''
{{#if: {{{date|}}}|
| width="65%" | {{{date|}}}
{{!}} width="45%" {{!}} '''Founded'''
{{!}} width="65%" {{!}} {{{date|}}}
{{!}}-|}}
|-
|-
{{#if: {{{manager|}}}|
{{#if: {{{manager|}}}|
Line 30: Line 32:
{{!}} width="65%" {{!}} {{{owner|}}}
{{!}} width="65%" {{!}} {{{owner|}}}
{{!}}-|}}
{{!}}-|}}
| width="45%" | '''IRL manager'''
{{#if: {{{irl|}}}|
| width="65%" | {{{irl|}}}
{{!}} width="45%" {{!}} '''IRL manager'''
{{!}} width="65%" {{!}} {{{irl|}}}
{{!}}-|}}
|-
|-
| width="45%" | '''Team color{{#if: {{{color2|}}}|s|}}'''
| width="45%" | '''Team color{{#if: {{{color2|}}}|s|}}'''
Line 53: Line 57:
{{!}}-|}}
{{!}}-|}}
|-
|-
| width="45%" | '''HEX color'''
| width="45%" | '''Chat color'''
| width="65%" | <span style="color: #{{{hex|8cc642}}};">{{{hex|8cc642}}} <br> {{{color|Undefined}}}</span>
| width="65%" | <span style="color: #{{{hex|8cc642}}};">{{{hex|8cc642}}} <br> {{{color|Undefined}}}</span>
|-
|-
Line 68: Line 72:
{{!}}-|}}
{{!}}-|}}
|-
|-
{{#if: {{{elo|}}}|
{{#if: {{{scorer|}}}|
{{!}}-
{{!}} width="45%" {{!}} '''Top scorer'''
{{!}} width="45%" {{!}} '''ELO Ranking'''
{{!}} width="65%" {{!}} {{{scorer|}}}  
{{!}} width="65%" {{!}} {{{elo|}}}
{{#if: {{goals|}} <small><small>({{{goals|}}})</small></small>}}
{{!}}-
{{!}} width="45%" {{!}} '''Highest ELO'''
{{!}} width="65%" {{!}} {{{high_elo|Unranked}}} <small>({{{high_elo_date|N/A}}})</small>
{{!}}-
{{!}} width="45%" {{!}} '''Lowest ELO'''
{{!}} width="65%" {{!}} {{{low_elo|Unranked}}} <small>({{{low_elo_date|N/A}}})</small>
{{!}}-|}}
{{!}}-|}}
| width="45%" | '''Top scorer'''
| width="65%" | {{{scorer|N/A}}} <small><small>({{{goals|N/A}}})</small></small>
|-
|-
| width="45%" | '''Top assister'''
{{#if: {{{assister|}}}|
| width="65%" | {{{assister|N/A}}} <small><small>({{{assists|N/A}}})</small></small>
{{!}} width="45%" {{!}} '''Top assister'''
{{!}} width="65%" {{!}} {{{assister|}}}
{{#if: {{assists|}} <small><small>({{{assists|}}})</small></small>}}
{{!}}-|}}
|-
|-
| width="45%" | '''Captain'''
{{#if: {{{captain|}}}|
| width="65%" | {{{captain|N/A}}}
{{!}} width="45%" {{!}} '''Captain'''
{{!}} width="65%" {{!}} {{{captain|}}}
{{!}}-|}}
|-
|-
{{#if: {{{Website|}}}|
{{#if: {{{nickname|}}}|
{{!}}-
{{!}}-
{{!}} width="45%" {{!}} '''Website'''
{{!}} width="45%" {{!}} '''Nickname'''
{{!}} width="65%" {{!}} <span class="plainlinks">[http://boards.4chan.org/{{#if: {{{general|}}}|vg/|}}{{{team|a}}} /{{{team|a}}}/ - {{{name|N/A}}}]</span>
{{!}} width="65%" {{!}} ''{{{nickname|N/A}}''
{{!}}-|}}
{{#if: {{{nickname|}}}|
|-
| width="45%" | '''Nickname'''
| width="65%" | ''{{{nickname|N/A}}''
{{!}}-|}}
{{!}}-|}}
|}
|}
{{#if: {{{historic|yes}}}|
|-
! style="background: #{{{bgcolor|AAA}}}; color: #{{{txtcolor|000}}}; {{radius|5px}}" | Historic performance
|-
| colspan="2" align="center" |
{| width="100%" style="background: transparent;" cellpadding="0" cellspacing="0"
|-
! width="15%" | <small>W</small>
! width="15%" | <small>D</small>
! width="15%" | <small>L</small>
| width="1%" |
| width="1%" |
! width="15%" | <small>TOTAL</small>
| width="1%" |
| width="1%" |
| width="1%" |
! width="35%" | <small>EFFICIENCY</small>
|-
! style="font-size: 180%" | {{{w|0}}}
! style="font-size: 180%" | {{{d|0}}}
! style="font-size: 180%" | {{{l|0}}}
!
!
! style="font-size: 180%" | {{#expr: {{{w|0}}}+{{{d|0}}}+{{{l|0}}}}}
!
!
!
! style="font-size: 180%" | {{#ifexpr:{{#expr:{{{w|0}}}>0}}|{{#expr:{{{w|0}}} * 100 / ({{{w|0}}}+{{{d|0}}}+{{{l|0}}}) round2}}|0}}%
|}
|-
| colspan="2" |
{| width="100%" style="background: transparent;" cellpadding="0" cellspacing="0"
|-
! width="33%" | <small>{{tt|GF|Goals For}}</small>
! width="33%" | <small>{{tt|GA|Goals Against}}</small>
! width="34%" | <small>{{tt|GD|Goal Difference}}</small>
|-
! style="font-size: 180%" | {{{gf|0}}}
! style="font-size: 180%" | {{{ga|0}}}
! style="font-size: 180%; color: {{#ifexpr: {{{gf|0}}}-{{{ga|0}}}<0 | red | green }};" | {{#ifexpr: {{{gf|0}}}-{{{ga|0}}}>0 | +{{#expr: {{{gf|0}}}-{{{ga|0}}}}} | {{#expr: {{{gf|0}}}-{{{ga|0}}}}}}}
|}
|-
| colspan="2" |
{| width="100%" style="background: transparent;"
|-
! colspan="3" | Biggest win
|-
| width="40%" align="right" | {{team home|{{{win_home|}}}}}
! style="font-size: 120%;" | {{{win_score_home|0}}}&ndash;{{{win_score_away|0}}}
| width="40%" | {{team away|{{{win_away|}}}}}
|-
| colspan="3" align="center" | {{{win_date|Month Day, Year}}}
|-
|
|-
! colspan="3" | Biggest defeat
|-
| width="40%" align="right" | {{team home|{{{lose_home|}}}}} 
! style="font-size: 120%;" | {{{lose_score_home|0}}}&ndash;{{{lose_score_away|0}}}
| width="40%" | {{team away|{{{lose_away|}}}}}
|-
| colspan="3" align="center" | {{{lose_date|Month Day, Year}}}
|-
|
|-
! colspan="3" | First match
|-
| width="40%" align="right" | {{team home|{{{first_home|}}}}}
! style="font-size: 120%;" | {{{first_score_home|0}}}&ndash;{{{first_score_away|0}}}
| width="40%" | {{team away|{{{first_away|}}}}}
|-
| colspan="3" align="center" | {{{first_date|Month Day, Year}}}
|}
{{!}}-|}}
|-
|-
! style="background: #{{{bgcolor|AAA}}}; color: #{{{txtcolor|000}}}; {{radius|5px}}" | Team music
! style="background: #{{{bgcolor|AAA}}}; color: #{{{txtcolor|000}}}; {{radius|5px}}" | Team music
Line 347: Line 269:
<pre>{{TeamInfobox
<pre>{{TeamInfobox
|team= Team abbreviation, without slashes.
|team= Team abbreviation, without slashes.
|general= If present and set to any value, indicates that the team is a /vg/ general.
|motto= Motto of the team. Use {{tt}} if it's from another language.
|motto= Motto of the team. Use {{tt}} if it's from another language.
|name= Name of the team, complete.
|name= Name of the team, complete.
Line 353: Line 274:
|txtcolor= (Optional) Header text color in HEX code.
|txtcolor= (Optional) Header text color in HEX code.
|date= Date the team was founded.
|date= Date the team was founded.
|manager= (Optional) The in-game manager, (ex: Grandpa Tetsujin)
|manager= (Optional) The in-game manager.
|owner= (Optional) The in-game owner of the team.
|owner= (Optional) The in-game owner of the team.
|irl= IRL manager, use {{Anonymous}}.
|irl= IRL manager, use {{Anonymous}}.
|color1= Team color in HEX code.
|color1= Team color in HEX code.
|color2= (Optional) Team secondary color in HEX code.
|color2= (Optional) Team secondary color in HEX code.
|color3= (Optional) Third team color in HEX code. Will enable the section 'Extra Team Color'
|color3= (Optional) Third team color in HEX code. Will enable the section 'Extra Team Color'.
|color4= (Optional) Fourth team color in HEX code.
|color4= (Optional) Fourth team color in HEX code.
|hex= HEX color used for your team at several places on the wiki.
|hex= HEX color used for your team at several places on the wiki.
Line 367: Line 288:
|low_ranking= (Optional) Lowest ranking.
|low_ranking= (Optional) Lowest ranking.
|low_date= (Optional) Date of lowest ranking (month, year).
|low_date= (Optional) Date of lowest ranking (month, year).
|elo= (Optional) Highest ELO ranking.
|high_elo= (Optional) Highest ELO ranking.
|high_elo_date= (Optional) Date of highest ELO ranking (month, year).
|low_elo= (Optional) Lowest ELO ranking.
|low_elo_date= (Optional) Date of lowest ELO ranking (month, year).
|scorer= Top scorer.
|scorer= Top scorer.
|goals= Goals scored by top scorer.
|goals= Goals scored by top scorer.
Line 378: Line 294:
|captain= Team captain.
|captain= Team captain.
|nickname= Nickname given to the fans/team.
|nickname= Nickname given to the fans/team.
|historic= If yes, displays Historic Performance tab
|w= Number of matches won.
|d= Number of matches drawn.
|l= Number of matches lost.
|gf= Number of Goals For.
|ga= Number of Goals Against.
|win_home= Home team in biggest win.
|win_away= Away team in biggest win.
|win_score_home= Home score in biggest win.
|win_score_away= Away score in biggest win.
|win_date= Date match was played in biggest win.
|lose_home= Home team in biggest defeat.
|lose_away= Away team in biggest defeat.
|lose_score_home= Home score in biggest defeat.
|lose_score_away= Away score in biggest defeat.
|lose_date= Date match was played in biggest defeat.
|first_home= Home team in first match.
|first_away= Away team in first match.
|first_score_home= Home score in first match.
|first_score_away= Away score in first match.
|first_date= Date match was played in first match.
|anthem= Link to the main anthem.
|anthem= Link to the main anthem.
|a_title= Main anthem title.
|a_title= Main anthem title.

Latest revision as of 19:23, 3 May 2023

/4ccc/
N/A
4ccc logo.png
/4ccc/ - N/A
Team color
Chat color 8cc642
Undefined
Team music
Anthem Anthem name

Goal horn Goal horn name
Kits


Usage

{{TeamInfobox
|team= Team abbreviation, without slashes.
|motto= Motto of the team. Use {{tt}} if it's from another language.
|name= Name of the team, complete.
|bgcolor= (Optional) Header background color in HEX code.
|txtcolor= (Optional) Header text color in HEX code.
|date= Date the team was founded.
|manager= (Optional) The in-game manager.
|owner= (Optional) The in-game owner of the team.
|irl= IRL manager, use {{Anonymous}}.
|color1= Team color in HEX code.
|color2= (Optional) Team secondary color in HEX code.
|color3= (Optional) Third team color in HEX code. Will enable the section 'Extra Team Color'.
|color4= (Optional) Fourth team color in HEX code.
|hex= HEX color used for your team at several places on the wiki.
|color= Name of the HEX color.
|ranking= (Optional) Current ranking.
|high_ranking= (Optional) Highest ranking.
|high_date= (Optional) Date of highest ranking (month, year).
|low_ranking= (Optional) Lowest ranking.
|low_date= (Optional) Date of lowest ranking (month, year).
|scorer= Top scorer.
|goals= Goals scored by top scorer.
|assister= Top assister.
|assists= Assists performed by top assister.
|captain= Team captain.
|nickname= Nickname given to the fans/team.
|anthem= Link to the main anthem.
|a_title= Main anthem title.
|altanthem1_what= Kind of alternate anthem (victory, K/O, MotM, etc.)
|altanthem1= Link to the alternate anthem.
|altanthem1_title= Alternate anthem title.
|altanthem2_what= Kind of alternate anthem (victory, K/O, MotM, etc.)
|altanthem2= Link to the alternate anthem.
|altanthem2_title= Alternate anthem title.
|altanthem3_what= Kind of alternate anthem (victory, K/O, MotM, etc.)
|altanthem3= Link to the alternate anthem.
|altanthem3_title= Alternate anthem title.
|altanthem4_what= Kind of alternate anthem (victory, K/O, MotM, etc.)
|altanthem4= Link to the alternate anthem.
|altanthem4_title= Alternate anthem title.
|altanthem5_what= Kind of alternate anthem (victory, K/O, MotM, etc.)
|altanthem5= Link to the alternate anthem.
|altanthem5_title= Alternate anthem title.
|altanthem6_what= Kind of alternate anthem (victory, K/O, MotM, etc.)
|altanthem6= Link to the alternate anthem.
|altanthem6_title= Alternate anthem title.
|altanthem7_what= Kind of alternate anthem (victory, K/O, MotM, etc.)
|altanthem7= Link to the alternate anthem.
|altanthem7_title= Alternate anthem title.
|altanthem8_what= Kind of alternate anthem (victory, K/O, MotM, etc.)
|altanthem8= Link to the alternate anthem.
|altanthem8_title= Alternate anthem title.
|altanthem9_what= Kind of alternate anthem (victory, K/O, MotM, etc.)
|altanthem9= Link to the alternate anthem.
|altanthem9_title= Alternate anthem title.
|horn= Link to the main goal horn.
|gh_title= Main goal horn title.
|altgh1_what= Kind of alternate goal horn (brace, hattrick, player, etc.)
|althorn1= Link to the alternate goal horn.
|altgh1_title= Alternate horn title.
|altgh2_what= Kind of alternate goal horn (brace, hattrick, player, etc.)
|althorn2= Link to the second alternate goal horn.
|altgh2_title= Alternate second horn title.
|altgh3_what= Kind of alternate goal horn (brace, hattrick, player, etc.)
|althorn3= Link to the third alternate goal horn.
|altgh3_title= Alternate third horn title.
|altgh4_what= Kind of alternate goal horn (brace, hattrick, player, etc.)
|althorn4= Link to the fourth alternate goal horn.
|altgh4_title= Alternate fourth horn title.
|altgh5_what= Kind of alternate goal horn (brace, hattrick, player, etc.)
|althorn5= Link to the fourth alternate goal horn.
|altgh5_title= Alternate fourth horn title.
|altgh6_what= Kind of alternate goal horn (brace, hattrick, player, etc.)
|althorn6= Link to the fourth alternate goal horn.
|altgh6_title= Alternate fourth horn title.
|altgh7_what= Kind of alternate goal horn (brace, hattrick, player, etc.)
|althorn7= Link to the fourth alternate goal horn.
|altgh7_title= Alternate fourth horn title.
|altgh8_what= Kind of alternate goal horn (brace, hattrick, player, etc.)
|althorn8= Link to the fourth alternate goal horn.
|altgh8_title= Alternate fourth horn title.
|altgh9_what= Kind of alternate goal horn (brace, hattrick, player, etc.)
|althorn9= Link to the fourth alternate goal horn.
|altgh9_title= Alternate fourth horn title.
|kithome= (Optional) Filename for the home kit.
|kitaway= (Optional) Filename for the away kit.
|kitgk= (Optional) Filename for the GK kit.
|kit3= (Optional) Filename for the third kit.
|kit4= (Optional) Filename for the foruth kit.
|kit5= (Optional) Filename for the fifth kit.
|kit6= (Optional) Filename for the sixth kit.
|kit7= (Optional) Filename for the seventh kit.
|kit8= (Optional) Filename for the eighth kit.
|kit9= (Optional) Filename for the ninth kit.
}}