Difference between revisions of "Template:Planet"

From Discovery Wiki
Jump to navigationJump to search
(updated information)
Line 6: Line 6:
 
<div style="clear: left;"></div></div><noinclude>
 
<div style="clear: left;"></div></div><noinclude>
 
-->
 
-->
 +
==Usage==
 +
*Use the <name> of a Planet.
 +
*It will create a link to the page "'''Planet <name>'''".
 +
*The text you input will be placed underneath in italics.
 +
*An automatic image will be used on the left. This will be "<name>.jpg". If there is not an image of a planet available, please upload one using "<name>.jpg". ('''Note the lowercase ".jpg"''')
 +
*This template allows you to specify an image if necessary. Use the third parameter to input a picture manually.
 +
<pre>
 +
{{Planet|Name|AnyText|OptionalImage}}
  
==Usage==
+
{{Planet|Manhattan|inhabited|}}
This template allows you to specify an image if necessary. Use the third parameter to input a picture manually, otherwise the template will use an image entitled <planetName>.jpg
+
{{Planet|Texas|Ice Cream|Crete.JPG}}</pre>
<pre>{{Planet|Manhattan|inhabited|}}
 
{{Planet|Manhattan|inhabited|Crete.JPG}}</pre>
 
  
 
==Result==
 
==Result==
 
{{Planet|Manhattan|inhabited|}}
 
{{Planet|Manhattan|inhabited|}}
{{Planet|Manhattan|inhabited|Crete.JPG}}
+
{{Planet|Texas|Ice Cream|Crete.JPG}}
  
 
{{Clear}}
 
{{Clear}}

Revision as of 23:48, 10 July 2009

Usage

  • Use the <name> of a Planet.
  • It will create a link to the page "Planet <name>".
  • The text you input will be placed underneath in italics.
  • An automatic image will be used on the left. This will be "<name>.jpg". If there is not an image of a planet available, please upload one using "<name>.jpg". (Note the lowercase ".jpg")
  • This template allows you to specify an image if necessary. Use the third parameter to input a picture manually.
{{Planet|Name|AnyText|OptionalImage}}

{{Planet|Manhattan|inhabited|}}
{{Planet|Texas|Ice Cream|Crete.JPG}}

Result

Planet Manhattan.jpg
Planet Texas
Ice Cream