Difference between revisions of "Template:Badmintonbox2"

From blackwiki
Jump to navigation Jump to search
imported>BTechTV
imported>Florentyna
 
(3 intermediate revisions by 2 users not shown)
Line 5: Line 5:
 
{| style="float:left; width:54%; table-layout:fixed; text-align:center"
 
{| style="float:left; width:54%; table-layout:fixed; text-align:center"
 
|- style="vertical-align:top"
 
|- style="vertical-align:top"
| style="width:40%; text-align:right" class="vcard attendee" | <span class="fn org">{{#if:{{{team1|}}}|{{#switch:{{{score}}}|0–2|1–2|2–0|2–1|0–5|1–4|2–3|5–0|4–1|3–2|0&ndash;2|1&ndash;2|2&ndash;0|2&ndash;1|0&ndash;5|1&ndash;4|2&ndash;3|5&ndash;0|4&ndash;1|3&ndash;2={{{team1}}}|'''{{{team1}}}''' }}| }}</span>
+
| style="width:40%; text-align:right" class="vcard attendee" | <span class="fn org">{{#if:{{{team1|}}}|{{#switch:{{{score}}}|0–1|0–2|0–3|0–4|0–5|1–2|1–3|1–4|2–3|0&ndash;1|0&ndash;2|0&ndash;3|0&ndash;4|0&ndash;5|1&ndash;2|1&ndash;3|1&ndash;4|2&ndash;3={{{team1}}}|'''{{{team1}}}''' }}| }}</span>
 
! style="width:20%; text-align:center" | {{#if:{{{score|}}}|{{{score}}}|v }}
 
! style="width:20%; text-align:center" | {{#if:{{{score|}}}|{{{score}}}|v }}
| style="width:40%; text-align:left" class="vcard attendee" | <span class="fn org">{{#if:{{{team2|}}}|{{#switch:{{{score}}}|2–0|2–1|0–2|1–2|5–0|4–1|3–2|0–5|1–4|2–3|2&ndash;0|2&ndash;1|0&ndash;2|1&ndash;2|5&ndash;0|4&ndash;1|3&ndash;2|0&ndash;5|1&ndash;4|2&ndash;3={{{team2}}}|'''{{{team2}}}''' }}| }}</span>
+
| style="width:40%; text-align:left" class="vcard attendee" | <span class="fn org">{{#if:{{{team2|}}}|{{#switch:{{{score}}}|1–0|2–0|3–0|4–0|5–0|2–1|3–1|4–1|3–2|1&ndash;0|2&ndash;0|3&ndash;0|4&ndash;0|5&ndash;0|2&ndash;1|3&ndash;1|4&ndash;1|3&ndash;2={{{team2}}}|'''{{{team2}}}''' }}| }}</span>
 
|- style="vertical-align:top;font-size:85%"
 
|- style="vertical-align:top;font-size:85%"
 
| style="text-align:center;" colspan="3"| {{#if:{{{set|}}}|{{{set}}}<br />| }}{{#ifeq:{{str_sub|{{{report}}}|0|4}}|http |[{{{report}}} Report] |{{{report|}}}}}
 
| style="text-align:center;" colspan="3"| {{#if:{{{set|}}}|{{{set}}}<br />| }}{{#ifeq:{{str_sub|{{{report}}}|0|4}}|http |[{{{report}}} Report] |{{{report|}}}}}
Line 14: Line 14:
 
|<div style="font-size: 85%">{{#if:{{{stadium|}}}|<span class="location">{{{stadium}}}</span> }}{{#if:{{{attendance|}}}|<br />Attendance: {{{attendance}}}}}{{#if:{{{referee|}}}|<br />Referees: {{{referee}}} }}</div>
 
|<div style="font-size: 85%">{{#if:{{{stadium|}}}|<span class="location">{{{stadium}}}</span> }}{{#if:{{{attendance|}}}|<br />Attendance: {{{attendance}}}}}{{#if:{{{referee|}}}|<br />Referees: {{{referee}}} }}</div>
 
|}{{clear}}
 
|}{{clear}}
</div><noinclude>{{Documentation}}</noinclude>
+
</div><noinclude>
 +
[[Category:Badminton templates]]
 +
</noinclude>

Latest revision as of 16:00, 28 September 2018

{{{date}}}
v