Difference between revisions of "Template:Planet"

From Terra
Jump to: navigation, search
Line 8: Line 8:
 
{{#ifeq: {{{empire|n}}}|n||[[Category:Imperial Worlds]]}}
 
{{#ifeq: {{{empire|n}}}|n||[[Category:Imperial Worlds]]}}
 
{{#ifeq: {{{federation|n}}}|n||[[Category:Federation Worlds]]}}
 
{{#ifeq: {{{federation|n}}}|n||[[Category:Federation Worlds]]}}
 +
{{#ifeq: {{{fringe|n}}}|n||[[Category:Celtic Fringe 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 22: Line 23:
 
  type=unregistered
 
  type=unregistered
 
  empire=y
 
  empire=y
 +
enterprise=y
 
  federation=y
 
  federation=y
  enterprise=y
+
  fringe=y
 
</noinclude>
 
</noinclude>

Revision as of 14:54, 11 May 2008

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
fringe=y