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 (That fix was a tiny bit too lazy, and I accidentally hit enter in the middle of my previous revision. Probably fixed. Just gotta find a better placeholder image.) |
m (Readding code cleanup and testing from lost "Testæ" revision.) |
||
Line 28: | Line 28: | ||
}}}}{{#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;"|{{#if: {{{image|}}} | + | | colspan="2" style="text-align: center; border: 1px solid #202653;" |
− | | [[image:{{{image}}}|center| | + | | {{#if: {{{image|}}}|[[image:{{{image}}}|center|254px]]|[[image:Noimage_test.jpg|center|254px]]}} |
− | | [[image:Noimage_test.jpg|center| | ||
− | }} | ||
|- | |- | ||
| 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 45: | Line 43: | ||
| colspan="2" style="text-align: center; font-size: 14px; line-height: 18px; background: #202653; color: #ffffff"| Technical Data | | colspan="2" style="text-align: center; font-size: 14px; line-height: 18px; background: #202653; color: #ffffff"| Technical Data | ||
|- | |- | ||
− | |class="infobox-data-title" | '''Gravity''' | + | | class="infobox-data-title" | '''Gravity''' |
− | |style="padding-right: 1em;" | {{#if: {{{gravity|}}} | + | | style="padding-right: 1em;" | {{#if: {{{gravity|}}} |
| {{ #ifeq: {{{gravity}}} | CLASSIFIED | <span style="color: #dd0000;">''CLASSIFIED''</span> | {{{gravity}}} }} | | {{ #ifeq: {{{gravity}}} | CLASSIFIED | <span style="color: #dd0000;">''CLASSIFIED''</span> | {{{gravity}}} }} | ||
| ''unknown'' | | ''unknown'' | ||
}} | }} | ||
|- | |- | ||
− | |class="infobox-data-title" | '''Docking bays''' | + | | class="infobox-data-title" | '''Docking bays''' |
− | |style="padding-right: 1em;" | {{#if: {{{docking|}}} | + | | style="padding-right: 1em;" | {{#if: {{{docking|}}} |
| {{ #ifeq: {{{docking}}} | CLASSIFIED | <span style="color: #dd0000;">''CLASSIFIED''</span> | {{{docking}}} }} | | {{ #ifeq: {{{docking}}} | CLASSIFIED | <span style="color: #dd0000;">''CLASSIFIED''</span> | {{{docking}}} }} | ||
| ''unknown'' | | ''unknown'' | ||
}} | }} | ||
|- | |- | ||
− | |class="infobox-data-title" | '''Amenities''' | + | | class="infobox-data-title" | '''Amenities''' |
− | |style="padding-right: 1em;" | {{#if: {{{amenities|}}} | + | | style="padding-right: 1em;" | {{#if: {{{amenities|}}} |
| {{ #ifeq: {{{amenities}}} | CLASSIFIED | <span style="color: #dd0000;">''CLASSIFIED''</span> | {{{amenities}}} }} | | {{ #ifeq: {{{amenities}}} | CLASSIFIED | <span style="color: #dd0000;">''CLASSIFIED''</span> | {{{amenities}}} }} | ||
| ''unknown'' | | ''unknown'' | ||
}} | }} | ||
|- | |- | ||
− | |class="infobox-data-title" | '''Population''' | + | | class="infobox-data-title" | '''Population''' |
− | |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}}}}} }} | ||
| ''unknown'' | | ''unknown'' |
Revision as of 13:02, 26 April 2015
Other Templates available to read: |
The Basics • Ships • Factions • Bases • Planets • Systems • Commodities |
Usage
{{Base Infobox | name = Gas Miner Naha | image = 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
- DEPOT
- SHIPYARD
- FREEPORT
- BATTLESHIP
- DESTROYER
- LINER
- PRISON
- PLAYER_BASE
Result
Gas Miner Naha | |
Nostromo class station | |
colspan="2" style="text-align: center; border: 1px solid #202653;" | |
Owner | |
Gas Miners Guild | |
Location | |
D4, Sigma-13 | |
Technical Data | |
Gravity | Limited |
Docking bays | Yes |
Amenities | Limited |
Population | 400 |