Wikitravel has been nominated for the 2008 Webby Awards!

Tech:Geo doesnt accept a template as input

From Wikitravel Shared

Jump to: navigation, search

[edit] What happens

I wrote a template that calculates the decimal format needed for the geo-template from the usual degree-minutes-(seconds)-format. Normally it should be possible to uses this template like this: {{geo | {{deg2dec|48|08|14|N}} | {{Deg2Dez|74|00|07|W}} }}

But this does not work for the geo-template.

[edit] When it happens

Always when you use a template inside the geo-template. Even if it does no calculation at all.

[edit] What should happen

I should be possible to use the result of another template as an argument of the geo template!

[edit] How to fix it

I have no idea how RDF works so I do not have any idea how to fix it....