Template:Sector: Difference between revisions

From 118Wiki
Jump to navigation Jump to search
m (fixed colour)
(Transformed to Template:Infobox Wiki, allowing hiding empty fields & other properties. Added demonstration.)
Line 1: Line 1:
{| class="toccolours" style="clear:left; float:right; margin:0 0 0.5em 1em; width:22em; font-size:smaller;"
<includeonly>{{Infobox Wiki
|-
|image={{#if:{{{image|}}}|[[File:{{{image|}}}|{{{image size|210px}}}]]}}|image text={{{image text|}}}|header color=#104E8B|header text color=white|name={{{name|{{PAGENAME}}}}}}}
|colspan=2 style="text-align:center;" | {{{image}}}
{{Infobox row|type=subheader|color=#bcd|Astrological}}
|-
{{Infobox row|title=Region| {{{region|}}}}}
!colspan=2 bgcolor="#104E8B" style="color:#fff; font-size:larger;" |{{PAGENAME}}
{{Infobox row|title=Systems| {{{systems|}}}}}
|-
{{Infobox row|title=Other planets| {{{otherplanets|}}}}}
! colspan=2 style="text-align:left; font-weight:normal; background:#bcd;" | Astrological
{{Infobox row|title=Space stations| {{{stations|}}}}}
|- style="vertical-align:top;"
{{Infobox row|title=Asteroids| {{{asteroids|}}}}}
| Region  
{{Infobox row|title=Comets| {{{comets|}}}}}
| {{{region}}}
{{Infobox row|title=Nebulae| {{{nebulae|}}}}}
|- style="vertical-align:top; background:#f0f0f0;"
{{Infobox row|title=Other objects| {{{other|}}}}}
| Systems
{{Infobox row|title=Trade routes| {{{routes|}}}}}
| {{{systems}}}
{{Infobox row|type=subheader|color=#bcd|Societal}}
|- style="vertical-align:top;"
{{Infobox row|title=Native species| {{{species|}}}}}
| Other planets
{{Infobox row|title=Sector capital| {{{capital|}}}}}
| {{{otherplanets}}}
{{Infobox row|title=Affiliation| {{{affiliation|}}}}}
|- style="vertical-align:top; background:#f0f0f0;"
{{Infobox row|type=subheader|color=#bcd|Sector battles}}
| Space stations
{{Infobox row|title=Notable Battles| {{{battles|}}}}}
| {{{stations}}}
{{End Table}}
|- style="vertical-align:top;"
| Asteroids
| {{{asteroids}}}
|- style="vertical-align:top; background:#f0f0f0;"
| Comets
| {{{comets}}}
|- style="vertical-align:top;"
| Nebulae
| {{{nebulae}}}
|- style="vertical-align:top; background:#f0f0f0;"
| Other objects
| {{{other}}}
|- style="vertical-align:top;"
| Trade routes
| {{{routes}}}
|-
! colspan=2 style="text-align:left; font-weight:normal; background:#bcd;" | '''Societal'''
|- style="vertical-align:top; background:#f0f0f0;"
| Native species
| {{{species}}}
|- style="vertical-align:top;"
| Sector capital
| {{{capital}}}
|- style="vertical-align:top; background:#f0f0f0;"
| Affiliation
| {{{affiliation}}}
|-
! colspan=2 style="text-align:left; font-weight:normal; background:#bcd;" | '''Sector battles'''
|- style="vertical-align:top; background:#f0f0f0;"
| Notable Battles
| {{{battles}}}
|}
[[Category:Sectors]]
[[Category:Sectors]]
<noinclude>
</includeonly><noinclude>
{{sector
|image={{{image}}}
|region={{{region}}}
|systems={{{systems}}}
|otherplanets={{{{otherplanets}}}
|stations={{{stations}}}
|asteroids={{{asteroids}}}
|comets={{{comets}}}
|nebulae={{{nebulae}}}
|other={{{other}}}
|routes={{{routes}}}
|species={{{species}}}
|capital={{{capital}}}
|affiliation={{{affiliation}}}
|battles={{{battles}}}
}}
==Usage instructions==
==Usage instructions==
Copy and paste the following code into the top of the article, filling the appropriate fields.
Copy and paste the following code into the top of the article, filling the appropriate fields.

Revision as of 13:12, 23 November 2023


[[File:{{{image}}}|210px]]
Sector
Astrological
Region {{{region}}}
Systems {{{systems}}}
Other planets {{{{otherplanets}}}
Space stations {{{stations}}}
Asteroids {{{asteroids}}}
Comets {{{comets}}}
Nebulae {{{nebulae}}}
Other objects {{{other}}}
Trade routes {{{routes}}}
Societal
Native species {{{species}}}
Sector capital {{{capital}}}
Affiliation {{{affiliation}}}
Sector battles
Notable Battles {{{battles}}}

Usage instructions

Copy and paste the following code into the top of the article, filling the appropriate fields.

{{sector
|image=
|region=
|systems=
|otherplanets=
|stations=
|asteroids=
|comets=
|nebulae=
|other=
|routes=
|species=
|capital=
|affiliation=
|battles=
}}