Welcome to Warhammer 40k - Lexicanum! Log in and join the community.
Difference between revisions of "Template:Planet"
From Warhammer 40k - Lexicanum
(→Calculating Locations) |
(subsector optional) |
||
(5 intermediate revisions by the same user not shown) | |||
Line 4: | Line 4: | ||
!style="width:1%"|'''Planetary Image''' | !style="width:1%"|'''Planetary Image''' | ||
|- | |- | ||
− | |rowspan=" | + | |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=" | + | |rowspan="10" style="padding:0"|[[File:{{{Planetary Image|Unknown.jpg}}}|{{{Planetary Image Px|200}}}px]] |
|- | |- | ||
|'''[[Segmentum]]:''' | |'''[[Segmentum]]:''' | ||
Line 14: | Line 14: | ||
|'''[[Sector]]:''' | |'''[[Sector]]:''' | ||
|{{{Sector|Unknown}}} | |{{{Sector|Unknown}}} | ||
− | |- | + | {{#if:{{{Subsector|}}}| |
− | + | {{!-}} | |
− | + | {{!}}'''[[Subsector]]:''' | |
+ | {{!}}{{{Subsector}}}}} | ||
|- | |- | ||
|'''[[System]]:''' | |'''[[System]]:''' | ||
Line 28: | Line 29: | ||
|- | |- | ||
|'''[[Class (planet)|Class]]:''' | |'''[[Class (planet)|Class]]:''' | ||
− | |{{{Class|Unknown}}} | + | |{{{Class|Unknown}}}{{#if:{{{Production Grade|}}}|  |
− | {{#if:{{{Tithe Grade|}}}| | + | {{!-}} |
+ | {{!}}'''[[Production Grade]]:''' | ||
+ | {{!}}{{{Production Grade}}}}}{{#if:{{{Tithe Grade|}}}|  | ||
{{!-}} | {{!-}} | ||
{{!}}'''[[Tithe Grade]]:''' | {{!}}'''[[Tithe Grade]]:''' | ||
Line 52: | Line 55: | ||
|Affiliation= | |Affiliation= | ||
|Class= | |Class= | ||
+ | |Production Grade= | ||
|Tithe Grade= | |Tithe Grade= | ||
}}</nowiki> | }}</nowiki> | ||
Line 61: | Line 65: | ||
*[[: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 | ||
[[Category:Summary Templates]] | [[Category:Summary Templates]] | ||
</noinclude> | </noinclude> |
Revision as of 01:57, 14 February 2019
Map | Basic Data | Planetary Image | |
---|---|---|---|
Name: | Planet | ||
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.
- 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: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: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