Difference between revisions of "Template:System"

From Discovery Wiki
Jump to navigationJump to search
m (grammar and format)
(Switching navmap query string format to {{urlencode:{{PAGENAME}}|PATH}})
 
(84 intermediate revisions by 21 users not shown)
Line 1: Line 1:
<noinclude><!--</noinclude>
+
<noinclude>{{Style Guide navigation}}<!--</noinclude>
{| class="infobox bordered" style="float: right; margin-left: 1em; margin-bottom: 10px; width: 300px; border: 1px solid #dddddd;" cellpadding="3"
+
<includeonly>
|-
+
{{notice|1=A lot of these system pages are outdated, [http://space.discoverygc.com/navmap/#q={{urlencode:{{PAGENAME}}|PATH}} Space's nav map] may be better.}}
| colspan="2" style="text-align: center; font-size: larger; background: #f6f6f6;"|'''{{{systemname}}}'''
+
{{#if: {{{image|}}}
|-
+
| [[image:{{{image}}}|thumb|right|244px|{{PAGENAME}} System]]
| colspan="2" style="padding: 4px; text-align: center;"|{{#if: {{{image|}}}
+
| <div style="float: right; width: 244px; height: 184px; text-align: center; font-size: 14px; background: transparent; ">''No image'' <br>{{PAGENAME}} System</div> [[Category:Systems without profile images]] {{Stub|This Article needs a Picture for the system. This is an automatically generated message that will disappear when an image is used.}}
| [[image:{{{image}}}|center|250px]]
 
| ''No image''
 
 
}}
 
}}
|-
+
<div style="float: left; padding: 4px 8px 8px 0px; max-width: 180px; font-size: 85%;">__TOC__</div>
|style="vertical-align: top; width: 30%; background: #f6f6f6;" | '''Region'''
+
{{#if: {{{description|}}}
|style="padding-right: 1em;" | {{#if: {{{region|}}} | {{{region}}} | ''unknown''}}
+
| {{{description}}}
|-
+
| ''No current description'' [[Category:Systems without descriptions]] {{Stub|This Article needs a Description for the system. This is an automatically generated message that will disappear when an description is written. All that might be needed is move the Synopsis to the description field. Visit [[:Template:System]] to see the required fields.}}
|style="vertical-align: top; background: #f6f6f6;" | '''Owner'''
+
}}
|style="padding-right: 1em;" | {{#if: {{{owner|}}} | {{{owner}}} | ''unknown''}}
+
{{Clear}}
|-
+
==System Navmaps==
|style="vertical-align: top; background: #f6f6f6;" | '''Settled Planets'''
+
{{Navmap|{{urlencode:{{PAGENAME}}|WIKI}}}}
|style="padding-right: 1em;" |
+
==System Overview==
{{#if: {{{settledplanets|}}} | {{{settledplanets}}} | ''None''}}
+
{| style="width: 100%;"
|-
+
| style="width: 33%; vertical-align: top; border-right: 1px dotted #999999; padding: .5em 1em; margin: 1em;" |
|style="vertical-align: top; background: #f6f6f6;" | '''Stations'''
+
<div style="font-weight: bold; font-size: 17px; border-bottom: 1px solid #aaaaaa; margin: 5px 0px 5px 0px;">Local factions</div>
|style="padding-right: 1em;" |
+
<div style="font-weight: bold; font-size: 15px; padding: 7px 0px 7px 0px;">Lawful</div>
{{#if: {{{stations|}}} | {{{stations}}} | ''None''}}
+
{{#if: {{{lawfulnpcs|}}} | {{{lawfulnpcs}}} | ''None known''}}
|-
+
<div style="font-weight: bold; font-size: 15px; padding: 7px 0px 7px 0px;">Semi-Lawful</div>
|style="vertical-align: top; background: #f6f6f6;" | '''Unsettled Planets'''
+
{{#if: {{{semi-lawfulnpcs|}}} | {{{semi-lawfulnpcs}}} | ''None known''}}
|style="padding-right: 1em;" |
+
<div style="font-weight: bold; font-size: 15px; padding: 7px 0px 7px 0px;">Unlawful</div>
{{#if: {{{unsettledplanets|}}} | {{{unsettledplanets}}} | ''None''}}
+
{{#if: {{{unlawfulnpcs|}}} | {{{unlawfulnpcs}}} | ''None known''}}
|-
+
 
|style="vertical-align: top; background: #f6f6f6;" | '''Lawful and Neutral Factions'''
+
{{#if: {{{AltStation|}}} |
|style="padding-right: 1em;" |
+
 
{{#if: {{{lawfulnpcs|}}} | {{{lawfulnpcs}}} | ''None''}}
+
{{System page component 1|planets={{#if: {{{planets|}}} | {{{planets}}} | ''None''}}|stations={{#if: {{{stations|}}} | {{{stations}}} | ''None known''}}}}
|-
+
 
|style="vertical-align: top; background: #f6f6f6;" | '''Unlawful and Semi-Legal Factions'''
+
|
|style="padding-right: 1em;" |
+
 
{{#if: {{{unlawfulnpcs|}}} | {{{unlawfulnpcs}}} | ''None''}}
+
{{System page component 2|planets={{#if: {{{planets|}}} | {{{planets}}} | ''None''}}|stations={{#if: {{{stations|}}} | {{{stations}}} | ''None known''}}}}
|-
+
 
|style="vertical-align: top; background: #f6f6f6;" | '''Commodities'''
+
}}
|style="padding-right: 1em;" |
+
 
{{#if: {{{commodities|}}} | {{{commodities}}} | ''None''}}
+
| style="width: 33%; vertical-align: top; padding: .5em 1em; margin: 1em;" |
|-
+
<div style="font-weight: bold; font-size: 17px; border-bottom: 1px solid #aaaaaa; margin: 5px 0px 5px 0px;">Commodities</div>
|style="vertical-align: top; background: #f6f6f6;" | '''Mineable Commodities'''
+
<div style="font-weight: bold; font-size: 15px; padding: 7px 0px 7px 0px;">Produced</div>
|style="padding-right: 1em;" |
+
{{#if: {{{commodities|}}} | {{{commodities}}} | ''None known''}}
{{#if: {{{mineable|}}} | {{{mineable}}} | ''None''}}
+
 
 +
<div style="font-weight: bold; font-size: 15px; padding: 7px 0px 7px 0px;">Mineable</div>
 +
{{#if: {{{mineable|}}} | {{{mineable}}} | ''None known''}}
 +
<br>
 
|}
 
|}
 +
[[Category:Systems]]
 +
</includeonly>
 
<noinclude>
 
<noinclude>
 
-->
 
-->
==Usage==
+
=Usage=
<pre><nowiki>
+
This template allows you to make the System look very nice. (Thanks to Blodo and Tazuras and Chovynz and some other wiki editors.) <br>
{{System_Infobox
+
'''To see a System Example Page ''see: [[Burgundy]]'''''
|systemname =
+
 
 +
*The ''table of contents'' is automatically generated on the left.
 +
*The ''system description or Synopsis'' must be put into the  ''<nowiki>|description = </nowiki>'' field.
 +
*The ''caption'' underneath the system image is automatically determined by the System article name. It will be PAGENAME + "System". 
 +
*Additionally this template makes use of the planet template.  Please visit the [[Template:Planet|Planet template]] page to understand it's functionality.
 +
*The AltStation variable allows the stations section to be moved to the 2nd Column.  It should be used to minimize blank space at the bottom of shorter columns.  To use it set it equal to 1.
 +
*The "[[:Category:Systems|''systems category'']]" will be automatically added to any systems that use this template.
 +
*It will also deal with any systems that do not currently have an image, ''e.g. [[Texas]]''.  "[[:Category:Systems without profile images|No-image systems]]" will have an additional category to the normal 
 +
<pre>{{System
 
|image =  
 
|image =  
|region =  
+
|description =  
|owner =  
+
|planets =  
|settledplanets =
+
{{Planet|Name|Text|OptionalImage}}
 
|stations =
 
|stations =
|unsettledplanets =
+
|AltStation =
 
|lawfulnpcs =
 
|lawfulnpcs =
 +
|semi-lawfulnpcs =
 
|unlawfulnpcs =
 
|unlawfulnpcs =
|commodities =
+
|commodities =  
|mineable =
+
|mineable =  
 
}}
 
}}
</nowiki></pre>
+
</pre>
  
==Example==
+
=Example=
{{System_Infobox
+
<pre>{{System
|systemname = New York
+
|description = The [[New York]] system is the capital system of the [[Liberty]] space. Due to...
|image = manhattan.jpg
+
|image = newyorksystem.jpg
|region = [[Liberty]]
+
|planets =
|owner = [[Liberty Republic]]
+
{{Planet|Manhattan|inhabited}}
|settledplanets =
+
|AltStation = 1
*[[Planet Manhattan]]
 
*[[Planet Pittsburgh]]
 
|stations =
 
*[[Planet Manhattan]]
 
*[[Planet Pittsburgh]]
 
|unsettledplanets = *[[Maine]]
 
 
|lawfulnpcs =
 
|lawfulnpcs =
*[[Liberty Navy]]
 
*[[Liberty Police Incorporated]]
 
*[[Detroit Munitions]]
 
 
*[[Ageira Technologies]]
 
*[[Ageira Technologies]]
 +
*[[Deep Space Engineering]]
 
*[[Interspace Commerce]]
 
*[[Interspace Commerce]]
 +
*[[Liberty Police Incorporated|Liberty Police, Inc]]
 
*[[Universal Shipping]]
 
*[[Universal Shipping]]
*[[Deep Space Engineering]]
+
*[[Liberty Navy]]
 +
*[[Liberty Security Force]]
 +
|semi-lawfulnpcs =
 +
*[[Junkers]]
 
|unlawfulnpcs =
 
|unlawfulnpcs =
*[[Junkers]]
 
 
*[[Liberty Rogues]]
 
*[[Liberty Rogues]]
*[[Lane Hackers]]
 
 
*[[Outcasts]]
 
*[[Outcasts]]
 
*[[Xenos]]
 
*[[Xenos]]
 +
*[[Lane Hackers]]
 
|commodities =
 
|commodities =
 +
*[[Boron]]
 +
*[[Consumer Goods]]
 +
*[[Counterfeit Software]]
 +
*[[Food Rations]]
 +
*[[H-Fuel]]
 +
*[[Luxury Consumer Goods]]
 +
*[[Oxygen]]
 +
*[[Passengers]]
 +
*[[Pharmaceuticals]]
 +
*[[Prisoners]]
 +
*[[Light Arms]]
 +
*[[Sirius Credit Cards]]
 +
*[[Spaceship Crew]]
 +
*[[Toxic Waste]]
 +
*[[VIPs]]
 +
*[[Water]]
 
|mineable =
 
|mineable =
 +
*[[Scrap Metal]]
 
}}
 
}}
<pre><nowiki>
+
</pre>
{{System_Infobox
+
==Result==
|systemname = New York
+
{{System
|image = manhattan.jpg
+
|description = The [[New York]] system is the capital system of the [[Liberty]] space. Due to...
|region = [[Liberty]]
+
|image = newyorksystem.jpg
|owner = [[Liberty Republic]]
+
|planets =
|settledplanets =
+
{{Planet|Manhattan|inhabited}}
*[[Planet Manhattan]]
+
|AltStation = 1
*[[Planet Pittsburgh]]
 
|stations =
 
*[[Planet Manhattan]]
 
*[[Planet Pittsburgh]]
 
|unsettledplanets = *[[Maine]]
 
 
|lawfulnpcs =
 
|lawfulnpcs =
*[[Liberty Navy]]
 
*[[Liberty Police Incorporated]]
 
*[[Detroit Munitions]]
 
 
*[[Ageira Technologies]]
 
*[[Ageira Technologies]]
 +
*[[Deep Space Engineering]]
 
*[[Interspace Commerce]]
 
*[[Interspace Commerce]]
 +
*[[Liberty Police Incorporated|Liberty Police, Inc]]
 
*[[Universal Shipping]]
 
*[[Universal Shipping]]
*[[Deep Space Engineering]]
+
*[[Liberty Navy]]
 +
*[[Liberty Security Force]]
 +
|semi-lawfulnpcs =
 +
*[[Junkers]]
 
|unlawfulnpcs =
 
|unlawfulnpcs =
*[[Junkers]]
 
 
*[[Liberty Rogues]]
 
*[[Liberty Rogues]]
*[[Lane Hackers]]
 
 
*[[Outcasts]]
 
*[[Outcasts]]
 
*[[Xenos]]
 
*[[Xenos]]
 +
*[[Lane Hackers]]
 
|commodities =
 
|commodities =
 +
*[[Boron]]
 +
*[[Consumer Goods]]
 +
*[[Counterfeit Software]]
 +
*[[Food Rations]]
 +
*[[H-Fuel]]
 +
*[[Luxury Consumer Goods]]
 +
*[[Oxygen]]
 +
*[[Passengers]]
 +
*[[Pharmaceuticals]]
 +
*[[Prisoners]]
 +
*[[Light Arms]]
 +
*[[Sirius Credit Cards]]
 +
*[[Spaceship Crew]]
 +
*[[Toxic Waste]]
 +
*[[VIPs]]
 +
*[[Water]]
 
|mineable =
 
|mineable =
 +
*[[Scrap Metal]]
 
}}
 
}}
</nowiki></pre>
 
 
 
[[Category:Templates]]
 
[[Category:Templates]]
 
</noinclude>
 
</noinclude>

Latest revision as of 06:46, 25 April 2017

Other Templates available to read:

The Basics  • Ships  • Factions  • Bases  • Planets  • Systems  • Commodities


Usage

This template allows you to make the System look very nice. (Thanks to Blodo and Tazuras and Chovynz and some other wiki editors.)
To see a System Example Page see: Burgundy

  • The table of contents is automatically generated on the left.
  • The system description or Synopsis must be put into the |description = field.
  • The caption underneath the system image is automatically determined by the System article name. It will be PAGENAME + "System".
  • Additionally this template makes use of the planet template. Please visit the Planet template page to understand it's functionality.
  • The AltStation variable allows the stations section to be moved to the 2nd Column. It should be used to minimize blank space at the bottom of shorter columns. To use it set it equal to 1.
  • The "systems category" will be automatically added to any systems that use this template.
  • It will also deal with any systems that do not currently have an image, e.g. Texas. "No-image systems" will have an additional category to the normal
{{System
|image = 
|description = 
|planets = 
{{Planet|Name|Text|OptionalImage}}
|stations =
|AltStation =
|lawfulnpcs =
|semi-lawfulnpcs =
|unlawfulnpcs =
|commodities = 
|mineable = 
}}

Example

{{System
|description = The [[New York]] system is the capital system of the [[Liberty]] space. Due to...
|image = newyorksystem.jpg
|planets =
{{Planet|Manhattan|inhabited}}
|AltStation = 1
|lawfulnpcs =
*[[Ageira Technologies]]
*[[Deep Space Engineering]]
*[[Interspace Commerce]]
*[[Liberty Police Incorporated|Liberty Police, Inc]]
*[[Universal Shipping]]
*[[Liberty Navy]]
*[[Liberty Security Force]]
|semi-lawfulnpcs =
*[[Junkers]]
|unlawfulnpcs =
*[[Liberty Rogues]]
*[[Outcasts]]
*[[Xenos]]
*[[Lane Hackers]]
|commodities =
*[[Boron]]
*[[Consumer Goods]]
*[[Counterfeit Software]]
*[[Food Rations]]
*[[H-Fuel]]
*[[Luxury Consumer Goods]]
*[[Oxygen]]
*[[Passengers]]
*[[Pharmaceuticals]]
*[[Prisoners]]
*[[Light Arms]]
*[[Sirius Credit Cards]]
*[[Spaceship Crew]]
*[[Toxic Waste]]
*[[VIPs]]
*[[Water]]
|mineable =
*[[Scrap Metal]]
}}

Result

BlueWarningTriangle.png A lot of these system pages are outdated, Space's nav map may be better.
System System

The New York system is the capital system of the Liberty space. Due to...

System Navmaps

System Overview

Local factions
Lawful
Semi-Lawful
Unlawful
Planets
No image
Manhattan
inhabited
Stations

None known

Commodities
Produced
Mineable