Jump to content

Template:Infobox Galaxy: Difference between revisions

From IdeaWazaWiki
wikademia>Eric Kvaalen
Attempt to hide {{{z}}} when not given
wikademia>Ligulem
if -> qif - qif is the server friendlier variant of if
Line 5: Line 5:
| align="center" |<small>[[List of galaxies]]</small>
| align="center" |<small>[[List of galaxies]]</small>
|-
|-
| colspan="2" align="center" |{{if|test={{{image}}}|then={{{image}}}|else=''No image.''}}
| colspan="2" align="center" |{{qif|test={{{image}}}|then={{{image}}}|else=''No image.''}}
|-
|-
! style="background-color: #FFFFC0;" colspan="2" | Observation data<br/><small>([[Epoch (astronomy)|Epoch]] {{{epoch}}})</small>
! style="background-color: #FFFFC0;" colspan="2" | Observation data<br/><small>([[Epoch (astronomy)|Epoch]] {{{epoch}}})</small>
Line 19: Line 19:
|-
|-
| '''[[Red shift]]'''
| '''[[Red shift]]'''
| {{if|test={{{z}}}|then={{{z}}}|else=''?''}}
| {{qif|test={{{z}}}|then={{{z}}}|else=''?''}}
|-
|-
| '''Distance'''
| '''Distance'''

Revision as of 17:32, 18 December 2005

{{{name}}}
Galaxy List of galaxies
Template:Qif
Observation data
(Epoch {{{epoch}}})
Type {{{type}}}
Right ascension {{{ra}}}
Declination {{{dec}}}
Red shift Template:Qif
Distance {{{dist_ly}}}
Apparent magnitude (V) {{{appmag_v}}}
Apparent dimensions (V) {{{size_v}}}
Constellation {{{constellation name}}}
Physical characteristics
Radius {{{radius_ly}}}
Absolute magnitude (V) {{{absmag_v}}}
Notable features {{{notes}}}
Other designations {{{names}}}