Difference between revisions of "Template:Region"

Template page
m
Line 39: Line 39:
{{#if: {{{templatemode|}}}|<!-- do nothing -->|<!--else-->[[Category:Region]]{{DEFAULTSORT:{{{name}}}}}
{{#if: {{{templatemode|}}}|<!-- do nothing -->|<!--else-->[[Category:Region]]{{DEFAULTSORT:{{{name}}}}}
{{#switch:{{{quadrant|}}}   
{{#switch:{{{quadrant|}}}   
  |alpha
   |Alpha
   |Alpha
   |[[Alpha Quadrant]]
   |[[Alpha Quadrant]]
   |Alpha Quadrant      = [[Category:Alpha Quadrant Astrometrics Database]][[Category:Alpha Quadrant]]
   |Alpha Quadrant      = [[Category:Alpha Quadrant Astrometrics Database]][[Category:Alpha Quadrant]]
  |beta
   |Beta
   |Beta
   |[[Beta Quadrant]]
   |[[Beta Quadrant]]
   |Beta Quadrant      = [[Category:Beta Quadrant Astrometrics Database]][[Category:Beta Quadrant]]
   |Beta Quadrant      = [[Category:Beta Quadrant Astrometrics Database]][[Category:Beta Quadrant]]
  |gamma
   |Gamma
   |Gamma
   |[[Gamma Quadrant]]
   |[[Gamma Quadrant]]
   |Gamma Quadrant      = [[Category:Gamma Quadrant Astrometrics Database]][[Category:Gamma Quadrant]]
   |Gamma Quadrant      = [[Category:Gamma Quadrant Astrometrics Database]][[Category:Gamma Quadrant]]
  |delta
   |Delta
   |Delta
   |[[Delta Quadrant]]
   |[[Delta Quadrant]]

Revision as of 02:12, 13 June 2022

{{{name}}}
Points of interest
Template:Region

Region

Template for the Region infobox. Code to invoke below.

{{Region
| name = 
| image = 
| major powers = The big boys on the block
| minor powers = Maybe just for the significant next step down?
| important places = Those places that Trip Advisor says you just have to go to!
| quadrant = Which quadrant is this in? Won't display but used for category purposes. Consult a map to ensure correct value.
}}

Example

Kickass Expanse
Powers
Major powers

Starbase Kickass

Minor powers

Noise Control

Points of interest
Places
  • Starbase Kickass
  • Noise Control's base
Template:Region


The below code invokes the infobox to the right as an example.

{{Region
| name = Kickass Expanse
| image = 
| major powers = Starbase Kickass
| minor powers = Noise Control
| important places = *Starbase Kickass
*Noise Control's base
| quadrant = Alpha
}}