Misplaced Pages

User:Franamax/Test10: Difference between revisions

Article snapshot taken from Wikipedia with creative commons attribution-sharealike license. Give it a read and then ask your questions in the chat. We can research this topic together.
< User:Franamax Browse history interactively← Previous editContent deleted Content addedVisualWikitext
Revision as of 00:37, 3 September 2008 editFranamax (talk | contribs)18,113 editsm test← Previous edit Latest revision as of 16:27, 27 October 2021 edit undoWOSlinker (talk | contribs)Administrators854,910 edits fix image params 
(17 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<div style="width: {{#expr: {{{width|240}}} + 2 }}px; {{#if: {{{caption|}}}
<span id="{{{User|{{{1|Example}}}}}}" class="plainlinks" style="color:#002bb8">] (] <small>•</small> ] <small>•</small> <small>•</small> {{Plainlinks|URL= http://en.wikipedia.org/w/api.php?action=query&list=users&usprop=editcount&format=xml&ususer={{{{{subst|}}}urlencode:{{{1|Example User}}}}}|NAME=total}} <small>•</small> )</span><noinclude>
| padding: 3px; border: 1px solid {{#if: {{{border|}}}
| {{{border|none}}}
| #CCCCCC
}}; margin: 3px;
}} float:{{#switch:{{{float|}}}
| "center"=none | center=none | "left"=left | left=left
| "right"=right | right=right | "none"=none | none=none
|right}}; clear:{{#switch:{{{float|}}}
| "center"=both | center=both | "left"=left | left=left
| "right"=right | right=right | "none"=none | none=none
|right}}; {{#if: {{{caption|}}}
| ;background:#F9F9F9"|"
}}><!--
---------------------------------------------- Begin Map division
--><div style="position: relative;{{#ifeq: {{{border|}}} | none |
|border: 1px solid {{#if: {{{border|}}}
| {{{border}}}
| {{#if:{{{caption|}}}|#CCCCCC|none}}
}};
}} padding: 0px; width: {{{width|240}}}px">[[image:{{#if: {{{AlternativeMap|}}}
| {{{AlternativeMap}}}
| {{User:Franamax/Test6|image}}
}}|{{{width|240}}}px|{{ <!--width "70" or "70px"-->
#if: {{{label|}}}
| {{{label}}}
| {{PAGENAME}}
}}<!-- endif label--> ({{User:Franamax/Test6|name}})]]<br /><!--
================================================= Marker/Label #1
-->{{#if: {{{lat|{{{lat_deg|}}} }}} | <!--
--then latitude-1 exists --------------- Verify lat./longitude
-->{{
#ifexpr:{{{lat|{{{lat_deg|}}}}}}<{{User:Franamax/Test6|bottom}}
|<!--then-->Latitude#1 ({{{lat|{{{lat_deg|}}}}}}) < map<!--
--> min({{#expr:{{User:Franamax/Test6|bottom}} round 2}}).| }}
{{#ifexpr: {{{lat|{{{lat_deg|}}}}}} > {{User:Franamax/Test6|top}}
|<!--then-->Latitude#1 ({{{lat|{{{lat_deg|}}}}}}) > map<!--
--> max({{#expr:{{User:Franamax/Test6|top}} round 2}}).| }}
{{#ifexpr:{{{long|{{{lon_deg|}}}}}} <{{User:Franamax/Test6|left}}
|<!--then-->Longitude#1({{{long|{{{lon_deg|}}}}}}) < map<!--
--> min({{#expr:{{User:Franamax/Test6|left}} round 2}}).| }}
{{#ifexpr: {{{long|{{{lon_deg|}}}}}}
> {{User:Franamax/Test6|right}}
|<!--then-->Longitude#1({{{long|{{{lon_deg|}}}}}}) > map<!--
--> max({{#expr:{{User:Franamax/Test6|right}} round 2}}).|}}
<!-- --------------------------------- Begin point division #1 -->
<div style="position: absolute; z-index: 2;
top: {{#expr: <!--To DEBUG, add ">" above to show calc below-->
100 * ({{User:Franamax/Test6|top}} -
{{#expr: {{#ifeq: {{{lat_dir|}}}|S|-1|1}}
* ( {{{lat_deg|{{{lat|0}}} }}} + ({{{lat_min|0}}} / 60)
+ ( {{{lat_sec|0}}} / 3600) ) }}<!--endexpr-->
) / ( {{User:Franamax/Test6|top}}
- {{User:Franamax/Test6|bottom}} ) round 1
}}<!--endexpr-->%; left: {{#expr:
{{#expr:{{#if:{{User:Franamax/Test6|crosses180}}
|{{#ifeq: {{{lon_dir|}}}|W|-36000/({{User:Franamax/Test6|left}}
- {{User:Franamax/Test6|right}})|}}|}}
}} + 100 * (<!--paren7--> {{
<!-- ------------------------------- Check for skew-->
#if: {{{skew|{{#expr:{{User:Franamax/Test6|skew}}}}<!--expr-->}}}
|<!--then-->
{{#expr: {{#expr: ( <!-- ----------------- skewed Y -->
{{#ifeq: {{{lon_dir|}}}|W|-1|1}}
* ( {{{lon_deg|{{{long|0}}} }}} + ({{{lon_min|0}}} / 60)
+ ({{{lon_sec|0}}} / 3600) )
- 0.5*( <!-- -----minus mid-longitude-->
{{User:Franamax/Test6|right}}+{{User:Franamax/Test6|left}})
+ {{{lon_shift|0}}} <!--plus longitude-center shift-->
) <!--end skewed Y-->
* ( <!----------------------- apply skewfactor for latitude -->
<!--skewfactor = --> (1 -
{{{skew|{{#expr:{{User:Franamax/Test6|skew}}}}<!--expr-->}}} )
* ( {{User:Franamax/Test6|top}} -
{{#expr: {{#ifeq: {{{lat_dir|}}}|S|-1|1}}
* ( {{{lat_deg|{{{lat|0}}} }}} + ({{{lat_min|0}}} / 60)
+ ({{{lat_sec|0}}} / 3600) )}}
) / ( {{User:Franamax/Test6|top}}
- {{User:Franamax/Test6|bottom}} )
+ {{{skew|{{#expr:{{User:Franamax/Test6|skew}} }} }}}
) <!--endapply skewfactor-->
+ 0.5*( <!-- ----------------------------readd mid-longitude-->
{{User:Franamax/Test6|right}}+{{User:Franamax/Test6|left}} )
- {{{lon_shift|0}}} <!--minus longitude-center shift-->
}}<!--endexpr--> }}<!--endexpr-->
|<!--else-NOT-skew ---------------------- begin rectangular Y-->
{{#expr: {{#ifeq: {{{lon_dir|}}}|W|-1|1}}
* ( {{{lon_deg|{{{long|0}}} }}} + ({{{lon_min|0}}} / 60)
+ ({{{lon_sec|0}}} / 3600) ) }}<!--endexpr-->
}}<!--endif skew -->
- {{User:Franamax/Test6|left}} )<!--endparen7-->
<!-- ----------------------------- Divide by longitude range -->
/ ({{User:Franamax/Test6|right}} - {{User:Franamax/Test6|left}}) round 1
}}%; height: 0; width: 0; margin: 0; padding: 0;"><!--
------------------------------------------------ Marker#1 division
--><div style="position: relative; text-align: center; {{#if: {{{marksize|}}}
| left: -{{#expr: {{{marksize}}} / 2 round 0 }}px; top: -{{#expr: {{{markhigh|8}}} / 2 round 0 }}px; width: {{{marksize}}}px; font-size: {{{marksize}}}px;
| left: -{{#expr: {{#if: {{User:Franamax/Test6|marksize}}
|{{User:Franamax/Test6|marksize}}
|<!--else-->8}} / 2 round 0 }}px; top: -{{#expr:
{{#if: {{User:Franamax/Test6|markhigh}}
|{{User:Franamax/Test6|markhigh}}
|<!--else-->8}} / 2 round 0 }}px; width: {{
#if: {{User:Franamax/Test6|marksize}}
|{{User:Franamax/Test6|marksize}}
|<!--else-->8}}px; font-size: {{
#if: {{User:Franamax/Test6|marksize}}
|{{User:Franamax/Test6|marksize}}
|<!--else-->8}}px;
}}"><!-- specify marker#1 -->[[Image:{{#if: {{{mark|}}}
| {{{mark}}}
| {{#if: {{User:Franamax/Test6|mark}}|{{User:Franamax/Test6|mark}}|Locator Dot.gif}}
}}|{{#if: {{{marksize|}}}
| {{{marksize}}}
| <!--else-->{{#if: {{User:Franamax/Test6|marksize}}
|{{User:Franamax/Test6|marksize}}|<!--else-->8}}
}}<!--endif-->px|{{#if: {{{label|}}}
| {{{label}}}
| {{PAGENAME}}
}}<!--endif label-->]]</div><!-- end-div marker1
---------------------------------------------- Label #1
-->{{#ifeq: {{{position|{{{pos|}}}}}} | none
|
|<div style="font-size: {{{label_size|90}}}%; line-height: 110%;
position: relative; top: -1.5em; width: 6em;
{{#switch: {{{position|{{{pos|right}}}}}}
|left = top:-{{#expr: {{{markhigh|{{{marksize|8}}}}}}*0.76
+ {{{label_size|90}}}*.15 - 2.5 round 0}}px;
left: -{{#expr: 6.05 + {{{marksize|8}}}/21
+ {{{label_size|90}}}/1855 }}em; text-align: right;
|right = top: -{{#expr: {{{markhigh|{{{marksize|8}}}}}}*0.76
+ {{{label_size|90}}}*.15 - 2.5 round 0}}px;
left: {{#expr: 0.37 + {{{marksize|8}}}/165
+ {{{label_size|90}}}/505 }}em; text-align: left;
|top = top:-{{#expr: {{{markhigh|{{{marksize|8}}}}}}*1.78
+ {{{label_size|90}}}*.15 + 1.5 round 0}}px;
left: -3em; text-align: center;
|bottom = top: {{#expr: -{{{markhigh|{{{marksize|8}}}}}}*.50
- {{{label_size|90}}}*.02 + 3.9 round 0}}px;
left: -3em; text-align: center;
|<!--out-->}}"><span style="padding: 1px;
{{#if: {{{background|{{{bg|}}}}}}
| background-color: {{{background|{{{bg}}}}}};
}}">{{{label|}}}</span></div><!-- end-div label1 -->
}}</div><!--end-div point#1-->
|<!--else, no latitude1 -->}}<!--endif lat* --
<div style="font-size: 90%">abc{{{caption|{{#if: {{{label|}}}
| {{{label}}}
| {{PAGENAME}}
}} ({{User:Franamax/Test6|name}})}}}</div><!-- end-div caption --
--></div><!-- end-div overall box -->

Latest revision as of 16:27, 27 October 2021

Franamax/Test10 (Northern Ontario)