Difference between revisions of "AddMatch"
From Tenipuri Info
(Created page with "<table class="wikitable fullwmobile" style="width:350px;float:left;margin-right:10px;"> <tr><th colspan="3">[[{{{Team 1|}}}]] vs. [[{{{Team 2|}}}]]</th></tr> <includeonly>{{Se...") |
m |
||
(17 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<table class="wikitable fullwmobile" style="width: | <noinclude> | ||
<tr><th colspan="3">[[{{{Team 1|}}}]] vs. [[{{{Team 2|}}}]]</th></tr> | [[Category:Templates]] | ||
<includeonly>{{SetMatchResults | This template is for adding team match summaries on tournament pages. '''It inputs new match data into the [[Special:CargoTables/MatchResults|Match Results Table]]. ''' | ||
|Tournament={{{Tournament|}}} | |||
This is a table uses the '''D2, D1, S3, S2, S1''' format. For the S3, D2, S2, D1, S1 format, see [[Template:AddMatch 2]]. | |||
To input new match results for an individual match, see the [[Template:Match Results|Match Results Template]]. | |||
For a fullwidth version of this template, see [[Template:AddMatch Wide]] | |||
====Keep in Mind==== | |||
* For any match (S2, S1, R) that isn't played, make both the <nowiki>score</nowiki> and <nowiki>winner</nowiki> 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: | |||
<nowiki>{{AddMatch | |||
|Team 1=<!--Teams in Alphabetical order--> | |||
|Team 2= | |||
|D2 Player(s) 1=<!--Names in alphabetical order-->Last Name/Last Name | |||
|D2 Player(s) 2=Last Name/Last Name | |||
|D2 Score=# - # | |||
|D2 Winner=Last Name/Last Name | |||
|D1 Player(s) 1= | |||
|D1 Player(s) 2= | |||
|D1 Score=# - # | |||
|D1 Winner= | |||
|S3 Player(s) 1= | |||
|S3 Player(s) 2= | |||
|S3 Score=# - # | |||
|S3 Winner= | |||
|S2 Player(s) 1= | |||
|S2 Player(s) 2= | |||
|S2 Score=# - # | |||
|S2 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= }}</nowiki> | |||
====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: | |||
<nowiki>{{GetMatchResults | |||
|Team 1= | |||
|Team 2= | |||
|Tournament= }} | |||
</nowiki> | |||
</noinclude><div class="noP"><table class="wikitable fullwmobile" style="width:390px;float:left;margin-right:10px;"><tr><th colspan="3">[[{{{Team 1|}}}]] vs. [[{{{Team 2|}}}]]</th></tr> | |||
<includeonly> | |||
{{#if:{{{D2 Player(s) 1|}}}|{{SetMatchResults | |||
|Tournament={{{Tournament|{{FULLPAGENAME}}}}} | |||
|Team 1={{{Team 1|}}} | |Team 1={{{Team 1|}}} | ||
|Team 2={{{Team 2|}}} | |Team 2={{{Team 2|}}} | ||
Line 9: | Line 62: | ||
|Player(s) 2={{{D2 Player(s) 2|}}} | |Player(s) 2={{{D2 Player(s) 2|}}} | ||
|Score={{{D2 Score|}}} | |Score={{{D2 Score|}}} | ||
|Winner={{{D2 Winner|}}}}} | |Winner={{{D2 Winner|}}}}}}} | ||
{{SetMatchResults | {{#if:{{{D1 Player(s) 1|}}}|{{SetMatchResults | ||
|Tournament={{{Tournament|}}} | |Tournament={{{Tournament|{{FULLPAGENAME}}}}} | ||
|Team 1={{{Team 1|}}} | |Team 1={{{Team 1|}}} | ||
|Team 2={{{Team 2|}}} | |Team 2={{{Team 2|}}} | ||
Line 18: | Line 71: | ||
|Player(s) 2={{{D1 Player(s) 2|}}} | |Player(s) 2={{{D1 Player(s) 2|}}} | ||
|Score={{{D1 Score|}}} | |Score={{{D1 Score|}}} | ||
|Winner={{{D1 Winner|}}}}} | |Winner={{{D1 Winner|}}}}}}} | ||
{{SetMatchResults | {{#if:{{{S3 Player(s) 1|}}}|{{SetMatchResults | ||
|Tournament={{{Tournament|}}} | |Tournament={{{Tournament|{{FULLPAGENAME}}}}} | ||
|Team 1={{{Team 1|}}} | |Team 1={{{Team 1|}}} | ||
|Team 2={{{Team 2|}}} | |Team 2={{{Team 2|}}} | ||
Line 27: | Line 80: | ||
|Player(s) 2={{{S3 Player(s) 2|}}} | |Player(s) 2={{{S3 Player(s) 2|}}} | ||
|Score={{{S3 Score|}}} | |Score={{{S3 Score|}}} | ||
|Winner={{{S3 Winner|}}}}} | |Winner={{{S3 Winner|}}}}}}} | ||
{{#if:{{{S2 Player(s) 1|}}}|{{SetMatchResults | {{#if:{{{S2 Player(s) 1|}}}|{{SetMatchResults | ||
|Tournament={{{Tournament|}}} | |Tournament={{{Tournament|{{FULLPAGENAME}}}}} | ||
|Team 1={{{Team 1|}}} | |Team 1={{{Team 1|}}} | ||
|Team 2={{{Team 2|}}} | |Team 2={{{Team 2|}}} | ||
Line 38: | Line 91: | ||
|Winner={{{S2 Winner|}}}}}}} | |Winner={{{S2 Winner|}}}}}}} | ||
{{#if:{{{S1 Player(s) 1|}}}|{{SetMatchResults | {{#if:{{{S1 Player(s) 1|}}}|{{SetMatchResults | ||
|Tournament={{{Tournament|}}} | |Tournament={{{Tournament|{{FULLPAGENAME}}}}} | ||
|Team 1={{{Team 1|}}} | |Team 1={{{Team 1|}}} | ||
|Team 2={{{Team 2|}}} | |Team 2={{{Team 2|}}} | ||
Line 45: | Line 98: | ||
|Player(s) 2={{{S1 Player(s) 2|}}} | |Player(s) 2={{{S1 Player(s) 2|}}} | ||
|Score={{{S1 Score|}}} | |Score={{{S1 Score|}}} | ||
|Winner={{{S1 Winner|}}}}}}}</includeonly> | |Winner={{{S1 Winner|}}}}}}} | ||
</table> | {{#if:{{{R Player(s) 1|}}}|{{SetMatchResults | ||
|Tournament={{{Tournament|{{FULLPAGENAME}}}}} | |||
|Team 1={{{Team 1|}}} | |||
|Team 2={{{Team 2|}}} | |||
|Position=R | |||
|Player(s) 1={{{R Player(s) 1|}}} | |||
|Player(s) 2={{{R Player(s) 2|}}} | |||
|Score={{{R Score|}}} | |||
|Winner={{{R Winner|}}}}}}}</includeonly> | |||
</table></div> |
Latest revision as of 17:21, 17 July 2021
This template is for adding team match summaries on tournament pages. It inputs new match data into the Match Results Table.
This is a table uses the D2, D1, S3, S2, S1 format. For the S3, D2, S2, D1, S1 format, see Template:AddMatch 2.
To input new match results for an individual match, see the Match Results Template.
For a fullwidth version of this template, 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 |Team 1=<!--Teams in Alphabetical order--> |Team 2= |D2 Player(s) 1=<!--Names in alphabetical order-->Last Name/Last Name |D2 Player(s) 2=Last Name/Last Name |D2 Score=# - # |D2 Winner=Last Name/Last Name |D1 Player(s) 1= |D1 Player(s) 2= |D1 Score=# - # |D1 Winner= |S3 Player(s) 1= |S3 Player(s) 2= |S3 Score=# - # |S3 Winner= |S2 Player(s) 1= |S2 Player(s) 2= |S2 Score=# - # |S2 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. [[]] |
---|