This wiki is closed in favour of the new wiki. Information shown is likely to be very out of date. |
Difference between revisions of "Template:Planet"
From Discovery Wiki
Jump to navigationJump to search (finished i think.) |
|||
Line 1: | Line 1: | ||
+ | <noinclude><!--</noinclude> | ||
<div style="float: left; width: 200px; height: 50px; border: 2px solid #eeeeee; padding: 5px; margin: 5px 5px 0px 0px;"> | <div style="float: left; width: 200px; height: 50px; border: 2px solid #eeeeee; padding: 5px; margin: 5px 5px 0px 0px;"> | ||
<div style="float: left; width: 50px; height: 50px; margin-right: 6px; background: #f5f5f5; text-align: center; font: 9px/48px Tahoma;">{{#if: {{{3|}}} | [[Image:{{{3}}}|left|50px]] | [[Image:{{{1}}}.jpg|left|50px]]}}</div> | <div style="float: left; width: 50px; height: 50px; margin-right: 6px; background: #f5f5f5; text-align: center; font: 9px/48px Tahoma;">{{#if: {{{3|}}} | [[Image:{{{3}}}|left|50px]] | [[Image:{{{1}}}.jpg|left|50px]]}}</div> | ||
Line 5: | Line 6: | ||
<div style="clear: left;"></div> | <div style="clear: left;"></div> | ||
</div> | </div> | ||
+ | <noinclude> | ||
+ | --> | ||
+ | |||
+ | |||
+ | ==Usage== | ||
+ | This template allows you to specify an image if necessary. Use the third parameter to input a picture manually. | ||
+ | <pre>{{Planet|Manhattan|inhabited|}} | ||
+ | {{Planet|Manhattan|inhabited|Crete.JPG}}</pre> | ||
+ | |||
+ | ==Result== | ||
+ | {{Planet|Manhattan|inhabited|}} | ||
+ | {{Planet|Manhattan|inhabited|Crete.JPG}} | ||
+ | |||
+ | [[Category:Templates]] | ||
+ | </noinclude> |
Revision as of 01:23, 9 July 2009
Usage
This template allows you to specify an image if necessary. Use the third parameter to input a picture manually.
{{Planet|Manhattan|inhabited|}} {{Planet|Manhattan|inhabited|Crete.JPG}}
Result