| Line 1: |
Line 1: |
| − | {| class="wikitable" style="width:40%" align="right" border="1" | + | {| class="infobox bordered" style="float: width:23em; right; margin: 0 0 0.5em 0.5em; text-align: left; font-size: 85%; margin-left:5px" border=1 align="right" cellpadding="2" cellspacing="0" width="300" |
| − | |+ '''Planet Information''' | + | !colspan="2" align="center" style="color: Bisque; font-size: 120%; height: 20px; background: Black no-repeat scroll top left;"| '''{{{name|{{PAGENAME}}}}}''' |
| | |- | | |- |
| − | | Name || {{{name}}} | + | <!----------Image----------> |
| − | |-
| + | {{!}}align="center" colspan="2"{{!}}{{#if:{{{image|}}}|[[image:{{{image}}}|280px280px]]|}} |
| − | | Symbol || {{{symbol}}}
| + | {{!-}} |
| − | |- | + | <!----Symbol--------------> |
| − | | Diameter || {{{diameter}}} | + | {{#if:{{{symbol|}}} | <!--then:--> |
| − | |-
| + | {{!}}width=40% {{!}} '''Symbol''' |
| − | | Mass || {{{mass}}}
| + | {{!}} {{{symbol|}}} | <!--else--> |
| − | |- | + | }} |
| − | | Distance from Sun (Orbital Semi-major Axis) || {{{distance}}}
| + | {{!-}} |
| − | |-
| + | <!----Order---------------> |
| − | | Length of Day || {{{day}}}
| + | {{#if:{{{order|}}} | <!--then:--> |
| − | |- | + | {{!}}width=40% {{!}} '''Order from sun''' |
| − | | Length of Year (Revolution) || {{{year}}}
| + | {{!}} {{{order|}}} | <!--else--> |
| − | |-
| + | }} |
| − | | Number of Moons || {{{moons}}}
| + | {{!-}} |
| − | |-
| + | <!----Diameter------------> |
| − | | Composition || {{{composition}}}
| + | {{#if:{{{diameter|}}} | <!--then:--> |
| − | |-
| + | {{!}}width=40% {{!}} '''Diameter''' |
| − | | Color || {{{color}}}
| + | {{!}} {{{diameter|}}} | <!--else--> |
| − | |- | + | }} |
| − | | Date of Discovery || {{{date}}} | + | {{!-}} |
| − | |-
| + | <!----Mass----------------> |
| − | | Name of Discoverer || {{{discname}}}
| + | {{#if:{{{mass|}}} | <!--then:--> |
| − | |- | + | {{!}} '''Mass''' |
| − | | Name Origin || {{{origname}}}
| + | {{!}} {{{mass|}}} | <!--else--> |
| − | |- | + | }} |
| − | |}<noinclude>{{clear}} | + | {{!-}} |
| − | {{TemplateDoc|pages=Article pages|purpose=Solar planet infobox|}} | + | <!----Distance------------> |
| | + | {{#if:{{{distance|}}} | <!--then:--> |
| | + | {{!}} '''Distance from sun<br>(Orbital Semi-major Axis)''' |
| | + | {{!}} {{{distance|}}} | <!--else--> |
| | + | }} |
| | + | {{!-}} |
| | + | <!----Length of day-------> |
| | + | {{#if:{{{day|}}} | <!--then:--> |
| | + | {{!}} '''Length of day''' |
| | + | {{!}} {{{day|}}} | <!--else--> |
| | + | }} |
| | + | {{!-}} |
| | + | <!----Length of year------> |
| | + | {{#if:{{{year|}}} | <!--then:--> |
| | + | {{!}} '''Length of Year (Revolution)''' |
| | + | {{!}} {{{year|}}} | <!--else--> |
| | + | }} |
| | + | {{!-}} |
| | + | <!----Number of moons-----> |
| | + | {{#if:{{{moons|}}} | <!--then:--> |
| | + | {{!}} '''Number of moons''' |
| | + | {{!}} {{{moons|}}} | <!--else--> |
| | + | }} |
| | + | {{!-}} |
| | + | <!----Composition---------> |
| | + | {{#if:{{{composition|}}} | <!--then:--> |
| | + | {{!}} '''Composition''' |
| | + | {{!}} {{{composition|}}} | <!--else--> |
| | + | }} |
| | + | {{!-}} |
| | + | <!----Color---------------> |
| | + | {{#if:{{{color|}}} | <!--then:--> |
| | + | {{!}} '''Color''' |
| | + | {{!}} {{{color|}}} | <!--else--> |
| | + | }} |
| | + | {{!-}} |
| | + | <!----Albedo--------------> |
| | + | {{#if:{{{albedo|}}} | <!--then:--> |
| | + | {{!}} '''Albedo''' |
| | + | {{!}} {{{albedo|}}} | <!--else--> |
| | + | }} |
| | + | {{!-}} |
| | + | <!----Date of discovery---> |
| | + | {{#if:{{{date|}}} | <!--then:--> |
| | + | {{!}} '''Date of discovery''' |
| | + | {{!}} {{{date|}}} | <!--else--> |
| | + | }} |
| | + | {{!-}} |
| | + | <!----Name of discoverer--> |
| | + | {{#if:{{{discname|}}} | <!--then:--> |
| | + | {{!}} '''Name of discoverer''' |
| | + | {{!}} {{{discname|}}} | <!--else--> |
| | + | }} |
| | + | {{!-}} |
| | + | <!----Name origin---------> |
| | + | {{#if:{{{origname|}}} | <!--then:--> |
| | + | {{!}} '''Name origin''' |
| | + | {{!}} {{{origname|}}} | <!--else--> |
| | + | }} |
| | + | {{!-}} |
| | + | |} |
| | + | |
| | + | <includeonly>[[Category:Planet]]</includeonly> |
| | + | <noinclude>[[Category:Template]] |
| | + | {{TemplateDoc|pages=Mineral articles|purpose=Infobox|cat=Mineral}} |
| | {{Parms| | | {{Parms| |
| − | {{Parm|Various (as shown in the template above)|As indicated in the template above|yes}} | + | {{Parm|name |Name |no | Defaults to page name}} |
| | + | {{Parm|image |Picture of planet |no | just image name}} |
| | + | {{Parm|symbol |Symbol |no | }} |
| | + | {{Parm|order |Order from sun |no | }} |
| | + | {{Parm|diameter |Diameter |no | }} |
| | + | {{Parm|mass |Mass |no | }} |
| | + | {{Parm|distance |Distance from sun |no | }} |
| | + | {{Parm|day |Length of day |no | Time for one rotation}} |
| | + | {{Parm|year |Length of year |no | Time for one revolution}} |
| | + | {{Parm|moons |Number of moons |no | }} |
| | + | {{Parm|composition |Composition |no | }} |
| | + | {{Parm|color |Color |no | }} |
| | + | {{Parm|albedo |Albedo |no | }} |
| | + | {{Parm|date |Date of discovery |no | }} |
| | + | {{Parm|discname |Name of discoverer|no | }} |
| | + | {{Parm|origname |Name origin |no | }} |
| | }} | | }} |
| | + | |
| | + | ===Sample Data Block=== |
| | + | The following may be copied and pasted at the top of the page being edited |
| | + | <pre> |
| | + | <nowiki>{{</nowiki>Planet |
| | + | | name= |
| | + | | image= |
| | + | | symbol= |
| | + | | order= |
| | + | | diameter= |
| | + | | mass= |
| | + | | distance= |
| | + | | day= |
| | + | | year= |
| | + | | moons= |
| | + | | composition= |
| | + | | color= |
| | + | | albedo= |
| | + | | date= |
| | + | | discname= |
| | + | | nameorigin= |
| | + | |} |
| | + | <nowiki>}}</nowiki></pre> |
| | </noinclude> | | </noinclude> |