Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:WHSystem: Difference between revisions

Template page
Siernan (talk | contribs)
Adding to Wormholes category
Rework for light-mode readability and responsive design.
 
(3 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{#css:
{{#css:
.whtab {
.whtable {
  background-color: #222;
   border: 1px solid #444;
   border: 1px solid #444;
   padding: 2pt;
   text-align: left;
}
}


.whtab th, .whtab td {
.whcaptable {
  float: right;
}
 
.whtable th,
.whtable td {
   vertical-align: top;
   vertical-align: top;
   padding: 2pt;
   padding-right: 0.5em;
  text-align: left;
  width: 100pt;
}
 
.whtab th {
  font-weight: bold;
}
}


.whcap {
.whcaptable th,
  font-size: 12pt;
.whcaptable td {
   text-shadow: 1pt 1pt #000;
   text-align: right;
  border: 1px solid #444;
}
}


.whimg {
.whimg {
 
}
}


Line 35: Line 31:
.whval {
.whval {
   color: #888;
   color: #888;
  text-align: right !important;
}
}


.whlist {
}}
  color: #888;
<table class="whtable">
  text-align: left;
<tr>
}
  <td colspan="2" class="whimg">{{#if:{{{image|}}}
 
                                  | [[Image:{{{image}}}|128px|link=]]
}}<table class="whtab">  
                                  | ''No image available.''
<tr>
                                }}<br>{{{name|Name of the Wormhole System}}} {{#if:{{{class|}}}|(C{{{class}}} System)}}</td>
<td colspan="2" class="whimg">{{#if:{{{image|}}}|[[Image:{{{image}}}|128px|link=]]|''No image available.''}}<br/>{{{name|Name of the Wormhole System}}} {{#if:{{{class|}}}|(C{{{class}}} System)|}}</td>
  <td colspan="4">
<td colspan="4">
  <table class="whcaptable">
<table>
    <tr>
<tr>
    <th>Maximum Mass</th>
<th align="right">Maximum Mass</th>
    <td class="whval" style="cursor: help;" title="Maximum Ship Class Able to Enter: {{{maxhull|Unknown}}}">{{{maxmass|''Unknown''}}}</td>
<td class="whval" style="cursor:help;" title="Maximum Ship Class Able to Enter: {{{maxhull|Unknown}}}">{{{maxmass|''Unknown''}}}</td>
    <th>Number</th>
<th align="right">Number</th>
    <td class="whval">{{{number|''Unknown''}}}</td>
<td class="whval">{{{number|''Unknown''}}}</td>
    </tr>
</tr>
    <tr>
<tr>
    <th>Minimum Mass</th>
<th align="right">Minimum Mass</th>
    <td class="whval" style="cursor: help;" title="Minimum Ship Class Able to Enter: {{{minhull|Unknown}}}">{{{minmass|''Unknown''}}}</td>
<td class="whval" style="cursor: help;" title="Minimum Ship Class Able to Enter: {{{minhull|Unknown}}}">{{{minmass|''Unknown''}}}</td>
    <th>Escalations</th>
<th align="right">Escalations</th>
    <td class="whval">{{{escalations|''Unknown''}}}</td>
<td class="whlist whval">{{{escalations|''Unknown''}}}</td>
    </tr>
</tr>
  </table>
</table>
  </td>
</td>
  </tr>
</tr>
  <tr><td colspan="6"><hr></td></tr>
        <tr><td colspan="6"><hr/></td></tr>
  <tr>
<!--<tr>
  <th>Possible Statics</th>
<th colspan="2" class="whcap" style="background-color: {{#switch:{{{class|1}}}|2=#005|3=#544|4=#664|5=#622|6=#411|#226}}; background: linear-gradient(to right, {{#switch:{{{class|1}}}|2=#005|3=#544|4=#664|5=#622|6=#411|#226}} 0%, #000000 33%);">{{{name|Name of the Wormhole System}}} {{#if:{{{class|}}}|(C{{{class}}} System)|}}</th>
  <th>Anomalies</th>
</tr>-->
  <th>Ore Sites</th>
<!--<tr>
  <th>Gas Sites</th>
<td colspan="5" class="whimg">{{#if:{{{image|}}}|[[Image:{{{image}}}|128px|link=]]|''No image available.''}}</td>
  <th>Relic Sites</th>
</tr>-->
  <th>Data Sites</th>
<tr>
  </tr>
<th align="left" width="175px">Possible Statics</th>
  <tr class="whval">
<th align="left">Anomalies</th>
  <td style="border-right: 1px dotted;">{{{statics|''Unknown''}}}</td>
<th align="left">Gravimetric Sites</th>
  <td>{{{anosites|''Unknown''}}}</td>
<th align="left">Gas Sites</th>
  <td>{{{grasites|''Unknown''}}}</td>
<th align="left">Relic Sites</th>
  <td>{{{ladsites|''Unknown''}}}</td>
<th align="left">Data Sites</th>
  <td>{{{magsites|''Unknown''}}}</td>
</tr>  
  <td>{{{radsites|''Unknown''}}}</td>
<tr>
  </tr>
<td class="whlist" align="left" valign="top" style="border-right:1px dotted;">{{{statics|''Unknown''}}}</td>
<td class="whlist" align="left" valign="top">{{{anosites|''Unknown''}}}</td>
<td class="whlist" align="left" valign="top">{{{grasites|''Unknown''}}}</td>
<td class="whlist" align="left" valign="top">{{{ladsites|''Unknown''}}}</td>
<td class="whlist" align="left" valign="top">{{{magsites|''Unknown''}}}</td>
<td class="whlist" align="left" valign="top">{{{radsites|''Unknown''}}}</td>
</tr>
<tr></tr>
<tr></tr>  
</table>
</table>
<noinclude>
<noinclude>{{documentation}}</noinclude>
 
==Usage==
Copy and paste the code below when adding a new class and complete the info.
 
 
<pre>
{{WHSystem
|name=
|class=
|image=
|maxmass=
|minmass=
|maxhull=
|minhull=
|escalations=
|number
|anosites=
|grasites=
|ladsites=
|magsites=
|radsites=
}}</pre>
 
'''Example'''
<pre>
{{WHSystem
|name=
|class=1
|image=Class 2 System.jpg
|maxmass=20,000 T
|minmass=20,000 T
|maxhull=Battlecruiser
|minhull=Battlecruiser
|escalations=None
|number=N/A
|anosites=[[Perimeter Ambush Point]]<br>[[Perimeter Camp]]<br>[[Phase Catalyst Node]]<br>[[The Line]]
|grasites=[[Average Frontier Deposit|Average F.D.]]<br>[[Unexceptional Frontier Deposit|Unexceptional F.D.]]<br>[[Uncommon Core Deposit|Uncommon C.D.]]<br>[[Ordinary Perimeter Deposit|Ordinary P.D.]]<br>[[Common Perimeter Deposit|Common P.D.]]<br>[[Exceptional Core Deposit|Exceptional C.D.]]<br>[[Infrequent Core Deposit|Infrequent C.D.]]<br>[[Unusual Core Deposit|Unusual C.D.]]<br>[[Rarified Core Deposit|Rarified C.D.]]<br>[[Isolated Core Deposit|Isolated C.D.]]
|ladsites=[[Barren Perimeter Reservoir|Barren P.R.]]<br>[[Minor Perimeter Reservoir|Minor P.R.]]<br>[[Ordinary Perimeter Reservoir|Ordinary P.R]]<br>[[Sizable Perimeter Reservoir|Sizeable P.R.]]<br>[[Token Perimeter Reservoir|Token P.R.]]<br>[[Bountiful Frontier Reservoir|Bountiful F.R.]]<br>[[Vast Frontier Reservoir|Vast F.R.]]<br>[[Instrumental Core Reservoir|Instrumental C.R.]]<br>[[Vital Core Reservoir|Vital C.R.]]
|magsites=[[Forgotten Perimeter Coronation Platform]]<br>[[Forgotten Perimeter Power Array]]
|radsites=[[Unsecured Perimeter Amplifier]]<br>[[Unsecured Perimeter Information Center]]
}}</pre>
 
It will look like this:
 
{{WHSystem
|name=
|class=1
|image=Class 2 System.jpg
|maxmass=20,000 T
|minmass=20,000 T
|maxhull=Battlecruiser
|minhull=Battlecruiser
|escalations=None
|number=N/A
|anosites=[[Perimeter Ambush Point]]<br>[[Perimeter Camp]]<br>[[Phase Catalyst Node]]<br>[[The Line]]
|grasites=[[Average Frontier Deposit|Average F.D.]]<br>[[Unexceptional Frontier Deposit|Unexceptional F.D.]]<br>[[Uncommon Core Deposit|Uncommon C.D.]]<br>[[Ordinary Perimeter Deposit|Ordinary P.D.]]<br>[[Common Perimeter Deposit|Common P.D.]]<br>[[Exceptional Core Deposit|Exceptional C.D.]]<br>[[Infrequent Core Deposit|Infrequent C.D.]]<br>[[Unusual Core Deposit|Unusual C.D.]]<br>[[Rarified Core Deposit|Rarified C.D.]]<br>[[Isolated Core Deposit|Isolated C.D.]]
|ladsites=[[Barren Perimeter Reservoir|Barren P.R.]]<br>[[Minor Perimeter Reservoir|Minor P.R.]]<br>[[Ordinary Perimeter Reservoir|Ordinary P.R]]<br>[[Sizable Perimeter Reservoir|Sizeable P.R.]]<br>[[Token Perimeter Reservoir|Token P.R.]]<br>[[Bountiful Frontier Reservoir|Bountiful F.R.]]<br>[[Vast Frontier Reservoir|Vast F.R.]]<br>[[Instrumental Core Reservoir|Instrumental C.R.]]<br>[[Vital Core Reservoir|Vital C.R.]]
|magsites=[[Forgotten Perimeter Coronation Platform]]<br>[[Forgotten Perimeter Power Array]]
|radsites=[[Unsecured Perimeter Amplifier]]<br>[[Unsecured Perimeter Information Center]]
}}
[[Category:Template]]
[[Category:Wormholes]]
</noinclude>