Template:Star infobox: Difference between revisions

Fixing blank spaces, courtesy of the TF2 Wiki.
m (Don't need links formatting in references.)
(Fixing blank spaces, courtesy of the TF2 Wiki.)
Line 8: Line 8:
{{#if:{{{course|}}}{{{height|}}}|{{!}}align="center" colspan="2" bgcolor="#10274c" style="font-size:125%;" {{!}} '''<span style="color:white;">Star Info</span>'''
{{#if:{{{course|}}}{{{height|}}}|{{!}}align="center" colspan="2" bgcolor="#10274c" style="font-size:125%;" {{!}} '''<span style="color:white;">Star Info</span>'''
|}}
|}}
|-
{{#if: {{{course|}}} |
{{!}} '''Course''' {{!!}} {{{course}}}
{{!}}-}}
|-
{{#if: {{{height|}}} |
{{!}} '''Height''' {{!!}} {{{height}}}
{{!}}-}}
|-


{{#if:{{{course|}}}|{{!}}- style="vertical-align: top;"
{{#if:{{{rta|}}}{{{tas|}}}{{{abc|}}}{{{abz|}}}|{{!}}align="center" colspan="2" bgcolor="#10274c" style="font-size:125%;" {{!}} '''<span style="color:white;">Course Records</span>'''  
{{!}} '''Course'''
{{!}}-
{{!}} {{{course}}}
|}}
|}}
|-
{{#if: {{{tas|}}} |
{{!}} '''TAS World Record''' {{!!}} {{#if:{{{tas_link|}}}|{{{tas}}}<ref>{{{tas_link}}}</ref>|{{{tas}}}}}
{{!}}-}}
|-
{{#if: {{{rta|}}} |
{{!}} '''RTA World Record''' {{!!}} {{#if:{{{rta_link|}}}|{{{rta}}}<ref>{{{rta_link}}}</ref>|{{{rta}}}}}
{{!}}-}}
|-


{{#if:{{{height|}}}|{{!}}- style="vertical-align: top;"
{{#if: {{{abc|}}} |
{{!}} '''Height'''
{{!}} '''ABC Minimum''' {{!!}} {{#if:{{{abc_link|}}}|{{{abc}}}<ref>{{{abc_link}}}</ref>|{{{abc}}}}}
{{!}} {{{height}}}
{{!}}-}}
|}}
|-


{{!}}-
{{#if: {{{tas|}}} |
{{#if:{{{rta|}}}{{{tas|}}}{{{abc|}}}{{{abz|}}}|{{!}}align="center" colspan="2" bgcolor="#10274c" style="font-size:125%;" {{!}} '''<span style="color:white;">Course Records</span>'''
{{!}} '''ABZ Minimum''' {{!!}} {{#if:{{{abz_link|}}}|{{{abz}}}<ref>{{{abz_link}}}</ref>|{{{abz}}}}}
{{!}}-
}}
|}}
{{#if:{{{tas|}}}|{{!}}- style="vertical-align: top;"
{{!}} '''TAS World Record'''
{{!}} {{#if:{{{tas_link|}}}|{{{tas}}}<ref>{{{tas_link}}}</ref>|{{{tas}}}}}
|}}
{{#if:{{{rta|}}}|{{!}}- style="vertical-align: top;"
{{!}} '''RTA World Record'''
{{!}} {{#if:{{{rta_link|}}}|{{{rta}}}<ref>{{{tas_link}}}</ref>|{{{rta}}}}}
|}}
{{#if:{{{abc|}}}|{{!}}- style="vertical-align: top;"
{{!}} '''ABC Minimum'''
{{!}} {{#if:{{{abc_link|}}}|{{{abc}}}<ref>{{{abc_link}}}</ref>|{{{abc}}}}}
|}}
{{#if:{{{abz|}}}|{{!}}- style="vertical-align: top;"
{{!}} '''ABZ Minimum'''
{{!}} {{#if:{{{abz_link|}}}|{{{abz}}}<ref>{{{abz_link}}}</ref>|{{{abz}}}}}
|}}
|}{{#ifeq:{{NAMESPACENUMBER}}|0|
|}{{#ifeq:{{NAMESPACENUMBER}}|0|
[[Category:Stars]]}}</includeonly>
[[Category:Stars]]}}</includeonly>