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 "User:Space/Template:System Map"

From Discovery Wiki
Jump to navigationJump to search
(Making a copy of this for development purposes.)
 
m
Line 1: Line 1:
 
<noinclude><!--</noinclude>
 
<noinclude><!--</noinclude>
<div id=map class="{{#switch: {{{3}}}
+
<div class="{{#switch: {{{3}}}
 
| SMALL = small
 
| SMALL = small
 
| MEDIUM = medium
 
| MEDIUM = medium
Line 37: Line 37:
  
 
==Usage==
 
==Usage==
<pre>{{System Map/begin | <system name>}}
+
<pre>{{User:Space/Template:System Map | <system name>}}
{{System Map | <title> | <type> | <size> | <pos_x> | <pos_y> | <text_align (optional)>}}
+
{{User:Space/Template:System Map | <title> | <type> | <size> | <pos_x> | <pos_y> | <text_align (optional)>}}
{{System Map | <title> | <type> | <size> | <pos_x> | <pos_y> | <text_align (optional)>}}
+
{{User:Space/Template:System Map | <title> | <type> | <size> | <pos_x> | <pos_y> | <text_align (optional)>}}
 
...
 
...
{{System Map/end}}</pre>
+
{{User:Space/Template:System Map/end}}</pre>
  
 
Allowed types are:
 
Allowed types are:
Line 63: Line 63:
 
==Example==
 
==Example==
 
<pre>
 
<pre>
{{System Map/begin | Omega-54}}
+
{{User:Space/Template:System Map/begin | Omega-54}}
{{System Map | [[Wolfsburg Shipyard]] |BASE|MEDIUM|100px|20px|RIGHT}}
+
{{User:Space/Template:System Map | [[Wolfsburg Shipyard]] |BASE|MEDIUM|100px|20px|RIGHT}}
{{System Map | [[Wolfsburg Shipyard]] |BASE|SMALL|160px|70px|LEFT}}
+
{{User:Space/Template:System Map | [[Wolfsburg Shipyard]] |BASE|SMALL|160px|70px|LEFT}}
{{System Map | [[Wolfsburg Shipyard]] |BASE|LARGE|200px|40px|RIGHT}}
+
{{User:Space/Template:System Map | [[Wolfsburg Shipyard]] |BASE|LARGE|200px|40px|RIGHT}}
{{System Map | Planet Wiesbaden |PLANET_UNDOCKABLE|SMALL|160px|110px|RIGHT}}
+
{{User:Space/Template:System Map | Planet Wiesbaden |PLANET_UNDOCKABLE|SMALL|160px|110px|RIGHT}}
{{System Map | [[Planet Wiesbaden]] |PLANET|LARGE|340px|140px}}
+
{{User:Space/Template:System Map | [[Planet Wiesbaden]] |PLANET|LARGE|340px|140px}}
{{System Map | [[Northeim Base]] |ASTEROID_BASE|SMALL|100px|210px}}
+
{{User:Space/Template:System Map | [[Northeim Base]] |ASTEROID_BASE|SMALL|100px|210px}}
{{System Map | Red giant |SUN|LARGE|300px|310px}}
+
{{User:Space/Template:System Map | Red giant |SUN|LARGE|300px|310px}}
{{System Map | [[Dresden]] jump hole |JUMP_HOLE|MEDIUM|100px|310px}}
+
{{User:Space/Template:System Map | [[Dresden]] jump hole |JUMP_HOLE|MEDIUM|100px|310px}}
{{System Map | [[Stuttgart]] jump gate |JUMP_GATE|MEDIUM|250px|210px|RIGHT}}
+
{{User:Space/Template:System Map | [[Stuttgart]] jump gate |JUMP_GATE|MEDIUM|250px|210px|RIGHT}}
{{System Map/end}}
+
{{User:Space/Template:System Map/end}}
 
</pre>
 
</pre>
  
{{System Map/begin | Omega-54}}
+
{{User:Space/Template:System Map/begin | Omega-54}}
{{System Map | [[Wolfsburg Shipyard]] |BASE|MEDIUM|100px|20px|RIGHT}}
+
{{User:Space/Template:System Map | [[Wolfsburg Shipyard]] |BASE|MEDIUM|100px|20px|RIGHT}}
{{System Map | [[Wolfsburg Shipyard]] |BASE|SMALL|160px|70px|LEFT}}
+
{{User:Space/Template:System Map | [[Wolfsburg Shipyard]] |BASE|SMALL|160px|70px|LEFT}}
{{System Map | [[Wolfsburg Shipyard]] |BASE|LARGE|200px|40px|RIGHT}}
+
{{User:Space/Template:System Map | [[Wolfsburg Shipyard]] |BASE|LARGE|200px|40px|RIGHT}}
{{System Map | Planet Wiesbaden |PLANET_UNDOCKABLE|SMALL|160px|110px|RIGHT}}
+
{{User:Space/Template:System Map | Planet Wiesbaden |PLANET_UNDOCKABLE|SMALL|160px|110px|RIGHT}}
{{System Map | [[Planet Wiesbaden]] |PLANET|LARGE|340px|140px}}
+
{{User:Space/Template:System Map | [[Planet Wiesbaden]] |PLANET|LARGE|340px|140px}}
{{System Map | [[Northeim Base]] |ASTEROID_BASE|SMALL|100px|210px}}
+
{{User:Space/Template:System Map | [[Northeim Base]] |ASTEROID_BASE|SMALL|100px|210px}}
{{System Map | Red giant |SUN|LARGE|300px|310px}}
+
{{User:Space/Template:System Map | Red giant |SUN|LARGE|300px|310px}}
{{System Map | [[Dresden]] jump hole |JUMP_HOLE|MEDIUM|100px|310px}}
+
{{User:Space/Template:System Map | [[Dresden]] jump hole |JUMP_HOLE|MEDIUM|100px|310px}}
{{System Map | [[Stuttgart]] jump gate |JUMP_GATE|MEDIUM|250px|210px|RIGHT}}
+
{{User:Space/Template:System Map | [[Stuttgart]] jump gate |JUMP_GATE|MEDIUM|250px|210px|RIGHT}}
{{System Map/end}}
+
{{User:Space/Template:System Map/end}}
  
 
[[Category: Templates]]</noinclude>
 
[[Category: Templates]]</noinclude>

Revision as of 13:58, 7 April 2013


Usage

{{User:Space/Template:System Map | <system name>}}
{{User:Space/Template:System Map | <title> | <type> | <size> | <pos_x> | <pos_y> | <text_align (optional)>}}
{{User:Space/Template:System Map | <title> | <type> | <size> | <pos_x> | <pos_y> | <text_align (optional)>}}
...
{{User:Space/Template:System Map/end}}

Allowed types are:

  • BASE
  • ASTEROID_BASE
  • PLANET
  • PLANET_UNDOCKABLE
  • JUMP_HOLE
  • JUMP_GATE
  • SUN

Allowed sizes are:

  • SMALL
  • MEDIUM
  • LARGE

Allowed text_align arguments are:

  • LEFT
  • RIGHT

Example

{{User:Space/Template:System Map/begin | Omega-54}}
{{User:Space/Template:System Map | [[Wolfsburg Shipyard]] |BASE|MEDIUM|100px|20px|RIGHT}}
{{User:Space/Template:System Map | [[Wolfsburg Shipyard]] |BASE|SMALL|160px|70px|LEFT}}
{{User:Space/Template:System Map | [[Wolfsburg Shipyard]] |BASE|LARGE|200px|40px|RIGHT}}
{{User:Space/Template:System Map | Planet Wiesbaden |PLANET_UNDOCKABLE|SMALL|160px|110px|RIGHT}}
{{User:Space/Template:System Map | [[Planet Wiesbaden]] |PLANET|LARGE|340px|140px}}
{{User:Space/Template:System Map | [[Northeim Base]] |ASTEROID_BASE|SMALL|100px|210px}}
{{User:Space/Template:System Map | Red giant |SUN|LARGE|300px|310px}}
{{User:Space/Template:System Map | [[Dresden]] jump hole |JUMP_HOLE|MEDIUM|100px|310px}}
{{User:Space/Template:System Map | [[Stuttgart]] jump gate |JUMP_GATE|MEDIUM|250px|210px|RIGHT}}
{{User:Space/Template:System Map/end}}
Omega-54
ABCDEFGH
1
2
3
4
5
6
7
8
Error creating thumbnail: Unable to save thumbnail to destination

<!-- Notepad <!DOCTYPE HTML> <html> <head> <style> body { margin: 0px; padding: 0px; } </style> </head> <body> <canvas id="myCanvas" width="578" height="200"></canvas> <script> var canvas = document.getElementById('myCanvas'); var context = canvas.getContext('2d'); context.beginPath(); context.moveTo(100, 150); context.lineTo(450, 50); context.stroke(); </script> </body> </html> -->

<!-- Notepad <!DOCTYPE HTML> <html> <head> <style> body { margin: 0px; padding: 0px; } </style> </head> <body> <canvas id="myCanvas" width="578" height="200"></canvas> <script> var canvas = document.getElementById('myCanvas'); var context = canvas.getContext('2d'); context.beginPath(); context.moveTo(100, 150); context.lineTo(450, 50); context.stroke(); </script> </body> </html> -->

Error creating thumbnail: Unable to save thumbnail to destination

<!-- Notepad <!DOCTYPE HTML> <html> <head> <style> body { margin: 0px; padding: 0px; } </style> </head> <body> <canvas id="myCanvas" width="578" height="200"></canvas> <script> var canvas = document.getElementById('myCanvas'); var context = canvas.getContext('2d'); context.beginPath(); context.moveTo(100, 150); context.lineTo(450, 50); context.stroke(); </script> </body> </html> -->

Planet Wiesbaden
Icon planet.png

<!-- Notepad <!DOCTYPE HTML> <html> <head> <style> body { margin: 0px; padding: 0px; } </style> </head> <body> <canvas id="myCanvas" width="578" height="200"></canvas> <script> var canvas = document.getElementById('myCanvas'); var context = canvas.getContext('2d'); context.beginPath(); context.moveTo(100, 150); context.lineTo(450, 50); context.stroke(); </script> </body> </html> -->

Error creating thumbnail: Unable to save thumbnail to destination

<!-- Notepad <!DOCTYPE HTML> <html> <head> <style> body { margin: 0px; padding: 0px; } </style> </head> <body> <canvas id="myCanvas" width="578" height="200"></canvas> <script> var canvas = document.getElementById('myCanvas'); var context = canvas.getContext('2d'); context.beginPath(); context.moveTo(100, 150); context.lineTo(450, 50); context.stroke(); </script> </body> </html> -->

<!-- Notepad <!DOCTYPE HTML> <html> <head> <style> body { margin: 0px; padding: 0px; } </style> </head> <body> <canvas id="myCanvas" width="578" height="200"></canvas> <script> var canvas = document.getElementById('myCanvas'); var context = canvas.getContext('2d'); context.beginPath(); context.moveTo(100, 150); context.lineTo(450, 50); context.stroke(); </script> </body> </html> -->

Red giant
Error creating thumbnail: Unable to save thumbnail to destination

<!-- Notepad <!DOCTYPE HTML> <html> <head> <style> body { margin: 0px; padding: 0px; } </style> </head> <body> <canvas id="myCanvas" width="578" height="200"></canvas> <script> var canvas = document.getElementById('myCanvas'); var context = canvas.getContext('2d'); context.beginPath(); context.moveTo(100, 150); context.lineTo(450, 50); context.stroke(); </script> </body> </html> -->

Dresden jump hole
Error creating thumbnail: Unable to save thumbnail to destination

<!-- Notepad <!DOCTYPE HTML> <html> <head> <style> body { margin: 0px; padding: 0px; } </style> </head> <body> <canvas id="myCanvas" width="578" height="200"></canvas> <script> var canvas = document.getElementById('myCanvas'); var context = canvas.getContext('2d'); context.beginPath(); context.moveTo(100, 150); context.lineTo(450, 50); context.stroke(); </script> </body> </html> -->

Stuttgart jump gate
Error creating thumbnail: Unable to save thumbnail to destination

<!-- Notepad <!DOCTYPE HTML> <html> <head> <style> body { margin: 0px; padding: 0px; } </style> </head> <body> <canvas id="myCanvas" width="578" height="200"></canvas> <script> var canvas = document.getElementById('myCanvas'); var context = canvas.getContext('2d'); context.beginPath(); context.moveTo(100, 150); context.lineTo(450, 50); context.stroke(); </script> </body> </html> -->

Legend...
  • Error creating thumbnail: Unable to save thumbnail to destination
    Station
  • Error creating thumbnail: Unable to save thumbnail to destination
    Asteroid base
  • Error creating thumbnail: Unable to save thumbnail to destination
    Uninhabited planet
  • Error creating thumbnail: Unable to save thumbnail to destination
    Dockable planet
  • Error creating thumbnail: Unable to save thumbnail to destination
    Jump hole
  • Error creating thumbnail: Unable to save thumbnail to destination
    Jump gate
  • Error creating thumbnail: Unable to save thumbnail to destination
    Stellar object

<!-- Notepad <!DOCTYPE HTML> <html> <head> <style> body { margin: 0px; padding: 0px; } </style> </head> <body> <canvas id="myCanvas" width="578" height="200"></canvas> <script> var canvas = document.getElementById('myCanvas'); var context = canvas.getContext('2d'); context.beginPath(); context.moveTo(100, 150); context.lineTo(450, 50); context.stroke(); </script> </body> </html> -->