Konrad Skeri schrieb:

> How do I modify a variable in a template on the wiki.
> 
> In the Swedish version of the place-template there's a link to a
> weather site with forecasts for the city. Works for all Swedish cities
> as long as there is no space in the area name. However, for Vastra
> Gotaland the url of the area part to the weather site has to be
> Vastra_Gotaland. Is there a simple way to handle this (changing spaces
> to _) within the wiki-templare, or do I have to pass a url-friendly
> area name as a variable?

Maybe the anchorencode function is what you need?

http://www.mediawiki.org/wiki/Help:Magic_words


_______________________________________________
talk mailing list
talk@openstreetmap.org
http://lists.openstreetmap.org/listinfo/talk

Reply via email to