YellowWarningTriangle.png 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:System v2"

From Discovery Wiki
Jump to navigationJump to search
Line 1: Line 1:
 
<noinclude><!--</noinclude>
 
<noinclude><!--</noinclude>
<includeonly>
+
{| class="weaponmainbox" style="float: right; margin-left: 1em; margin-bottom: 10px; width: 270px; font-size: 11px; line-height: 14px; border: 1px solid #aaa;" cellpadding="3"
{{#if: {{{image|}}}
+
|-
| [[image:{{{image}}}|thumb|right|244px|{{PAGENAME}} System]]
+
| colspan="2" class="infobox-name"|<H3>{{{name}}}</H3>
| <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.}}
+
|-
}}
+
| colspan="2" style="padding: 0; text-align: center; padding: 5px 0px;"|{{#ifexist:File:{{{name}}}.jpg|[[Image:{{{name}}}.jpg|center|220px]]|{{#ifexist:File:{{{name}}}.png|[[Image:{{{name}}}.png|center|220px]]|Please [[File:{{{name}}}.png|upload]] an image of this base.}}}}
<div style="float: left; padding: 4px 8px 8px 0px; max-width: 180px; font-size: 85%;">__TOC__</div>
+
|-title "Region of Sirius"
{{#if: {{{description|}}}
+
|class="infobox-data-title" | '''Region'''
| {{{description}}}
+
|| {{{region|''Unknown Region''}}}
| ''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.}}
+
{{#if: {{{public-data|}}}|{{{public-data}}}}}
}}
+
|}
{{Clear}}
+
{{#if: {{{description|}}}|{{{description}}}|''description missing''}}
==System Overview==
 
{| style="width: 100%;"
 
| style="width: 33%; vertical-align: top; border-right: 1px dotted #999999; padding: .5em 1em; margin: 1em;" |
 
<div style="font-weight: bold; font-size: 17px; border-bottom: 1px solid #aaaaaa; margin: 5px 0px 5px 0px;">Local factions</div>
 
<div style="font-weight: bold; font-size: 15px; padding: 7px 0px 7px 0px;">Lawful</div>
 
{{#if: {{{lawfulnpcs|}}} | {{{lawfulnpcs}}} | ''None known''}}
 
<div style="font-weight: bold; font-size: 15px; padding: 7px 0px 7px 0px;">Semi-Lawful</div>
 
{{#if: {{{semi-lawfulnpcs|}}} | {{{semi-lawfulnpcs}}} | ''None known''}}
 
<div style="font-weight: bold; font-size: 15px; padding: 7px 0px 7px 0px;">Unlawful</div>
 
{{#if: {{{unlawfulnpcs|}}} | {{{unlawfulnpcs}}} | ''None known''}}
 
 
 
{{#if: {{{AltStation|}}} |
 
 
 
{{System page component 1|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''}}}}
 
 
 
}}
 
  
| 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: 15px; padding: 7px 0px 7px 0px;">Produced</div>
 
{{#if: {{{commodities|}}} | {{{commodities}}} | ''None known''}}
 
 
<div style="font-weight: bold; font-size: 15px; padding: 7px 0px 7px 0px;">Mineable</div>
 
{{#if: {{{mineable|}}} | {{{mineable}}} | ''None known''}}
 
<br>
 
|}
 
 
[[Category:Systems]]
 
[[Category:Systems]]
 
</includeonly>
 
</includeonly>
 
<noinclude>
 
<noinclude>
 
-->
 
-->
=Usage=
 
This template allows you to make the System look very nice. (Thanks to Blodo and Tazuras and Chovynz and some other wiki editors.) <br>
 
'''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  ''<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 =
 
|description =
 
|planets =
 
{{Planet|Name|Text|OptionalImage}}
 
|stations =
 
|AltStation =
 
|lawfulnpcs =
 
|semi-lawfulnpcs =
 
|unlawfulnpcs =
 
|commodities =
 
|mineable =
 
}}
 
</pre>
 
 
=Example=
 
 
[[Category:Templates]]
 
[[Category:Templates]]
 
</noinclude>
 
</noinclude>

Revision as of 17:23, 16 December 2012