Difference between revisions of "Template:Region"
Template page
(Reworking the Region infobox, providing an example.) |
m |
||
(4 intermediate revisions by the same user not shown) | |||
Line 24: | Line 24: | ||
}} | }} | ||
|- | |- | ||
{{#if: {{{important places| | {{#if: {{{important places|}}}| | ||
{{!}} class="ibheader" colspan="2" {{!}} '''Points of interest''' | {{!}} class="ibheader" colspan="2" {{!}} '''Points of interest''' | ||
}} | }} | ||
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]] | |Alpha Quadrant = [[Category:Alpha Quadrant Astrometrics Database]][[Category:Alpha Quadrant]] | ||
|beta | |||
|Beta | |Beta | ||
|[[Beta Quadrant]] | |[[Beta Quadrant]] | ||
|Beta Quadrant = [[Category:Beta Quadrant Astrometrics Database]] | |Beta Quadrant = [[Category:Beta Quadrant Astrometrics Database]][[Category:Beta Quadrant]] | ||
|gamma | |||
|Gamma | |Gamma | ||
|[[Gamma Quadrant]] | |[[Gamma Quadrant]] | ||
|Gamma Quadrant = [[Category:Gamma Quadrant Astrometrics Database]] | |Gamma Quadrant = [[Category:Gamma Quadrant Astrometrics Database]][[Category:Gamma Quadrant]] | ||
|delta | |||
|Delta | |Delta | ||
|[[Delta Quadrant]] | |[[Delta Quadrant]] | ||
|Delta Quadrant = [[Category:Delta Quadrant Astrometrics Database]] | |Delta Quadrant = [[Category:Delta Quadrant Astrometrics Database]][[Category:Delta Quadrant]] | ||
}} | }} | ||
}} | }} | ||
Line 68: | Line 72: | ||
==Example== | ==Example== | ||
{{Region | {{Region | ||
| name = | | name = Kickass Expanse | ||
| image = | | image = | ||
| major powers = Starbase Kickass | | major powers = Starbase Kickass | ||
Line 80: | Line 84: | ||
<pre> | <pre> | ||
{{Region | {{Region | ||
| name = | | name = Kickass Expanse | ||
| image = | | image = | ||
| major powers = Starbase Kickass | | major powers = Starbase Kickass |
Latest revision as of 02:13, 13 June 2022
{{{name}}} | |
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 |
|
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 }}