"Wikitravel has a speed and convenience the books' publishers can only envy." Time Europe

Tech:Geo doesnt accept a template as input

From Wikitravel Shared
Jump to: navigation, search

What happens[edit]

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.

When it happens[edit]

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

What should happen[edit]

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

How to fix it[edit]

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

Sign, please[edit]

2007-03-05T21:16:40 Flip666

Comments[edit]

Just a thought: why would we need it? The template {{geo|12.345|67.890}} works fine in most situations. Way too advanced templates (like template in a template...) is not the most user-friendly ting to have. Riggwelter 07:09, 15 July 2008 (EDT)

Variants

Actions

In other languages