Difference between revisions of "Template:Galaxybox image"

From blackwiki
Jump to navigation Jump to search
imported>Sumanch
imported>Friendlystar
(added credit line (the code copied from Template:Infobox Galaxy))
Line 3: Line 3:
 
</noinclude>
 
</noinclude>
 
|-
 
|-
−
| colspan="2" style="text-align:center;" | <div style="width: 300px; text-align: center; margin-left:auto; margin-right:auto">{{{image}}}<br /><span style="font-size: smaller;">{{{caption}}}</span></div> <noinclude>
+
| colspan="2" style="text-align:center;" | <div style="width: 300px; text-align: center; margin-left:auto; margin-right:auto">{{{image}}}<br /><span style="font-size: smaller;">{{{caption}}}</span> {{#if:{{{credit<includeonly>|</includeonly>}}}|<br/><span style="font-size:smaller;">Credit: {{{credit}}}</span> }}</div> <noinclude>
 
|}
 
|}
  
Line 15: Line 15:
 
| image = <!--image-->
 
| image = <!--image-->
 
| caption = <!--optional caption-->
 
| caption = <!--optional caption-->
 +
| credit = <!--optional credit-->
 
}}</pre>
 
}}</pre>
  

Revision as of 19:45, 24 July 2008

{{{image}}}
{{{caption}}}
Credit: {{{credit}}}




This template is part of a group of templates that are used to display astronomical information related to a specific star or stellar system. The {{Galaxybox begin}} is always first in the list. It can be used as follows:

{{Galaxybox image
| image = <!--image-->
| caption = <!--optional caption-->
| credit = <!--optional credit-->
}}

This can be followed by other Starbox templates:

The list should then be closed with a {{Galaxybox end}} template.