Actions

Template

Difference between revisions of "AddMatch Wide 2"

From Tenipuri Info

m
m
 
Line 49: Line 49:
</noinclude><table class="wikitable fullwmobile" style="width:50%;"><tr><th colspan="3">[[{{{Team 1|}}}]] vs. [[{{{Team 2|}}}]]</th></tr>
</noinclude><table class="wikitable fullwmobile" style="width:50%;"><tr><th colspan="3">[[{{{Team 1|}}}]] vs. [[{{{Team 2|}}}]]</th></tr>
<includeonly>{{#if:{{{S3 Player(s) 1|}}}|{{SetMatchResults
<includeonly>{{#if:{{{S3 Player(s) 1|}}}|{{SetMatchResults
|Tournament={{{#if:{{{Tournament|}}}|{{{Tournament|}}}|{{{Tournament|{{FULLPAGENAME}}}}}}}
|Tournament={{{Tournament|}}}
|Team 1={{{Team 1|}}}
|Team 1={{{Team 1|}}}
|Team 2={{{Team 2|}}}
|Team 2={{{Team 2|}}}
Line 58: Line 58:
|Winner={{{S3 Winner|}}}}}}}
|Winner={{{S3 Winner|}}}}}}}
{{#if:{{{D2 Player(s) 1|}}}|{{SetMatchResults
{{#if:{{{D2 Player(s) 1|}}}|{{SetMatchResults
|Tournament={{{#if:{{{Tournament|}}}|{{{Tournament|}}}|{{{Tournament|{{FULLPAGENAME}}}}}}}
|Tournament={{{Tournament|}}}
|Team 1={{{Team 1|}}}
|Team 1={{{Team 1|}}}
|Team 2={{{Team 2|}}}
|Team 2={{{Team 2|}}}
Line 67: Line 67:
|Winner={{{D2 Winner|}}}}}}}
|Winner={{{D2 Winner|}}}}}}}
{{#if:{{{S2 Player(s) 1|}}}|{{SetMatchResults
{{#if:{{{S2 Player(s) 1|}}}|{{SetMatchResults
|Tournament={{{#if:{{{Tournament|}}}|{{{Tournament}}}|{{{Tournament|{{FULLPAGENAME}}}}}}}
|Tournament={{{Tournament|}}}
|Team 1={{{Team 1|}}}
|Team 1={{{Team 1|}}}
|Team 2={{{Team 2|}}}
|Team 2={{{Team 2|}}}
Line 76: Line 76:
|Winner={{{S2 Winner|}}}}}}}
|Winner={{{S2 Winner|}}}}}}}
{{#if:{{{D1 Player(s) 1|}}}|{{SetMatchResults
{{#if:{{{D1 Player(s) 1|}}}|{{SetMatchResults
|Tournament={{{#if:{{{Tournament|}}}|{{{Tournament|}}}|{{{Tournament|{{FULLPAGENAME}}}}}}}
|Tournament={{{Tournament|}}}
|Team 1={{{Team 1|}}}
|Team 1={{{Team 1|}}}
|Team 2={{{Team 2|}}}
|Team 2={{{Team 2|}}}
Line 85: Line 85:
|Winner={{{D1 Winner|}}}}}}}
|Winner={{{D1 Winner|}}}}}}}
{{#if:{{{S1 Player(s) 1|}}}|{{SetMatchResults
{{#if:{{{S1 Player(s) 1|}}}|{{SetMatchResults
|Tournament={{{#if:{{{Tournament|}}}|{{{Tournament|}}}|{{{Tournament|{{FULLPAGENAME}}}}}}}
|Tournament={{{Tournament|}}}
|Team 1={{{Team 1|}}}
|Team 1={{{Team 1|}}}
|Team 2={{{Team 2|}}}
|Team 2={{{Team 2|}}}
Line 94: Line 94:
|Winner={{{S1 Winner|}}}}}}}
|Winner={{{S1 Winner|}}}}}}}
{{#if:{{{R Player(s) 1|}}}|{{SetMatchResults
{{#if:{{{R Player(s) 1|}}}|{{SetMatchResults
|Tournament={{{#if:{{{Tournament|}}}|{{{Tournament|}}}|{{{Tournament|{{FULLPAGENAME}}}}}}}
|Tournament={{{Tournament|}}}
|Team 1={{{Team 1|}}}
|Team 1={{{Team 1|}}}
|Team 2={{{Team 2|}}}
|Team 2={{{Team 2|}}}

Latest revision as of 13:52, 17 October 2020

This template is for adding team match summaries on tournament pages. It inputs new match data into the Match Results Table. This is the full width version, not typically used on tournament pages. For the normal, narrower table, see the main AddMatch Template.

This template uses the S3, D2, S2, D1, S1 order. For the normal order, see Template:Addmatch Wide.

Keep in Mind

  • For any match (S2, S1, R) that isn't played, make both the score and winner as "not played"
  • Team1 and Team 2 should be in alphabetical order. Players1 play for Team1, Players2 for Team 2. Doubles pairs should be Last Name/Last Name with their names in alphabetical order. Singles players also use last name only. If there are two players with the same last name, use their first initial (ex. Oshitari Y.). The only exception for now is for the Echizens- you can use their full name.
  • You can see examples on Kantou Tournament.

To insert this table on another page, copy this code:

 {{AddMatch Wide 
|Tournament=<!--(leave blank if page is tournament name)-->
|Team 1=<!--Teams in Alphabetical order-->
|Team 2=
|S3 Player(s) 1=<!--Last Names in alphabetical order--> 
|S3 Player(s) 2=
|S3 Score=# - #
|S3 Winner=
|D2 Player(s) 1=
|D2 Player(s) 2=
|D2 Score=# - #
|D2 Winner=
|S2 Player(s) 1=
|S2 Player(s) 2=
|S2 Score=# - #
|S2 Winner=
|D1 Player(s) 1=
|D1 Player(s) 2=
|D1 Score=# - #
|D1 Winner=
|S1 Player(s) 1=
|S1 Player(s) 2=
|S1 Score=# - #
|S1 Winner=
|R Player(s) 1=
|R Player(s) 2=
|R Score=# - #
|R Winner=  }}

Displaying this Table with Existing Results

If you want to display this table using match results that are already in the database, use the following code:

{{GetMatchResults 
|Team 1=
|Team 2=
|Tournament= }}

[[]] vs. [[]]