Difference between pages "Template:Cape Cod overlay map" and "Template:Cape Cod overlay map/sandbox"
(Difference between pages)
Jump to navigation
Jump to search
imported>Grolltech (for some reason, overlay #2, 3 and 4 were not displaying the same color as #1) |
imported>Grolltech (creating) |
||
| Line 1: | Line 1: | ||
| − | <div class="{{#switch:{{{float|}}} | + | <!-- |
| + | |||
| + | Add your experimental template code here. | ||
| + | |||
| + | --><div class="{{#switch:{{{float|}}} | ||
| left | | left | ||
| Left = tleft | | Left = tleft | ||
| Line 31: | Line 35: | ||
|overlay1 = Bourne | |overlay1 = Bourne | ||
|overlay1link = Bourne, Massachusetts | |overlay1link = Bourne, Massachusetts | ||
| − | |overlay1top = {{#expr: ( | + | |overlay1top = {{#expr: (131 * ({{#if:{{{width|}}}|{{#expr: ({{{width}}} * 0.75 / 225)}}|1}} )) round 0}} |
|overlay1left = {{#expr: (69 * ({{#if:{{{width|}}}|{{{width}}}|300}}/300)) round 0}} | |overlay1left = {{#expr: (69 * ({{#if:{{{width|}}}|{{{width}}}|300}}/300)) round 0}} | ||
|overlay2color = green | |overlay2color = green | ||
|overlay2 = Falmouth | |overlay2 = Falmouth | ||
|overlay2link = Falmouth, Massachusetts | |overlay2link = Falmouth, Massachusetts | ||
| − | |overlay2top = {{#expr: ( | + | |overlay2top = {{#expr: (170 * ({{#if:{{{width|}}}|{{#expr: ({{{width}}} * 0.75)}}|225}}/225)) round 0}} |
|overlay2left = {{#expr: (64 * ({{#if:{{{width|}}}|{{{width}}}|300}}/300)) round 0}} | |overlay2left = {{#expr: (64 * ({{#if:{{{width|}}}|{{{width}}}|300}}/300)) round 0}} | ||
|overlay3color = green | |overlay3color = green | ||
|overlay3 = Sandwich | |overlay3 = Sandwich | ||
|overlay3link = Sandwich, Massachusetts | |overlay3link = Sandwich, Massachusetts | ||
| − | |overlay3top = {{#expr: ( | + | |overlay3top = {{#expr: (128 * ({{#if:{{{width|}}}|{{#expr: ({{{width}}} * 0.75)}}|225}}/225)) round 0}} |
|overlay3left = {{#expr: (94 * ({{#if:{{{width|}}}|{{{width}}}|300}}/300)) round 0}} | |overlay3left = {{#expr: (94 * ({{#if:{{{width|}}}|{{{width}}}|300}}/300)) round 0}} | ||
|overlay4color = green | |overlay4color = green | ||
|overlay4 = Mashpee | |overlay4 = Mashpee | ||
|overlay4link = Mashpee, Massachusetts | |overlay4link = Mashpee, Massachusetts | ||
| − | |overlay4top = {{#expr: ( | + | |overlay4top = {{#expr: (161 * ({{#if:{{{width|}}}|{{#expr: ({{{width}}} * 0.75)}}|225}}/225)) round 0}} |
|overlay4left = {{#expr: (92 * ({{#if:{{{width|}}}|{{{width}}}|300}}/300)) round 0}} | |overlay4left = {{#expr: (92 * ({{#if:{{{width|}}}|{{{width}}}|300}}/300)) round 0}} | ||
|overlay5color = blue | |overlay5color = blue | ||
|overlay5 = Barnstable | |overlay5 = Barnstable | ||
|overlay5link = Barnstable, Massachusetts | |overlay5link = Barnstable, Massachusetts | ||
| − | |overlay5top = {{#expr: ( | + | |overlay5top = {{#expr: (144 * ({{#if:{{{width|}}}|{{#expr: ({{{width}}} * 0.75)}}|225}}/225)) round 0}} |
|overlay5left = {{#expr: (130 * ({{#if:{{{width|}}}|{{{width}}}|300}}/300)) round 0}} | |overlay5left = {{#expr: (130 * ({{#if:{{{width|}}}|{{{width}}}|300}}/300)) round 0}} | ||
|overlay6 = Yarmouth | |overlay6 = Yarmouth | ||
|overlay6link = Yarmouth, Massachusetts | |overlay6link = Yarmouth, Massachusetts | ||
| − | |overlay6top = {{#expr: ( | + | |overlay6top = {{#expr: (141 * ({{#if:{{{width|}}}|{{#expr: ({{{width}}} * 0.75)}}|225}}/225)) round 0}} |
|overlay6left = {{#expr: (170 * ({{#if:{{{width|}}}|{{{width}}}|300}}/300)) round 0}} | |overlay6left = {{#expr: (170 * ({{#if:{{{width|}}}|{{{width}}}|300}}/300)) round 0}} | ||
|overlay7 = Dennis | |overlay7 = Dennis | ||
|overlay7link = Dennis, Massachusetts | |overlay7link = Dennis, Massachusetts | ||
| − | |overlay7top = {{#expr: ( | + | |overlay7top = {{#expr: (124 * ({{#if:{{{width|}}}|{{#expr: ({{{width}}} * 0.75)}}|225}}/225)) round 0}} |
|overlay7left = {{#expr: (184 * ({{#if:{{{width|}}}|{{{width}}}|300}}/300)) round 0}} | |overlay7left = {{#expr: (184 * ({{#if:{{{width|}}}|{{{width}}}|300}}/300)) round 0}} | ||
|overlay8color = red | |overlay8color = red | ||
|overlay8 = Brewster | |overlay8 = Brewster | ||
|overlay8link = Brewster, Massachusetts | |overlay8link = Brewster, Massachusetts | ||
| − | |overlay8top = {{#expr: ( | + | |overlay8top = {{#expr: (110 * ({{#if:{{{width|}}}|{{#expr: ({{{width}}} / 300)}}|1}} )) round 0}} |
|overlay8left = {{#expr: (212 * ({{#if:{{{width|}}}|{{{width}}}|300}}/300)) round 0}} | |overlay8left = {{#expr: (212 * ({{#if:{{{width|}}}|{{{width}}}|300}}/300)) round 0}} | ||
|overlay9 = Harwich | |overlay9 = Harwich | ||
|overlay9link = Harwich, Massachusetts | |overlay9link = Harwich, Massachusetts | ||
| − | |overlay9top = {{#expr: ( | + | |overlay9top = {{#expr: (137 * ({{#if:{{{width|}}}|{{#expr: ({{{width}}} * 0.75 / 225)}}|1}} )) round 0}} |
|overlay9left = {{#expr: (213 * ({{#if:{{{width|}}}|{{{width}}}|300}}/300)) round 0}} | |overlay9left = {{#expr: (213 * ({{#if:{{{width|}}}|{{{width}}}|300}}/300)) round 0}} | ||
|overlay10 = Chatham | |overlay10 = Chatham | ||
|overlay10link = Chatham, Massachusetts | |overlay10link = Chatham, Massachusetts | ||
| − | |overlay10top = {{#expr: ( | + | |overlay10top = {{#expr: (140 * ({{#if:{{{width|}}}|{{#expr: ({{{width}}} * 0.75)}}|225}}/225)) round 0}} |
|overlay10left = {{#expr: (239 * ({{#if:{{{width|}}}|{{{width}}}|300}}/300)) round 0}} | |overlay10left = {{#expr: (239 * ({{#if:{{{width|}}}|{{{width}}}|300}}/300)) round 0}} | ||
|overlay11color = saddlebrown | |overlay11color = saddlebrown | ||
|overlay11 = Orleans | |overlay11 = Orleans | ||
|overlay11link = Orleans, Massachusetts | |overlay11link = Orleans, Massachusetts | ||
| − | |overlay11top = {{#expr: ( | + | |overlay11top = {{#expr: (110 * ({{#if:{{{width|}}}|{{#expr: ({{{width}}} * 0.75)}}|225}}/225)) round 0}} |
|overlay11left = {{#expr: (239 * ({{#if:{{{width|}}}|{{{width}}}|300}}/300)) round 0}} | |overlay11left = {{#expr: (239 * ({{#if:{{{width|}}}|{{{width}}}|300}}/300)) round 0}} | ||
|overlay12 = Eastham | |overlay12 = Eastham | ||
|overlay12link = Eastham, Massachusetts | |overlay12link = Eastham, Massachusetts | ||
| − | |overlay12top = {{#expr: ( | + | |overlay12top = {{#expr: (83 * ({{#if:{{{width|}}}|{{#expr: ({{{width}}} * 0.75)}}|225}}/225)) round 0}} |
|overlay12left = {{#expr: (236 * ({{#if:{{{width|}}}|{{{width}}}|300}}/300)) round 0}} | |overlay12left = {{#expr: (236 * ({{#if:{{{width|}}}|{{{width}}}|300}}/300)) round 0}} | ||
|overlay13 = Wellfleet | |overlay13 = Wellfleet | ||
|overlay13link = Wellfleet, Massachusetts | |overlay13link = Wellfleet, Massachusetts | ||
| − | |overlay13top = {{#expr: ( | + | |overlay13top = {{#expr: (50 * ({{#if:{{{width|}}}|{{#expr: ({{{width}}} * 0.75)}}|225}}/225)) round 0}} |
|overlay13left = {{#expr: (225 * ({{#if:{{{width|}}}|{{{width}}}|300}}/300)) round 0}} | |overlay13left = {{#expr: (225 * ({{#if:{{{width|}}}|{{{width}}}|300}}/300)) round 0}} | ||
|overlay14 = Truro | |overlay14 = Truro | ||
|overlay14link = Truro, Massachusetts | |overlay14link = Truro, Massachusetts | ||
| − | |overlay14top = {{#expr: ( | + | |overlay14top = {{#expr: (27 * ({{#if:{{{width|}}}|{{#expr: ({{{width}}} * 0.75)}}|225}}/225)) round 0}} |
|overlay14left = {{#expr: (214 * ({{#if:{{{width|}}}|{{{width}}}|300}}/300)) round 0}} | |overlay14left = {{#expr: (214 * ({{#if:{{{width|}}}|{{{width}}}|300}}/300)) round 0}} | ||
|overlay15 = Provincetown | |overlay15 = Provincetown | ||
|overlay15link = Provincetown, Massachusetts | |overlay15link = Provincetown, Massachusetts | ||
| − | |overlay15top = {{#expr: ( | + | |overlay15top = {{#expr: (2 * ({{#if:{{{width|}}}|{{#expr: ({{{width}}} * 0.75)}}|225}}/225)) round 0}} |
|overlay15left = {{#expr: (171 * ({{#if:{{{width|}}}|{{{width}}}|300}}/300)) round 0}} | |overlay15left = {{#expr: (171 * ({{#if:{{{width|}}}|{{{width}}}|300}}/300)) round 0}} | ||
| + | |||
}}</div><noinclude> | }}</div><noinclude> | ||
| − | |||
{{Documentation}} | {{Documentation}} | ||
| − | |||
</noinclude> | </noinclude> | ||