Difference between revisions of "Template:System"

From Discovery Wiki
Jump to navigationJump to search
(Undo revision 18660 by Skatepro0 (Talk) The Template Guide is only for TEMPLATE pages. Not to be included into the template)
(Switching navmap query string format to {{urlencode:{{PAGENAME}}|PATH}})
 
(54 intermediate revisions by 18 users not shown)
Line 1: Line 1:
<noinclude><!--</noinclude>
+
<noinclude>{{Style Guide navigation}}<!--</noinclude>
 +
<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.}}
 
{{#if: {{{image|}}}
 
{{#if: {{{image|}}}
| [[image:{{{image}}}|thumb|right|244px|{{PAGENAME}} System]] [[Category:Systems]]
+
| [[image:{{{image}}}|thumb|right|244px|{{PAGENAME}} System]]
| <div style="float: right; width: 244px; height: 184px; text-align: center; font-size: 14px; background: #f6f6f6; ">''No image'' <br>{{PAGENAME}} System</div> [[Category:Systems without profile images]] [[Category:Systems]]
+
| <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.}}
 
}}
 
}}
 
<div style="float: left; padding: 4px 8px 8px 0px; max-width: 180px; font-size: 85%;">__TOC__</div>
 
<div style="float: left; padding: 4px 8px 8px 0px; max-width: 180px; font-size: 85%;">__TOC__</div>
{{{description}}}
+
{{#if: {{{description|}}}
{{clear}}
+
| {{{description}}}
=System Overview=
+
| ''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.}}
 +
}}
 +
{{Clear}}
 +
==System Navmaps==
 +
{{Navmap|{{urlencode:{{PAGENAME}}|WIKI}}}}
 +
==System Overview==
 
{| style="width: 100%;"
 
{| style="width: 100%;"
 
| style="width: 33%; vertical-align: top; border-right: 1px dotted #999999; padding: .5em 1em; margin: 1em;" |
 
| style="width: 33%; vertical-align: top; border-right: 1px dotted #999999; padding: .5em 1em; margin: 1em;" |
Line 17: Line 24:
 
<div style="font-weight: bold; font-size: 15px; padding: 7px 0px 7px 0px;">Unlawful</div>
 
<div style="font-weight: bold; font-size: 15px; padding: 7px 0px 7px 0px;">Unlawful</div>
 
{{#if: {{{unlawfulnpcs|}}} | {{{unlawfulnpcs}}} | ''None known''}}
 
{{#if: {{{unlawfulnpcs|}}} | {{{unlawfulnpcs}}} | ''None known''}}
 
  
 
{{#if: {{{AltStation|}}} |
 
{{#if: {{{AltStation|}}} |
  
{{SystemPageComponent1|planets={{#if: {{{planets|}}} | {{{planets}}} | ''None''}}|stations={{#if: {{{stations|}}} | {{{stations}}} | ''None known''}}}}
+
{{System page component 1|planets={{#if: {{{planets|}}} | {{{planets}}} | ''None''}}|stations={{#if: {{{stations|}}} | {{{stations}}} | ''None known''}}}}
  
 
|
 
|
  
{{SystemPageComponent2|planets={{#if: {{{planets|}}} | {{{planets}}} | ''None''}}|stations={{#if: {{{stations|}}} | {{{stations}}} | ''None known''}}}}
+
{{System page component 2|planets={{#if: {{{planets|}}} | {{{planets}}} | ''None''}}|stations={{#if: {{{stations|}}} | {{{stations}}} | ''None known''}}}}
  
 
}}
 
}}
Line 31: Line 37:
 
| style="width: 33%; vertical-align: top; padding: .5em 1em; margin: 1em;" |
 
| 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>
 
<div style="font-weight: bold; font-size: 17px; border-bottom: 1px solid #aaaaaa; margin: 5px 0px 5px 0px;">Commodities</div>
<ul style="list-style-position: inside;">
+
<div style="font-weight: bold; font-size: 15px; padding: 7px 0px 7px 0px;">Produced</div>
 
 
{{#if: {{{commodities|}}} | {{{commodities}}} | ''None known''}}
 
{{#if: {{{commodities|}}} | {{{commodities}}} | ''None known''}}
  
Line 39: Line 44:
 
<br>
 
<br>
 
|}
 
|}
 
+
[[Category:Systems]]
 +
</includeonly>
 
<noinclude>
 
<noinclude>
 
-->
 
-->
Line 63: Line 69:
 
|semi-lawfulnpcs =
 
|semi-lawfulnpcs =
 
|unlawfulnpcs =
 
|unlawfulnpcs =
|commodities =
+
|commodities =  
|mineable =
+
|mineable =  
 
}}
 
}}
 
</pre>
 
</pre>
Line 70: Line 76:
 
=Example=
 
=Example=
 
<pre>{{System
 
<pre>{{System
|systemname = New York
+
|description = The [[New York]] system is the capital system of the [[Liberty]] space. Due to...
|description = The [[New London]] system is the capital system of the [[Bretonia]] space. Due to...
 
 
|image = newyorksystem.jpg
 
|image = newyorksystem.jpg
 
|planets =
 
|planets =
Line 114: Line 119:
 
==Result==
 
==Result==
 
{{System
 
{{System
|systemname = New York
+
|description = The [[New York]] system is the capital system of the [[Liberty]] space. Due to...
|description = The [[New London]] system is the capital system of the [[Bretonia]] space. Due to...
 
 
|image = newyorksystem.jpg
 
|image = newyorksystem.jpg
 
|planets =
 
|planets =
Line 155: Line 159:
 
*[[Scrap Metal]]
 
*[[Scrap Metal]]
 
}}
 
}}
 
 
 
[[Category:Templates]]
 
[[Category:Templates]]
 
 
{{GuideNav}}
 
 
 
</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