| This wiki is closed in favour of the new wiki. Information shown is likely to be very out of date. |
Difference between revisions of "Template:Base Infobox"
From Discovery Wiki
Jump to navigationJump to searchm (Added a line break in the template code) |
(try this) |
||
| (14 intermediate revisions by 4 users not shown) | |||
| Line 5: | Line 5: | ||
|- | |- | ||
| colspan="2" style="text-align: center; font-size: 12px; line-height: 18px;"| {{#if: {{{class|}}} | {{#switch: {{{type}}} | | colspan="2" style="text-align: center; font-size: 12px; line-height: 18px;"| {{#if: {{{class|}}} | {{#switch: {{{type}}} | ||
| − | | ASTEROID_BASE = ''{{{class}}}'' class | + | | ASTEROID_BASE = ''{{{class}}}'' class Asteroid Base |
| − | | STATION = ''{{{class}}}'' class | + | | STATION = ''{{{class}}}'' class Station |
| − | | SHIPYARD = ''{{{class}}}'' class | + | | SHIPYARD = ''{{{class}}}'' class Shipyard |
| − | | DEPOT = ''{{{class}}}'' class | + | | DEPOT = ''{{{class}}}'' class Depot |
| − | | FREEPORT = ''{{{class}}}'' class | + | | FREEPORT = ''{{{class}}}'' class Freeport |
| − | | BATTLESHIP = ''{{{class}}}'' class | + | | CARRIER = ''{{{class}}}'' class Carrier |
| − | | DESTROYER = ''{{{class}}}'' class | + | | BATTLESHIP = ''{{{class}}}'' class Battleship |
| − | | LINER = ''{{{class}}}'' class | + | | BATTLECRUISER= ''{{{class}}}'' class Battlecruiser |
| − | | PRISON = ''{{{class}}}'' class | + | | DESTROYER = ''{{{class}}}'' class Destroyer |
| + | | LINER = ''{{{class}}}'' class Liner | ||
| + | | PRISON = ''{{{class}}}'' class Prison Station | ||
| + | | WRECK = ''{{{class}}}'' class Wreck | ||
| PLAYER_BASE = Core {{#iferror: {{#expr: {{{class}}}*2}} | | Level}} ''{{{class}}}'' Base | | PLAYER_BASE = Core {{#iferror: {{#expr: {{{class}}}*2}} | | Level}} ''{{{class}}}'' Base | ||
}}|{{#switch: {{{type}}} | }}|{{#switch: {{{type}}} | ||
| ASTEROID_BASE = Asteroid base | | ASTEROID_BASE = Asteroid base | ||
| STATION = Station | | STATION = Station | ||
| + | | SHIPYARD = Shipyard | ||
| DEPOT = Depot | | DEPOT = Depot | ||
| − | |||
| FREEPORT = Freeport | | FREEPORT = Freeport | ||
| + | | CARRIER = Carrier | ||
| + | | BATTLESHIP = Battleship | ||
| + | | BATTLECRUISER = Battlescruiser | ||
| + | | DESTROYER = Destroyer | ||
| LINER = Liner | | LINER = Liner | ||
| − | |||
| − | |||
| PRISON = Prison station | | PRISON = Prison station | ||
| + | | WRECK = Wreck | ||
| PLAYER_BASE = Player Base | | PLAYER_BASE = Player Base | ||
| #default = <span style="color: #990000;">''Unknown''</span> | | #default = <span style="color: #990000;">''Unknown''</span> | ||
}}}}{{#if: {{{class|}}}{{{type|}}} | | <span style="color: #990000;">''Unknown''</span> }} | }}}}{{#if: {{{class|}}}{{{type|}}} | | <span style="color: #990000;">''Unknown''</span> }} | ||
|- | |- | ||
| − | | colspan="2" style="text-align: center; border: 1px solid #202653;"|[[image:{{{image}}} | + | | colspan="2" style="text-align: center; border: 1px solid #202653;"|{{ #if: {{{image|}}}|[[image:{{{image}}}{{!}}center{{!}}250px]]|''Image missing''}} |
|- | |- | ||
| colspan="2" style="text-align: center; font-size: 14px; line-height: 18px; background: #202653; color: #ffffff"| Owner | | colspan="2" style="text-align: center; font-size: 14px; line-height: 18px; background: #202653; color: #ffffff"| Owner | ||
| Line 61: | Line 67: | ||
}} | }} | ||
|- | |- | ||
| − | |class="infobox-data-title" | ''' | + | |class="infobox-data-title" | '''Crew''' |
|style="padding-right: 1em;" | {{#if: {{{population|}}} | |style="padding-right: 1em;" | {{#if: {{{population|}}} | ||
| {{ #ifeq: {{{population}}} | CLASSIFIED | <span style="color: #dd0000;">''CLASSIFIED''</span> | {{formatnum:{{{population}}}}} }} | | {{ #ifeq: {{{population}}} | CLASSIFIED | <span style="color: #dd0000;">''CLASSIFIED''</span> | {{formatnum:{{{population}}}}} }} | ||
| Line 74: | Line 80: | ||
| ASTEROID_BASE = [[Category: Asteroid bases]] | | ASTEROID_BASE = [[Category: Asteroid bases]] | ||
| STATION = [[Category: Stations]] | | STATION = [[Category: Stations]] | ||
| + | | SHIPYARD = [[Category: Shipyards]] | ||
| DEPOT = [[Category: Depots]] | | DEPOT = [[Category: Depots]] | ||
| − | |||
| FREEPORT = [[Category: Freeports]] | | FREEPORT = [[Category: Freeports]] | ||
| − | | BATTLESHIP = [[Category: Stationary | + | | CARRIER = [[Category: Stationary Carriers]] |
| − | | DESTROYER = [[Category: Stationary | + | | BATTLESHIP = [[Category: Stationary Battleships]] |
| − | | LINER = [[Category: Stationary | + | | BATTLECRUISER = [[Category: Stationary Battlecruisers]] |
| − | | PRISON = [[Category: Prison | + | | DESTROYER = [[Category: Stationary Destroyers]] |
| + | | LINER = [[Category: Stationary Liners]] | ||
| + | | PRISON = [[Category: Prison Stations]] | ||
| + | | WRECK = [[Category: Wrecks]] | ||
| PLAYER_BASE = [[Category: Player Bases]] | | PLAYER_BASE = [[Category: Player Bases]] | ||
| − | | #default = [[Category:Uncategorised | + | | #default = [[Category:Uncategorised Bases]] |
}}{{#ifexpr: {{{destroyed|0}}} > 0 | [[Category: Destroyed bases]]}}{{#if: {{{image|}}} | | [[Category: Bases without profile images]]}}<nowiki /></includeonly><noinclude> | }}{{#ifexpr: {{{destroyed|0}}} > 0 | [[Category: Destroyed bases]]}}{{#if: {{{image|}}} | | [[Category: Bases without profile images]]}}<nowiki /></includeonly><noinclude> | ||
--> | --> | ||
| Line 88: | Line 97: | ||
<pre><nowiki>{{Base Infobox | <pre><nowiki>{{Base Infobox | ||
| name = Gas Miner Naha | | name = Gas Miner Naha | ||
| − | | image = | + | | image = Gas Miner Naha.jpg |
| class = Nostromo | | class = Nostromo | ||
| type = STATION | | type = STATION | ||
| Line 102: | Line 111: | ||
* ASTEROID_BASE | * ASTEROID_BASE | ||
* STATION | * STATION | ||
| + | * SHIPYARD | ||
* DEPOT | * DEPOT | ||
| − | |||
* FREEPORT | * FREEPORT | ||
| + | * CARRIER | ||
* BATTLESHIP | * BATTLESHIP | ||
| + | * BATTLECRUISER | ||
* DESTROYER | * DESTROYER | ||
* LINER | * LINER | ||
* PRISON | * PRISON | ||
| + | * WRECK | ||
* PLAYER_BASE | * PLAYER_BASE | ||
==Result== | ==Result== | ||
{{Base Infobox | {{Base Infobox | ||
| name = Gas Miner Naha | | name = Gas Miner Naha | ||
| − | | image = | + | | image = Gas Miner Naha.jpg |
| class = Nostromo | | class = Nostromo | ||
| type = STATION | | type = STATION | ||
Latest revision as of 21:13, 18 February 2020
| Other Templates available to read: |
|
The Basics • Ships • Factions • Bases • Planets • Systems • Commodities |
Usage
{{Base Infobox
| name = Gas Miner Naha
| image = Gas Miner Naha.jpg
| class = Nostromo
| type = STATION
| system = [[Sigma-13]]
| sector = D4
| owner = [[Gas Miners Guild]]
| gravity = Limited
| docking = Yes
| amenities = Limited
| population = 400
}}
Base type can be one of these choices:
- ASTEROID_BASE
- STATION
- SHIPYARD
- DEPOT
- FREEPORT
- CARRIER
- BATTLESHIP
- BATTLECRUISER
- DESTROYER
- LINER
- PRISON
- WRECK
- PLAYER_BASE
Result
| Gas Miner Naha | |
| Nostromo class Station | |
| Owner | |
| Gas Miners Guild | |
| Location | |
| D4, Sigma-13 | |
| Technical Data | |
| Gravity | Limited |
| Docking bays | Yes |
| Amenities | Limited |
| Crew | 400 |