Changes

Template:Planet

3,016 bytes added, 07:13, July 16, 2007
reformat & document (test)
{| class="wikitableinfobox bordered" style="float: width:4023em; right; margin: 0 0 0.5em 0.5em; text-align: left; font-size: 85%; margin-left:5px" border=1 align="right" bordercellpadding="12" cellspacing="0" width="300"!colspan="2" align="center" style="color: Bisque; font-size: 120%; height: 20px; background: Black no-repeat scroll top left;"|+ '''Planet Information{{{name|{{PAGENAME}}}}}'''
|-
<!----------Image---------->{{!}}align="center" colspan="2"{{!}}{{#if:{{{image| Name |}}}| [[image:{{{nameimage}}}|280px280px]]|}}{{!-}}| <!----Symbol -------------->{{#if:{{{symbol|}}} | <!--then:-->{{!}}width=40% {{!}} '''Symbol'''{{!}} {{{symbol|}}}| <!--else-->}}{{!-}}<!----Order--------------->{{#if:{{{order|}}} | <!--then:-->{{!}}width=40% {{!}} '''Order from sun'''{{!}} {{{order| }}} | <!--else-->}}{{!-}}<!----Diameter ------------>{{#if:{{{diameter|}}} | <!--then:-->{{!}}width=40% {{!}} '''Diameter'''{{!}} {{{diameter|}}}|<!--else-->| }}{{!-}}<!----Mass ---------------->{{#if:{{{mass|}}} | <!--then:-->{{!}} '''Mass'''{{!}} {{{mass|}}}|<!--else-->}}{{!-}}<!----Distance------------>{{#if:{{{distance| }}} | <!--then:-->{{!}} '''Distance from Sun sun<br>(Orbital Semi-major Axis) || '''{{!}} {{{distance|}}}|<!--else-->| }}{{!-}}<!----Length of Day day------->{{#if:{{{day|}}} | <!--then:-->{{!}} '''Length of day'''{{!}} {{{day|}}}|<!--else-->}}{{!-}}<!----Length of year------>{{#if:{{{year| }}} | <!--then:-->{{!}} '''Length of Year (Revolution) || '''{{!}} {{{year|}}}|<!--else-->| }}{{!-}}<!----Number of Moons 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 discovery--->{{#if:{{{date|}}} | <!--then:-->{{!}} '''Date of discovery'''{{!}} {{{date|}}}|<!--else-->| }}{{!-}}<!----Name of Discoverer || discoverer-->{{#if:{{{discname|}}}|<!--then:-->| {{!}} '''Name Origin of discoverer'''{{!}} {{{discname|}}} | <!--else-->}}{{!-}}<!----Name origin--------->{{#if:{{{origname|}}}|<!--then:-->{{!}} '''Name origin'''{{!}} {{{origname|}}} | <noinclude!--else-->}}{{clear!-}}|} <includeonly>[[Category:Planet]]</includeonly><noinclude>[[Category:Template]]{{TemplateDoc|pages=Article pagesMineral articles|purpose=Solar planet infoboxInfobox|cat=Mineral}}
{{Parms|
{{Parm|Various (as shown in the template above)name |As indicated in the template aboveName |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 |yes}}
}}
 
===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>
NsTeam1RO, nsTeam1RW, nsTeam1_talkRO, nsTeam1_talkRW
6,302
edits