Difference between revisions of "Template:Planet"
m |
|||
| Line 1: | Line 1: | ||
<includeonly> | <includeonly> | ||
| + | ==Subpages== | ||
| + | <subpages showpath="notparent" mode="unordered" deepness="1"> | ||
[[Category: Planets]] | [[Category: Planets]] | ||
{{#if: {{{class|}}}|[[Category: Class {{{class}}} planets]]|}} | {{#if: {{{class|}}}|[[Category: Class {{{class}}} planets]]|}} | ||
| Line 17: | Line 19: | ||
{{#ifeq: {{{transit|n}}}|n||[[Category: Known discontinuous transit routes]]}} | {{#ifeq: {{{transit|n}}}|n||[[Category: Known discontinuous transit routes]]}} | ||
| − | |||
| − | |||
</includeonly> | </includeonly> | ||
<noinclude>This template adds the current page to the 'planets' category, and also does some other magic. At some time in the future, it might be nice to add an infobox. | <noinclude>This template adds the current page to the 'planets' category, and also does some other magic. At some time in the future, it might be nice to add an infobox. | ||
Revision as of 21:50, 26 April 2010
This template adds the current page to the 'planets' category, and also does some other magic. At some time in the future, it might be nice to add an infobox.
To use this template, include the following text on the planet page:
{{planet}}
You may also specify the class of the planet by using something like:
{{planet|class=2}}
The following are more useful arguments you can add:
code=WTF type=scattered type=secondary type=moon type=unregistered empire=y enterprise=y federation=y chrome=y democrats=y fringe=y transit=y