Difference between revisions of "Template:Planet"

From Terra
Jump to: navigation, search
Line 9: Line 9:
 
{{#ifeq: {{{federation|n}}}|n||[[Category:Federation Worlds]]}}
 
{{#ifeq: {{{federation|n}}}|n||[[Category:Federation Worlds]]}}
 
{{#ifeq: {{{fringe|n}}}|n||[[Category:Celtic Fringe Worlds]]}}
 
{{#ifeq: {{{fringe|n}}}|n||[[Category:Celtic Fringe Worlds]]}}
 +
{{#ifeq: {{{chrome|n}}}|n||[[Category:Chrome Worlds]]}}
 
</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.
Line 25: Line 26:
 
  enterprise=y
 
  enterprise=y
 
  federation=y
 
  federation=y
 +
chrome=y
 
  fringe=y
 
  fringe=y
 
</noinclude>
 
</noinclude>

Revision as of 12:59, 8 March 2009

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:

type=scattered
type=moon
type=unregistered
empire=y
enterprise=y
federation=y
chrome=y
fringe=y