Jump to content

Template talk:Mountain index row

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia

Fixing this template

[edit]

Can someone help fixing the spurious carriage returns generated by this template? —hike395 (talk) 04:43, 5 December 2009 (UTC)[reply]

I am starting to take a look at it now. One thing I noticed is that the use of |last= and |first= parameters is a little unusual; for this sort of template, it's more normal to have something like {{mountain index top}}, {{mountain index row}}, and {{mountain index bottom}}, and it would be used like
{{mountain index top}}
{{mountain index row | ...... }}
{{mountain index row | ...... }}
{{mountain index row | ...... }}
{{mountain index row | ...... }}
{{mountain index row | ...... }}
{{mountain index top}}
For instance, {{bar box}} works in this way. I am still trying to fiddle around to see how that would work for this, though, and if that would resolve the problem.
My impression really is that it would be easier just to make these tables using the wiki table markup. That's more common, it keeps you from having to repeatedly enter parameter names, and doesn't require all this debugging. The table in List of peaks named Bear Mountain (just the first couple lines, for ease of exposition) would be:
{| class="wikitable"
|-
! Name !! GNIS !! State !! County !! Coordinates
|-
| Bear Mountain || 165010 || AL || St. Clair || {{coord|33|46|05|N|086|31|34|W|}}
|-
| Bear Mountain || 57348 || AR || Cleburne || {{coord|35|37|23|N|092|04|03|W|}}
|-
|Bear Mountain|| 70570 || AR || Logan || {{coord|35|13|45|N|093|20|50|W|}}
|-
Bear Mountain || 70572 || AR || Montgomery || {{coord|34|29|00|N|093|37|22|W|}}
|-
|}
(and the colors can be changed with a few simple CSS-like phrases). rʨanaɢ talk/contribs 04:53, 5 December 2009 (UTC)[reply]
Thanks for your help!! I think we used to have {{mountain index begin}}, but someone (me?) changed it, trying to fix the problem. Perhaps a wikitable would be the right answer: we would have to change it in several articles. —hike395 (talk) 05:20, 5 December 2009 (UTC)[reply]
Another idea: down at the bottom you have
</tr>
<noinclude>{{documentation}}</noinclude>
Try joining these together, thus:
</tr><noinclude>{{documentation}}</noinclude>
--Redrose64 (talk) 14:16, 5 December 2009 (UTC)[reply]
Fixed. Removing all the newlines solved the problem. rʨanaɢ talk/contribs 15:44, 5 December 2009 (UTC)[reply]

Disambiguation fix needed.

[edit]

Please fix this template so that links to New York pipe through New York (state), per consensus in the discussion at Talk:New York#Proposed action to resolve incorrect incoming links. Cheers! bd2412 T 16:30, 17 September 2016 (UTC)[reply]

 Done --- You were close: just needed two closing braces —hike395 (talk) 02:04, 18 September 2016 (UTC)[reply]

Standardizing on Coord=

[edit]

Individual lat and long parameters are no longer needed. Infobox coord will be going away soon, per [[Wikipedia:Coordinates in infoboxes ]]. I tried to remove them from the template, but my edit messed up the syntax. I'll have to try again when it is not so late at night. Someone else is welcome to remove them. – Jonesey95 (talk) 06:14, 5 June 2017 (UTC)[reply]

GNIS linkrot

[edit]

The URL for the GNIS links needs to be changed from https://geonames.usgs.gov/apex/f?p=gnispq:3:::NO::P3_FID:[ID#] to https://edits.nationalmap.gov/apps/gaz-domestic/public/search/names/[ID#] Mapsax (talk) 21:05, 8 May 2024 (UTC)[reply]

 Fixed with suitable application of {{GNIS URL}}. — hike395 (talk) 23:31, 8 May 2024 (UTC)[reply]