Template:Infobox Daytona 500

From WikiMint
Jump to navigation Jump to search

<templatestyles src="Module:Infobox/styles.css"></templatestyles>

{{#switch:{{{Type}}}

|NASCS = Race {{{Race_No}}} of {{{Season_No}}} in the [[{{{year}}} NASCAR Cup Series]]
|NAS = Race {{{Race_No}}} of {{{Season_No}}} in the [[{{{year}}} NASCAR Sprint Cup Series]]
|NASNEX = Race {{{Race_No}}} of {{{Season_No}}} in the [[{{{year}}} NASCAR Nextel Cup Series]]
|NASWINSTON = Race {{{Race_No}}} of {{{Season_No}}} in the [[{{{year}}} NASCAR Winston Cup Series]]
|NASME = Race {{{Race_No}}} of {{{Season_No}}} in the [[{{{year}}} Monster Energy NASCAR Cup Series]]
|CUST = {{{Description}}}
}}
Course Template:Br separated entries
Distance

{{#if:

         | {{#if:|{{{Distance_laps}}} laps,}} {{#if:|{{{Distance_mi}}} mi ({{{Distance_km}}} km)}}
}}
Scheduled distance

{{#if:

         |{{#if:200|200 laps,}} {{#if:500|500 mi (804.672 km)}}
}}
{{#if: | Pole position }}
{{#if: |Drivers|Driver}} {{#if: | Template:Unbulleted list }} {{#if: |{{#if: |{{{Pole_Team}}}}}}}
Time {{#if: | }}
{{#if: | Qualifying race winners }}
Duel 1 Winner {{#if: | {{#if:|{{{One_Team}}} }}}}
Duel 2 Winner {{#if: | {{#if:|{{{Two_Team}}} }}}}
{{#if: | Most laps led }}
{{#if: |Drivers|Driver}} {{#if: |{{#if: | {{{Most_Driver}}}| {{#if: }} }} }} {{#if: |{{#if: | {{{Most_Team}}} }} }}
Most laps led {{#if: |{{#if: | {{{Most_Driver2}}} }} }} {{#if: |{{#if: | {{{Most_Team2}}} }} }}
{{#if: |Fastest lap}}
{{#if: |Drivers|Driver}} {{#if: |{{#if: | {{{Fast_Driver}}} {{#if: | {{#if: |(lap {{{Fast_Lap}}})}} }} }} }} {{#if: |{{#if: | {{{Fast_Team}}} }} }}
Fastest lap {{#if: |{{#if: | {{{Fast_Driver2}}} {{#if: | (lap {{{Fast_Lap2}}})}} }} }} {{#if: |{{#if: | {{{Fast_Team2}}} }} }}
Time {{#if: |{{{Fast_Time}}} {{#if: | |{{#if: | on lap {{{Fast_Lap}}} }} }} }}
{{#if:| Winner }}
{{#if:|No. {{{Car}}}|}} {{#if:|{{{First_Driver}}}}} {{#if:|{{{First_Team}}}}}
{{#if:| Television in the United States }}
{{#if:| Radio in the United States }}

{{#if:{{#ifeq:|||1}}{{#if:{{SAFESUBST:#if:|{{SAFESUBST:#if:|1}}}}|1}}{{#ifeq:|||1}}{{#if:{{SAFESUBST:#if:|{{SAFESUBST:#if:|1}}}}|1}}|

}}{{#switch:|NASCS|NAS|NASNEX|NASWINSTON|NASME|CUST=|=|#default= }} Template:Documentation