Difference between revisions of "Template:Infobox SWC Event"

From blackwiki
Jump to navigation Jump to search
imported>CFuller
imported>WOSlinker
(tidy style)
Line 1: Line 1:
<!--{{SWC Event infobox}} begin-->{{#ifeq:{{NAMESPACE}}|{{<includeonly>subst:</includeonly>NAMESPACE}}|<includeonly>[[Category:Pages with incorrectly substituted templates|{{PAGENAME}}]]</includeonly>|}}{{#if: {{{x|}}} | {{Ambox
+
<!--{{SWC Event infobox}} begin-->{{#ifeq:{{NAMESPACE}}|{{<includeonly>subst:</includeonly>NAMESPACE}}|<includeonly>[[Category:Pages with incorrectly substituted templates]]</includeonly>|}}{{#if: {{{x|}}} | {{Ambox
 
| type  = notice
 
| type  = notice
 
| image = [[Image:Speedway logo.svg|50px|Current sport]]
 
| image = [[Image:Speedway logo.svg|50px|Current sport]]
Line 10: Line 10:
 
|+ {{#if: {{{NAME|}}}| {{{NAME}}}}}
 
|+ {{#if: {{{NAME|}}}| {{{NAME}}}}}
 
|-
 
|-
! align=center colspan=3 | Information
+
! style="text-align:center;" colspan=3 | Information
 
|-
 
|-
 
| width=100px align=center  | '''Date'''
 
| width=100px align=center  | '''Date'''
Line 23: Line 23:
 
}} {{{DATE Y|}}}
 
}} {{{DATE Y|}}}
 
|-
 
|-
| align=center | '''City'''
+
| style="text-align:center;" | '''City'''
 
| colspan=2  | {{#if: {{{FLAG|}}}| {{Flagicon|{{{FLAG|}}}}}}} {{{CITY|}}}
 
| colspan=2  | {{#if: {{{FLAG|}}}| {{Flagicon|{{{FLAG|}}}}}}} {{{CITY|}}}
 
|-
 
|-
| align=center | '''Event'''
+
| style="text-align:center;" | '''Event'''
 
| colspan=2  | {{{EVENT|}}}
 
| colspan=2  | {{{EVENT|}}}
 
|-
 
|-
| align=center | '''Referee'''
+
| style="text-align:center;" | '''Referee'''
 
| colspan=2  | {{#if: {{{REF-FLAG|}}} |{{Flagicon|{{{REF-FLAG}}}}}}} {{{REFEREE|}}}
 
| colspan=2  | {{#if: {{{REF-FLAG|}}} |{{Flagicon|{{{REF-FLAG}}}}}}} {{{REFEREE|}}}
 
{{#if:{{{JURY|}}} |
 
{{#if:{{{JURY|}}} |
 
{{!}}-
 
{{!}}-
{{!}} align=center {{!}} '''Jury President'''</small>
+
{{!}} style="text-align:center;" {{!}} '''Jury President'''</small>
 
{{!}} colspan=2  {{!}} {{#if: {{{JURY-FLAG|}}} |{{Flagicon|{{{JURY-FLAG}}}}}}} {{{JURY|}}}}}
 
{{!}} colspan=2  {{!}} {{#if: {{{JURY-FLAG|}}} |{{Flagicon|{{{JURY-FLAG}}}}}}} {{{JURY|}}}}}
 
|-
 
|-
! align=center colspan=3 | Stadium details
+
! style="text-align:center;" colspan=3 | Stadium details
 
|-
 
|-
| align=center | '''Stadium'''
+
| style="text-align:center;" | '''Stadium'''
 
| colspan=2  | {{{STADIUM|}}}
 
| colspan=2  | {{{STADIUM|}}}
 
{{#if:{{{CAPACITY|}}} |
 
{{#if:{{{CAPACITY|}}} |
 
{{!}}-
 
{{!}}-
{{!}} align=center {{!}} '''Capacity'''
+
{{!}} style="text-align:center;" {{!}} '''Capacity'''
 
{{!}} colspan=2  {{!}} {{{CAPACITY|}}}}}
 
{{!}} colspan=2  {{!}} {{{CAPACITY|}}}}}
 
|-
 
|-
 
{{#if:{{{LENGTH|}}} |
 
{{#if:{{{LENGTH|}}} |
{{!}} align=center {{!}} '''Length'''
+
{{!}} style="text-align:center;" {{!}} '''Length'''
 
{{!}} colspan=2  {{!}} {{{LENGTH|}}} m }}
 
{{!}} colspan=2  {{!}} {{{LENGTH|}}} m }}
 
|-
 
|-
 
{{#if:{{{TRACK|}}} |
 
{{#if:{{{TRACK|}}} |
{{!}} align=center {{!}} '''Track'''
+
{{!}} style="text-align:center;" {{!}} '''Track'''
 
{{!}} colspan=2  {{!}} {{{TRACK|}}}}}
 
{{!}} colspan=2  {{!}} {{{TRACK|}}}}}
 
|-
 
|-
! align=center colspan=3 | SWC Results
+
! style="text-align:center;" colspan=3 | SWC Results
 
|-
 
|-
 
{{#if:{{{ATTENDANCE|}}} |
 
{{#if:{{{ATTENDANCE|}}} |
Line 60: Line 60:
 
|-
 
|-
 
{{#if:{{{TIME-BEST|}}} |
 
{{#if:{{{TIME-BEST|}}} |
{{!}} align=center {{!}} '''Best Time'''
+
{{!}} style="text-align:center;" {{!}} '''Best Time'''
 
{{!}} colspan=2  {{!}}{{#if: {{{TIME-FLAG|}}} |{{Flagicon|{{{TIME-FLAG}}}}}}} {{{TIME-NAME|}}} <br>{{{TIME-BEST|}}} secs {{#if: {{{TIME-HEAT|}}}|(in Heat {{{TIME-HEAT|}}})}} }}
 
{{!}} colspan=2  {{!}}{{#if: {{{TIME-FLAG|}}} |{{Flagicon|{{{TIME-FLAG}}}}}}} {{{TIME-NAME|}}} <br>{{{TIME-BEST|}}} secs {{#if: {{{TIME-HEAT|}}}|(in Heat {{{TIME-HEAT|}}})}} }}
 
|-
 
|-
 
{{#if:{{{r|}}} |
 
{{#if:{{{r|}}} |
{{!}} align=center {{!}}  
+
{{!}} style="text-align:center;" {{!}}  
 
{{!}} width=20px {{speedway color|R}} {{!}}  
 
{{!}} width=20px {{speedway color|R}} {{!}}  
 
{{!}} {{speedway color|r}} {{!}} {{speedway|{{{r|}}}}}}}
 
{{!}} {{speedway color|r}} {{!}} {{speedway|{{{r|}}}}}}}
 
|-
 
|-
 
{{#if:{{{b|}}} |
 
{{#if:{{{b|}}} |
{{!}} align=center {{!}}  
+
{{!}} style="text-align:center;" {{!}}  
 
{{!}} {{speedway color|B}} {{!}}  
 
{{!}} {{speedway color|B}} {{!}}  
 
{{!}} {{speedway color|b}} {{!}} {{speedway|{{{b|}}}}}}}
 
{{!}} {{speedway color|b}} {{!}} {{speedway|{{{b|}}}}}}}
 
|-
 
|-
 
{{#if:{{{w|}}} |
 
{{#if:{{{w|}}} |
{{!}} align=center {{!}}  
+
{{!}} style="text-align:center;" {{!}}  
 
{{!}} {{speedway color|W}} {{!}}  
 
{{!}} {{speedway color|W}} {{!}}  
 
{{!}} {{speedway color|w}} {{!}} {{speedway|{{{w|}}}}}}}
 
{{!}} {{speedway color|w}} {{!}} {{speedway|{{{w|}}}}}}}
 
|-
 
|-
 
{{#if:{{{y|}}} |
 
{{#if:{{{y|}}} |
{{!}} align=center {{!}}  
+
{{!}} style="text-align:center;" {{!}}  
 
{{!}} {{speedway color|Y}} {{!}}  
 
{{!}} {{speedway color|Y}} {{!}}  
 
{{!}} {{speedway color|y}} {{!}} {{speedway|{{{y|}}}}}}}
 
{{!}} {{speedway color|y}} {{!}} {{speedway|{{{y|}}}}}}}
 
|-
 
|-
 
{{#if:{{{g|}}} |
 
{{#if:{{{g|}}} |
{{!}} align=center {{!}}  
+
{{!}} style="text-align:center;" {{!}}  
 
{{!}} {{speedway color|G}} {{!}}  
 
{{!}} {{speedway color|G}} {{!}}  
 
{{!}} {{speedway color|g}} {{!}} {{speedway|{{{g|}}}}}}}
 
{{!}} {{speedway color|g}} {{!}} {{speedway|{{{g|}}}}}}}
Line 371: Line 371:
 
</pre>
 
</pre>
  
[[Category:Speedway infobox templates|{{PAGENAME}}]]
+
[[Category:Speedway infobox templates]]
 
[[Category:Speedway World Cup|τ]]
 
[[Category:Speedway World Cup|τ]]
 
</noinclude>
 
</noinclude>

Revision as of 08:03, 23 November 2014

Information
Date
City
Event
Referee
Stadium details
Stadium
SWC Results
{{Infobox SWC Event
 |NAME      =
 |DATE D    =
 |DATE M    =
 |DATE Y    =
 |FLAG      =
 |CITY      =
 |EVENT     =
 |REF-FLAG  =
 |REFEREE   =
 |JURY-FLAG =
 |JURY      =
 |STADIUM   =
 |CAPACITY  =
 |LENGTH    =
 |TRACK     =
 |ATTENDANCE=
 |TIME-BEST =
 |TIME-FLAG =
 |TIME-NAME =
 |TIME-HEAT =
 |r =
 |b =
 |w =
 |y =
 |g =
 |1= |2= |3= |4= |5= 
}}