Edge Rewrite
// HTMLRewriter · presentation

This page was redesigned at the edge.

Cloudflare fetched the original article and streamed it through HTMLRewriter to apply an entirely new visual system without rebuilding the source page.

Jump to content

Template talk:Infobox campground

Page contents not supported in other languages.
Add topic
From Wikipedia, the free encyclopedia
Latest comment: 1 month ago by Zackmann08 in topic Pushpin map cleanup

Broken template

[edit]

Infoboxes without pictures are displaying [[File:{{{Photo}}}|300px]] like that shown for Sykes Camp. There does not seem to be a way around this. Altstikman (talk) 22:48, 18 November 2009 (UTC)Reply

Images

[edit]

I can't get images to work at all. The documentation should show a sample of a blank template. This template needs work. I would also like to suggest the following fields:

  • image
  • imagesize
  • caption
  • established
  • colors
  • mascot
  • campus size

--evrik (talk) 18:35, 14 March 2013 (UTC)Reply

All the current parameters use uppercase first letters. They could all be changed though in the template to be lowercase as most other templates are. -- WOSlinker (talk) 22:50, 18 March 2013 (UTC)Reply
{{{name}}}
{{Infobox campground
 |Name=Camp Kawanhee for Boys
 |Image=
 |Location=[[Weld, Maine|Weld]], [[Maine]]
 |Website= http://www.kawanhee.com
}}


I've added support for lowercase attributes and updated the doc to use them preferably. Chris Cunningham (user:thumperward) (talk) 14:33, 19 March 2013 (UTC)Reply

Here is another sample of the template at work. The coordinates section doesn't seem to work.

The Chewonki Foundation
The main buildings of the Chewonki Foundation
Map
Interactive map of The Chewonki Foundation
LocationWiscasset, Maine, United States
Coordinates43°57′0″N 70°42′10″W / 43.95000°N 70.70278°W / 43.95000; -70.70278
TypeDrive in
Established1915
Websitechewonki.org

15:16, 19 March 2013 (UTC)

Kirby Cove Camp
A view of campsite #4 with outhouse
Map
Interactive map of Kirby Cove Camp
LocationGolden Gate National Recreation Area, Marin Headlands
Coordinates37°49′37″N 122°29′26″E / 37.827039°N 122.490638°E / 37.827039; 122.490638
ElevationSea Level
TypeDrive in
Campsites4
FacilitiesPicnic Table, Waterless toliet
WaterNone
Fee$25 per night camping, $35 day use of picnic area
FiresFire Ring, Stoves
SeasonApril 1 to October 31
Websiterecreation.gov

Another sample of the usage. --evrik (talk) 15:43, 19 March 2013 (UTC)Reply

Color change

[edit]

Is there a way I can change the heading color to a different color? If not could I get a code to do this? I want to change the color to maroon (#80000) Mfribbs (talk) 02:04, 19 December 2013 (UTC)Reply

Ask user:WOSlinker. --evrik (talk) 19:16, 19 December 2013 (UTC)Reply
I've adding a headingcolor param. -- WOSlinker (talk) 22:25, 19 December 2013 (UTC)Reply
Camp Kawanhee for Boys
LocationWeld, Maine
Websitehttp://www.kawanhee.com

Discussion on Wikipedia:Templates_for_discussion/Log/2014_March_22#Template:Infobox_campground

[edit]

Parameters |facilities=; |water=; |fee=; |fires= are trivia and should not be included, per WP:NOTDIRECTORY. I propose to remove them. Andy Mabbett (Pigsonthewing); Talk to Andy; Andy's edits 16:42, 20 April 2014 (UTC)Reply

these seem to be key parameters which describe the properties of the campground, much like the number of floors or height of a building (note that |facilities= is in {{infobox building}} as well). however, I could see removing the fee parameter, since that would most likely change more frequently than the other parameters. Frietjes (talk) 14:09, 21 April 2014 (UTC)Reply
It is not the mere existence, but the use of the |facilities= parameter which is crufty in this infobox. For example, one typical instance has |facilities=Vault Toilets, Picnic Tables. Andy Mabbett (Pigsonthewing); Talk to Andy; Andy's edits 14:34, 21 April 2014 (UTC)Reply
Check out the discussion above. --evrik (talk) 20:57, 4 June 2014 (UTC)Reply

Broken HeadingColor parameter

[edit]

If you use the default HeadingColor (which is blank), the heading is displayed white on a white background, rendering it invisible.

Custom background color

[edit]
{{Infobox campground
 |name=Custom Background
 |headingcolor=#800000 
 | image       = Sykes Hot Springs, United States (Unsplash).jpg
 | caption     = Big Sur River at Sykes Hot Springs
 }}
Custom Background
Big Sur River at Sykes Hot Springs

Default background color

[edit]
{{Infobox campground
 |name=Default Background
 |headingcolor=
 | image       = Sykes Hot Springs, United States (Unsplash).jpg
 | caption     = Big Sur River at Sykes Hot Springs
 }}
Default Background
Big Sur River at Sykes Hot Springs

@WOSlinker: I don't know how template coding works, but it appears you kept the darkgreen color as the default background when it isn't specified. Do you have any idea why this isn't working? (I'm not the original poster.) Hoof Hearted (talk) 19:32, 3 July 2025 (UTC)Reply

If you change {{{headingcolor|darkgreen}}} to {{#if:{{{headingcolor|}}}|{{{headingcolor|}}}|darkgreen}} it will fix the issue. It's in the sandbox if you wish to try. -- WOSlinker (talk) 22:32, 3 July 2025 (UTC)Reply
That did the trick! Thanks! Hoof Hearted (talk) 22:49, 6 July 2025 (UTC)Reply

Pushpin map cleanup

[edit]

As part of a larger refactor of Module:Location map, I will be refactoring the way that this Infobox calls the location map code. The only noticeable change for most will be that the parameter names related to the pushpin maps will now all start with |pushpin_...=. This is part of a larger effort to make things consistent across Infoboxes. When this is done, ALL infoboxes using pushpin maps will use the same parameters. For more information about this, please see this post. As part of this cleanup, I am also going to resolving any conflicting parameters that I can find and cleaning up parameter names that fail to conform to MOS:INFOBOXNAME. Note that this follows a long list of similar clean ups that I have done on countless other Infoboxes. The parameters I plan to replace are the following:

Deprecate Replace with
|headingcolor= |heading_color=
|pushpin_map_caption= |pushpin_caption=
|Rival= |rival=
|Sister_Camp= |sister_camp=
|Directors= |directors=
|Activities_Offered= |activities_offered=

Please chime in below with any questions, comments or concerns about this cleanup. Zackmann (Talk to me/What I been doing) 01:28, 29 June 2026 (UTC)Reply