Template:Star infobox: Difference between revisions

m
no edit summary
(Updated so links apply more easily to the infobox.)
mNo edit summary
 
(13 intermediate revisions by 3 users not shown)
Line 3: Line 3:
{{#if: {{{image|}}} |
{{#if: {{{image|}}} |
{{!}}-  
{{!}}-  
{{!}} colspan=2 style="text-align:center;" {{!}} [[File:{{{image|}}}|300px|]]
{{!}} colspan=2 style="text-align:center;" {{!}} [[File:{{{image}}}|300px|]]
}}
}}
|-
|-
{{#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 Above Ground''' {{!!}} {{{height}}}{{#if: {{{height_link|}}} | {{#tag:ref|{{{height_link}}}|name=Star Height}}}}
{{!}}-}}
|-


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


{{#if:{{{tas|}}}|{{!}}- style="vertical-align: top;"
{{#if: {{{abc|}}} |
{{!}} '''TAS World Record'''
{{!}} '''ABC Minimum''' {{!!}} {{{abc}}}{{#if: {{{abc_link|}}} | {{#tag:ref|{{{abc_link}}}|name=ABC}}}}
{{!}} {{#if:{{{tas_link|}}}|[{{{tas_link}}} {{{tas}}}]|{{{tas}}}}}
{{!}}-}}
|}}
|-


{{#if:{{{rta|}}}|{{!}}- style="vertical-align: top;"
{{#if: {{{abz|}}} |
{{!}} '''RTA World Record'''
{{!}} '''ABZ Minimum''' {{!!}} {{{abz}}}{{#if: {{{abz_link|}}} | {{#tag:ref|{{{abz_link}}}|name=ABZ}} |}}
{{!}} {{#if:{{{rta_link|}}}|[{{{tas_link}}} {{{rta}}}]|{{{rta}}}}}
{{!}}-}}
|}}
 
{{#if:{{{abc|}}}|{{!}}- style="vertical-align: top;"
{{!}} '''ABC Minimum'''
{{!}} {{#if:{{{abc_link|}}}|[{{{abc_link}}} {{{abc}}}]|{{{abc}}}}}
|}}
 
{{#if:{{{abz|}}}|{{!}}- style="vertical-align: top;"
{{!}} '''ABZ Minimum'''
{{!}} {{#if:{{{abz_link|}}}|[{{{abz_link}}} {{{abz}}}]|{{{abz}}}}}
|}}
|}{{#ifeq:{{NAMESPACENUMBER}}|0|
|}{{#ifeq:{{NAMESPACENUMBER}}|0|
[[Category:Stars]]}}</includeonly>
[[Category:Stars]]}}</includeonly>
Line 51: Line 47:
|course=BoB
|course=BoB
|height=432
|height=432
|height_link=https://www.youtube.com/watch?v=xE7hrQ8sHhU&t=3m18s
|tas=10"43
|tas=10"43
|tas_link=https://www.youtube.com/watch?v=EFISdYajCpU
|tas_link=https://www.youtube.com/watch?v=EFISdYajCpU
Line 64: Line 61:
|course=
|course=
|height=
|height=
|height_link=
|tas=
|tas=
|tas_link=
|tas_link=
Line 73: Line 71:
|abz_link=
|abz_link=
}}</pre></div>
}}</pre></div>
==Usage==
*title - default pagename, just in case can be changed.
*title - default pagename, just in case can be changed.
*image - image of the star
*image - image of the star
*course - star's course
*course - star's course
*height - height of the star
*height - height of the star
*height_link - link to timestamp in pannen video about star heights
*tas - TAS WR
*tas - TAS WR
*tas_link - TAS WR Video
*tas_link - TAS WR Video
829

edits