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 (Yet more image testing.) |
m (Added a line break in the template code) |
||
Line 1: | Line 1: | ||
− | <noinclude>{{Style Guide navigation}}<!--</noinclude><includeonly>{{#ifeq: {{{type|}}} | PLAYER_BASE | {{#ifeq: {{{destroyed|0}}} | 1 | {{Destroyed Player Base}} | ''{{{disclaimer|This is a player-built and owned base on the Discovery Freelancer RP 24/7 server which may not be found on other servers.}}}''}}}}{{#if: {{{image|}}}||{{Stub|This Article needs a Picture for the '''Base'''. This is an automatically generated message that will disappear when an image is used.}}}}{| class="infobox bordered" style="float: right; margin-left: 1em; margin-bottom: 10px; width: 250px; font-size: 11px; line-height: 14px; border: 1px solid #202653; background: #14193f;" cellpadding="3" | + | <noinclude>{{Style Guide navigation}}<!--</noinclude><includeonly>{{#ifeq: {{{type|}}} | PLAYER_BASE | {{#ifeq: {{{destroyed|0}}} | 1 | {{Destroyed Player Base}} | ''{{{disclaimer|This is a player-built and owned base on the Discovery Freelancer RP 24/7 server which may not be found on other servers.}}}''}}}}{{#if: {{{image|}}}||{{Stub|This Article needs a Picture for the '''Base'''. This is an automatically generated message that will disappear when an image is used.}}}} |
+ | {| class="infobox bordered" style="float: right; margin-left: 1em; margin-bottom: 10px; width: 250px; font-size: 11px; line-height: 14px; border: 1px solid #202653; background: #14193f;" cellpadding="3" | ||
|- | |- | ||
| colspan="2" style="text-align: center; font-size: 16px; line-height: 18px; background: #202653; color: #ffffff"| <b>{{{name}}}</b> | | colspan="2" style="text-align: center; font-size: 16px; line-height: 18px; background: #202653; color: #ffffff"| <b>{{{name}}}</b> | ||
Line 28: | Line 29: | ||
}}}}{{#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;" | + | | colspan="2" style="text-align: center; border: 1px solid #202653;"|[[image:{{{image}}}|center|250px]] |
|- | |- | ||
| 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 42: | 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 09:43, 27 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 | |
Owner | |
Gas Miners Guild | |
Location | |
D4, Sigma-13 | |
Technical Data | |
Gravity | Limited |
Docking bays | Yes |
Amenities | Limited |
Population | 400 |