Jump to content

Template:Infobox Galaxy: Difference between revisions

From IdeaWazaWiki
wikademia>Jyril
m (v) looks bad alone
wikademia>Jyril
added optional parameters, example
Line 5: Line 5:
| align="center" |<small>[[List of galaxies]]</small>
| align="center" |<small>[[List of galaxies]]</small>
|-  
|-  
| colspan="2" align="center" | {{{image|}}}
{{ #if: {{{image|}}} | {{
|-
| colspan="2" align="center" | {{{image}}}
|- }}
}}
! colspan="2" style="background-color: #30D5C8; text-align: center;" | Observation data<br/><small>([[Epoch (astronomy)|Epoch]] {{{epoch}}})</small>
! colspan="2" style="background-color: #30D5C8; text-align: center;" | Observation data<br/><small>([[Epoch (astronomy)|Epoch]] {{{epoch}}})</small>
|-
|-
Line 18: Line 20:
| <span style="white-space:nowrap;">{{{dec}}}</span>
| <span style="white-space:nowrap;">{{{dec}}}</span>
|-  
|-  
{{ #if: {{{dist_ly|}}} | {{
! style="text-align:left;" | Distance
! style="text-align:left;" | Distance
| {{{dist_ly}}}
| {{{dist_ly}}}
|-
|- }}
}}
{{ #if: {{{z|}}} | {{
! style="text-align:left;" | [[Redshift]]
! style="text-align:left;" | [[Redshift]]
| {{{z|?}}}
| {{{z}}}
|-
|- }}
}}
! style="text-align:left;" | [[Apparent magnitude]]&nbsp;<small title="in visual light">(V)</small>
! style="text-align:left;" | [[Apparent magnitude]]&nbsp;<small title="in visual light">(V)</small>
| {{{appmag_v}}}
| {{{appmag_v}}}
|-
|-
{{ #if: {{{size_v|}}} | {{
! style="text-align:left;" | Apparent dimensions&nbsp;<small title="in visual light">(V)</small>
! style="text-align:left;" | Apparent dimensions&nbsp;<small title="in visual light">(V)</small>
| {{{size_v}}}
| {{{size_v}}}
|-
|- }}
}}
! style="text-align:left;" | [[Constellation]]
! style="text-align:left;" | [[Constellation]]
| {{{constellation name}}}
| {{{constellation name}}}
Line 35: Line 43:
! colspan="2" style="background-color: #30D5C8; text-align: center;" | Physical characteristics
! colspan="2" style="background-color: #30D5C8; text-align: center;" | Physical characteristics
|-
|-
{{ #if: {{{radius_ly|}}} | {{
! style="text-align:left;" | [[Radius]]
! style="text-align:left;" | [[Radius]]
| {{{radius_ly}}}
| {{{radius_ly}}}
|-
|- }}
}}
{{ #if: {{{absmag_v|}}} | {{
! style="text-align:left;" | [[Absolute magnitude]]&nbsp;<small title="in visual light">(V)</small>
! style="text-align:left;" | [[Absolute magnitude]]&nbsp;<small title="in visual light">(V)</small>
| {{{absmag_v}}}
| {{{absmag_v}}}
|-
|- }}
}}
{{ #if: {{{notes|}}} | {{
! style="text-align:left;" | Notable features
! style="text-align:left;" | Notable features
| {{{notes|none}}}
| {{{notes}}
|-
|- }}
}}
{{ #if: {{{names|}}} | {{
! colspan="2" style="text-align:left;" | Other designations
! colspan="2" style="text-align:left;" | Other designations
|-
|-
| colspan="2" | {{{names|}}}
| colspan="2" | {{{names}}}
}} }}
|}<noinclude>
|}<noinclude>
:'''{{Galaxy
:'''| name =
:'''| image =
:'''| epoch =
:'''| type =
:'''| ra =
:'''| dec =
:'''| dist_ly =
:'''| z =
:'''| appmag_v =
:'''| size_v =
:'''| constellation name =
:'''| radius_ly =
:'''| absmag_v =
:'''| notes =
:'''| names =
:'''}}'''
{{-}}
{{esoteric}}
[[Category:Infobox templates|Galaxy]]
[[Category:Infobox templates|Galaxy]]
</noinclude>
</noinclude>

Revision as of 15:40, 10 May 2006

{{{name}}}
Galaxy List of galaxies
Observation data
(Epoch {{{epoch}}})
Type {{{type}}}
Right ascension {{{ra}}}
Declination {{{dec}}}
Apparent magnitude (V) {{{appmag_v}}}
Constellation {{{constellation name}}}
Physical characteristics
{{Galaxy
| name =
| image =
| epoch =
| type =
| ra =
| dec =
| dist_ly =
| z =
| appmag_v =
| size_v =
| constellation name =
| radius_ly =
| absmag_v =
| notes =
| names =
}}


Template:Esoteric