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
(Calculating Locations: knight worlds map)
(Calculating Locations)
(3 intermediate revisions by the same user 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>}}</div>
+
|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>
 
|'''Name:'''
 
|'''Name:'''
 
|'''{{{Name|{{PAGENAME}}}}}'''
 
|'''{{{Name|{{PAGENAME}}}}}'''
Line 41: Line 41:
 
|Cross Y=
 
|Cross Y=
 
|Cross Text=
 
|Cross Text=
 +
|Cross LText=
 
|Planetary Image=
 
|Planetary Image=
 
|Planetary Image Px=
 
|Planetary Image Px=
Line 56: Line 57:
 
====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.
*[[:File:Galaxy-shadowbox.jpg]]: Cross X = 0.1126*x - 0.0198*y + 68, Cross Y = 0.0198*x + 0.1126*y + 27
+
*[[: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.1851*x - 0.0326*y + 78.7, Cross Y = 0.0326*x + 0.1851*y + 30.3
+
*[[: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:IGDeployments8th.jpg]]: Cross X = 0.0873*x - 0.0150*y + 75.4, Cross Y = 0.0153*x + 0.0874*y + 24.1
 +
 
 
[[Category:Summary Templates]]
 
[[Category:Summary Templates]]
 
</noinclude>
 
</noinclude>

Revision as of 04:33, 13 February 2019

Map Basic Data Planetary Image
Galaxy map unknown.jpg
Name: Planet Unknown.jpg
Segmentum: Unknown
Sector: Unknown
Subsector: 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=
|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.