Difference between revisions of "Template:Region"
Template page
m |
m (Updating to the PI standard) |
||
Line 1: | Line 1: | ||
<includeonly> | <includeonly> | ||
<infobox theme="bravo"> | |||
<title source="name"> | |||
<default>{{PAGENAME}}</default><format>'''''{{{name|}}}'''''</format> | |||
</title> | |||
<image source="image"/> | |||
<header>Powers</header> | |||
<data source="major powers"><label>Major powers</label></data> | |||
<data source="minor powers"><label>Minor powers</label></data> | |||
<header>Points of Interest</header> | |||
<data source="important places"><label>Places</label></data> | |||
<header name="footer">[[Template:Region]]</header> | |||
</infobox> | |||
{{#if: {{{templatemode|}}}|<!-- do nothing -->|<!--else-->[[Category:Region]]{{DEFAULTSORT:{{{name}}}}} | {{#if: {{{templatemode|}}}|<!-- do nothing -->|<!--else-->[[Category:Region]]{{DEFAULTSORT:{{{name}}}}} | ||
{{#switch:{{{quadrant|}}} | {{#switch:{{{quadrant|}}} | ||
Line 57: | Line 32: | ||
}} | }} | ||
}} | }} | ||
</includeonly><noinclude> | </includeonly> | ||
<noinclude> | |||
==Region== | ==Region== | ||
Template for the Region infobox. Code to invoke below. | Template for the Region infobox. Code to invoke below. | ||
Line 92: | Line 68: | ||
| quadrant = Alpha | | quadrant = Alpha | ||
}}</pre> | }}</pre> | ||
{{clear}} | |||
[[Category:Infobox Templates]] | [[Category:Infobox Templates]] | ||
</noinclude> | </noinclude> |
Revision as of 04:36, 28 May 2024
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
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 }}