YOU CAN EDIT THIS PAGE! Just click any blue "Edit" link and start writing!

Graffiti wall/SubPage Test

From Wikitravel
Graffiti wall : SubPage Test
Jump to: navigation, search
Graffiti wall/SubPage Test

Default Banner.jpg

(This page is an experiment.)

{{subst:#explode:{{subst:SUBPAGENAME}}| (|0}}

This page is using a Graffiti wall test template version of the forecast template. My test template is called with {{Graffiti wall|Seattle|47.3622|-122.1955}} It adds the geo template by embedding {{geo|{{{2}}}|{{{3}}}}} in Template:Forecast.

The result is adding a "map" link in the toolbox on the left.

This change immediately will add the map link to any page which already includes coordinates in the forecast template. If the page already includes both the geo and the forecast template, then the last one on the page is used for the map link. Since geo template is normally at the bottom of the page and forecast template is placed under climate, this means that the existing "geo" coordinates would continue to be used for the map, in case of conflict.

This should also work for the Template:ForecastNOAA. The Template:ClimateFahrenheit could also be modified, but would require placing the geo template inside the #if which checks for presence of coordinates. I have not tested either of these, but no reason not to work.

This would automatically add the map link to pages which already have NOAA weather links but not the geo template. Pages such as Anchorage, Corpus Christi, Pittsburgh. Bill in STL 20:38, 20 August 2010 (EDT)

DIRECT ALL COMMENTS to Template talk:Forecast. This test page may get reused for other testing at any time.

Hello - first edits!!