Difference between revisions of "Template:Location map+/old/width"
Jump to navigation
Jump to search
imported>Sphilbrick (remove template) |
imported>Jackmcbarn (old maps are being converted) |
||
| Line 1: | Line 1: | ||
{{#if: {{{width|}}} | {{#if: {{{width|}}} | ||
| {{#invoke:String|replace|source={{{width}}}|px|}} | | {{#invoke:String|replace|source={{{width}}}|px|}} | ||
| − | | {{#expr: {{#if: {{{default_width|}}} | {{{default_width}}} | 240 }} * {{#iferror: {{#expr: {{Location map {{{1}}}|defaultscale}} * 1}} | 1 }} round0 }} | + | | {{#expr: {{#if: {{{default_width|}}} | {{{default_width}}} | 240 }} * {{#iferror: {{#expr: {{#invoke:Location map|data|{{{1}}}|defaultscale}} * 1}} | 1 }} round0 }} |
}}<noinclude> | }}<noinclude> | ||
{{documentation}} | {{documentation}} | ||
</noinclude> | </noinclude> | ||