Welcome to Warhammer 40k - Lexicanum! Log in and join the community.

Difference between revisions of "Template:Planet"

From Warhammer 40k - Lexicanum
Jump to: navigation, search
m (Reverted edits by Inquisitor S. (talk) to last revision by Bobmath)
 
(10 intermediate revisions by 2 users not shown)
Line 4: Line 4:
 
!style="width:1%"|'''Planetary Image'''
 
!style="width:1%"|'''Planetary Image'''
 
|-
 
|-
|rowspan="9" style="padding:0"|<div style="position:relative">[[File:{{{Map|Galaxy map unknown.jpg}}}|{{{Map Px|300}}}px]]{{#if:{{{Cross X|}}}|<div style="position:absolute;left:{{{Cross X}}}px;top:{{{Cross Y|0}}}px;color:#fab000">[[File:Small cross.png|top]]{{{Cross Text|}}}</div>{{#if:{{{Cross LText|}}}|<div style="position:absolute;left:0;width:{{{Cross X}}}px;top:{{{Cross Y|0}}}px;color:#fab000;text-align:right">{{{Cross LText}}}</div>}}}}</div>
+
|rowspan="10" style="padding:0"|<div style="position:relative">[[File:{{{Map|Galaxy map unknown.jpg}}}|{{{Map Px|300}}}px]]{{#if:{{{Cross X|}}}|<div style="position:absolute;left:{{{Cross X}}}px;top:{{{Cross Y|0}}}px;color:#fab000">[[File:Small cross.png|top]]{{{Cross Text|}}}</div>{{#if:{{{Cross LText|}}}|<div style="position:absolute;left:0;width:{{{Cross X}}}px;top:{{{Cross Y|0}}}px;color:#fab000;text-align:right">{{{Cross LText}}}</div>}}}}</div>
 
|'''Name:'''
 
|'''Name:'''
 
|'''{{{Name|{{PAGENAME}}}}}'''
 
|'''{{{Name|{{PAGENAME}}}}}'''
|rowspan="9" style="padding:0"|[[File:{{{Planetary Image|Unknown.jpg}}}|{{{Planetary Image Px|200}}}px]]
+
|rowspan="10" style="padding:0"|[[File:{{{Planetary Image|Unknown.jpg}}}|{{{Planetary Image Px|200x200}}}px]]
 
|-
 
|-
 
|'''[[Segmentum]]:'''
 
|'''[[Segmentum]]:'''
Line 14: Line 14:
 
|'''[[Sector]]:'''
 
|'''[[Sector]]:'''
 
|{{{Sector|Unknown}}}
 
|{{{Sector|Unknown}}}
|-
+
{{#if:{{{Subsector|}}}|
|'''[[Subsector]]:'''
+
{{!-}}
|{{{Subsector|Unknown}}}
+
{{!}}'''[[Subsector]]:'''
 +
{{!}}{{{Subsector}}}}}
 
|-
 
|-
 
|'''[[System]]:'''
 
|'''[[System]]:'''
Line 28: Line 29:
 
|-
 
|-
 
|'''[[Class (planet)|Class]]:'''
 
|'''[[Class (planet)|Class]]:'''
|{{{Class|Unknown}}}{{#if:{{{Production Grade|}}}|<!-- -->
+
|{{{Class|Unknown}}}{{#if:{{{Production Grade|}}}|&#32;
 
{{!-}}
 
{{!-}}
 
{{!}}'''[[Production Grade]]:'''
 
{{!}}'''[[Production Grade]]:'''
{{!}}{{{Production Grade}}}}}{{#if:{{{Tithe Grade|}}}|<!-- -->
+
{{!}}{{{Production Grade}}}}}{{#if:{{{Tithe Grade|}}}|&#32;
 
{{!-}}
 
{{!-}}
 
{{!}}'''[[Tithe Grade]]:'''
 
{{!}}'''[[Tithe Grade]]:'''
Line 59: Line 60:
  
 
====Calculating Locations====
 
====Calculating Locations====
Small map locations can be calculated by first finding the pixel coordinates on a large galaxy map and using a conversion formula.
+
Small map locations can be calculated by first finding the pixel coordinates on a large galaxy map and using a conversion formula. The [[:File:Galaxy map ultimasegmentum.jpg|old maps]] are rotated about ten degress, so the formulas are a bit more complicated.
 
*[[:File:Galaxy-shadowbox.jpg]]: Cross X = 0.1152*x - 0.0199*y + 64.8, Cross Y = 0.0202*x + 0.1152*y + 22.8
 
*[[:File:Galaxy-shadowbox.jpg]]: Cross X = 0.1152*x - 0.0199*y + 64.8, Cross Y = 0.0202*x + 0.1152*y + 22.8
 
*[[:File:KnightWorldsMap.jpg]]: Cross X = 0.1896*x - 0.0327*y + 75.7, Cross Y = 0.0334*x + 0.1894*y + 25.9
 
*[[:File:KnightWorldsMap.jpg]]: Cross X = 0.1896*x - 0.0327*y + 75.7, Cross Y = 0.0334*x + 0.1894*y + 25.9
 
*[[:File:AstartesMap.jpg]]: Cross X = 0.1196*x - 0.0211*y + 63.1, Cross Y = 0.0220*x + 0.1241*y + 28.8
 
*[[:File:AstartesMap.jpg]]: Cross X = 0.1196*x - 0.0211*y + 63.1, Cross Y = 0.0220*x + 0.1241*y + 28.8
 
*[[:File:IGDeployments8th.jpg]]: Cross X = 0.0873*x - 0.0150*y + 75.4, Cross Y = 0.0153*x + 0.0874*y + 24.1
 
*[[:File:IGDeployments8th.jpg]]: Cross X = 0.0873*x - 0.0150*y + 75.4, Cross Y = 0.0153*x + 0.0874*y + 24.1
 +
*[[:File:CSMActivity8th.jpg]]: Cross X = 0.1967*x - 0.0340*y + 75.9, Cross Y = 0.0343*x + 0.1964*y + 27.2
 +
*[[:File:DaemonOutbreaks8th.jpg]]: Cross X = 0.1917*x - 0.0328*y + 75.0, Cross Y = 0.0340*x + 0.1921*y + 23.8
 +
*[[:File:NecronTerritory.jpg]]: Cross X = 0.1961*x - 0.0348*y + 72.9119, Cross Y = 0.0336*x + 0.1971*y + 23.5
 +
*[[:File:DWMap.jpg]]: Cross X = 0.2207*x - 0.0380*y + 66.9, Cross Y = 0.0389*x + 0.2201*y + 9.0
 +
 +
The [[:File:Galaxy-Rift-Ultima.jpg|rift maps]] are properly aligned with "galactic north."
 +
*[[:File:KnightWorldsMap.jpg]]: Cross X = 0.2463*x + 9.6, Cross Y = 0.2465*y - 6.0
 +
*[[:File:IGDeployments8th.jpg]]: Cross X = 0.1137*x + 8.7, Cross Y = 0.1138*y - 8.5
 +
*[[:File:CSMActivity8th.jpg]]: Cross X = 0.2562*x + 9.8, Cross Y = 0.2558*y - 4.7
  
 
[[Category:Summary Templates]]
 
[[Category:Summary Templates]]
 
</noinclude>
 
</noinclude>

Latest revision as of 10:41, 3 September 2021

Map Basic Data Planetary Image
Galaxy map unknown.jpg
Name: Planet Unknown.jpg
Segmentum: Unknown
Sector: Unknown
System: Unknown
Population: Unknown
Affiliation: Unknown
Class: Unknown

Code to include on page

{{Planet
|Map=
|Map PX=
|Cross X=
|Cross Y=
|Cross Text=
|Cross LText=
|Planetary Image=
|Planetary Image Px=
|Name=
|Segmentum=
|Sector=
|Subsector=
|System=
|Population=
|Affiliation=
|Class=
|Production Grade=
|Tithe Grade=
}}

Calculating Locations

Small map locations can be calculated by first finding the pixel coordinates on a large galaxy map and using a conversion formula. The old maps are rotated about ten degress, so the formulas are a bit more complicated.

The rift maps are properly aligned with "galactic north."