Difference between revisions of "Template:Location map+/old/width"
Jump to navigation
Jump to search
imported>Sphilbrick (remove template) |
imported>Jackmcbarn m (includeonly) |
||
| (One intermediate revision by the same user not shown) | |||
| Line 1: | Line 1: | ||
| − | {{#if: {{{width|}}} | + | <includeonly>{{#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> | + | }}</includeonly><noinclude> |
{{documentation}} | {{documentation}} | ||
</noinclude> | </noinclude> | ||