Template talk:NRHP row

From Wikipedia, the free encyclopedia
Jump to: navigation, search
WikiProject Historic sites (Rated Template-class)
WikiProject icon This template is within the scope of WikiProject Historic sites, a collaborative effort to improve the coverage of historic sites on Wikipedia. If you would like to participate, please visit the project page, where you can join the discussion and see a list of open tasks.
 Template  This template does not require a rating on the project's quality scale.
 
WikiProject National Register of Historic Places (Rated Template-class)
WikiProject icon This template is within the scope of WikiProject National Register of Historic Places, a collaborative effort to improve the coverage of U.S. historic sites listed on the National Register of Historic Places on Wikipedia. If you would like to participate, please visit the project page, where you can join the discussion and see a list of open tasks.
 Template  This template does not require a rating on the project's quality scale.
 

Edit request on 25 April 2012[edit]

Due to recent changes to Template:Dts, transclusions of this template are placing many pages in Category:ParserFunction errors. The problem is when |date= is set to Not listed or another non-date value. To fix this, I propose adding a check to make sure the value of |date= is indeed a date before calling {{dts}}. For example, replace

{{dts|{{{date|}}}}}

with

{{#iferror: {{#time:Z| {{{date|}}} }} | {{{date|}}} | {{dts|{{{date|}}}}} }}

this will first check to make sure |date= is a valid date before passing it to {{dts}}, and if not, then just display it without passing it through to {{dts}}.

Example:

  • Unknown → Unknown
  • 4 July 2010 → 4 July 2010
  • July 4, 2010 → July 4, 2010

Use "view source" to see the hidden date strings if you want to check. 129.237.222.129 (talk) 18:38, 25 April 2012 (UTC)

 Done--Dudemanfellabra (talk) 19:05, 25 April 2012 (UTC)

Edit war[edit]

It's quite disturbing to see something of an edit war regarding this template. The template is an important part of the Wiki Loves Monuments - US (WLM-US) photo contest.

There has been an extended discussion on this at WT:NRHP and, as I read the results 7 editors of the project support the inclusion of the upload button for the one month contest period (perhaps with some tweaks) and 2 editors do not support the upload button.

I'll also say that there is broad multi-lingual support for including the upload button. WLM is running in 35 countries this year, and to the best of my knowledge all of them are including an upload button.

WLM also has strong support at the Foundation level. Sue Gardner prominently mentioned it in her plenary speech at Wikimania. The WMF Board positively mentions WLM 4 times in the 2012-13 Wikimedia Foundation Plan.

The opposition to the upload button seems to misread a "non-consensus consensus" regarding a permanent type of upload button, that was specifically limited in its application and "reached consensus" only in the broadest possible use of the phrase (See Wikipedia:Centralized discussion/Image placeholders). Frankly, I don't think that discussion has any relevance to the current situation.

I'll inform WikiProject:NRHP at WT:NRHP and a couple of the folks who are helping to organize WLM-US and we can have a nice friendly discussion. If anybody thinks we have to have a broader discussion, please do it quickly, so that the discussion does not interfere with the contest, which starts on September 1. Smallbones (talk) 22:05, 13 August 2012 (UTC)

I think this is over. Discussion was moved to Wikipedia:Village_pump_(proposals)#Image_placeholders without notice, and it appears now that Wikipedia:Image placeholders is simply not a guideline and never was. Smallbones (talk) 16:16, 14 August 2012 (UTC)

Upload photo button[edit]

Shouldn't the upload photo button be hidden on rows that already have a photo? Otherwise it adds length to the page without adding any utility. Powers T 18:51, 30 August 2012 (UTC)

The idea is to let folks upload a photo of any site they want, but is not an encouragement to replace all the old photos - of course if a new one is clearly better ...
I'm not sure that the button will be continued after the WLM contest. There are likely a number of reasons not too. Hope this helps. Smallbones(smalltalk) 04:44, 1 September 2012 (UTC)

article title addon feature to handle footnotes[edit]

It's come up in discussion at wt:NRHP, specifically here, that the implementation of NRHP row in the last year caused the loss of footnotes attached to article titles in some (relatively few) NRHP list-articles. For one of these, the Syracuse NY list-article, there were 27 or so footnotes in this version before the NRHP row change was made. They indicated by symbol that a given row item was included in a Multiple Property Submission.

Technically, to restore such footnote indications, I think the NRHP row template would have to be amended by addition of another field, following the "article=" field, perhaps call it "article-addon=" or "article-append=, which would allow for appending anyting to what appears in the article title column already. E.g. so that rather than just Dinnie Apartments appearing, we could have Dinnie Apartments. I suspect that this would be pretty easy to implement as a change here. Comments? --doncram 19:05, 24 October 2012 (UTC)

Did you try the "name_extra" field? It was created to solve this problem. Multichill (talk) 20:02, 24 October 2012 (UTC)
example on how to do this. This footnote system confuses the hell out of me. Did the house die? Why can't I click it? Why can't I just go over it with my mouse to get more info? Some room for improvement here :-) Multichill (talk) 20:07, 24 October 2012 (UTC)
Doh! on me, about my not noticing the "name-extra" field. That's exactly what i was looking for. Thanks for your reply. And, yes, I agree it is not satisfactory that a person can't click on that. Surely the symbol should be made clickable, so that clicking on it would bring the reader to the Key at least. I'll try fixing up the Syracuse list-article again, including making those clickable. Thanks! --doncram 20:13, 24 October 2012 (UTC)
I updated the List of RHPs in Syracuse to use the name-extra field, and for the symbols to be clickable. How could they further be made to show a mouse-over message? --doncram 03:32, 29 October 2012 (UTC)

num-extra field to footnote from the number column[edit]

I've tried but failed in editing the {{NRHP row/sandbox}} (linked sandbox) and {{NRHP row/testcases}} (the testcases) to try to create a num-extra= field, similar to the name-extra= field. This is needed to allow footnoting to keys to explain the HD, NHL, NHLD, other color types that are possible within the leftmost, colored, number column. Such footnoting was required by Featured List reviewers of the only three FLs of related National Historic Landmark list-articles: List of NHLs in Alabama, List of NHLs in Indiana, List of NHLs in Michigan. Such footnoting was used within NRHP list-article List of RHPs in Syracuse but was lost in NRHP row conversion. To bring any NRHP list-articles to Featured List this will also be needed, i expect. I'd like to get it working in the Syracuse list-article, and then share back to NRHP editors at still-current discussion wt:NRHP#MPS info in tables or not?.

MultiChill or other editors, could someone take a look at coding in sandbox to create this num-extra feature? --doncram 03:18, 15 November 2012 (UTC)

Nolatlon[edit]

What is the purpose of the "nolatlon" parameter? I understand it bypasses the latitude/longitude logic, but why? What does it accomplish that isn't done if the "lat" and "lon" parameters are left blank? — Ipoellet (talk) 20:53, 17 March 2013 (UTC)

The inclusion of that parameter in the documentation is outdated. The parameter is no longer supported by the template. As such, I have updated the documentation.--Dudemanfellabra (talk) 22:12, 17 March 2013 (UTC)

Edit of 25 Feb. 2014[edit]

Dudemanfellabra's most recent edit to this template is causing big red parser-function-error messages to appear in more than 100 (at least) articles in which the template is used—mainly, but not exclusively, in tables of former NRHP listings. See Category:ParserFunction errors. (Since the template is full-protected, an admin is required to revert or emend the changes.) Deor (talk) 01:13, 26 February 2014 (UTC)

I took a quick look and don't see any errors. Can you point out a specific page that has one? Jackmcbarn (talk) 01:22, 26 February 2014 (UTC)
Never mind, now I see some. Looking... Jackmcbarn (talk) 01:23, 26 February 2014 (UTC)
Done Changes reverted for now. Jackmcbarn (talk) 01:26, 26 February 2014 (UTC)
Done Jackmcbarn it is throwing errors on pages where they are listing "former" places. I've edited through an (edit conflict) with you to just comment out the code that is causing the issue. The problem is that they are listing two dates in one |date= parameter and then trying to use #time: to #ifexpr: test if the date is after a certain date. — {{U|Technical 13}} (tec) 01:35, 26 February 2014 (UTC)
I've edited the template to check if the date is actually a date first before testing. Problem fixed.--Dudemanfellabra (talk) 01:59, 26 February 2014 (UTC)

Commonscat[edit]

Hi, I have started to chip away at the list Wikipedia:WikiProject National Register of Historic Places/Missing commons category links and including the categories in the lists like I similaraly do that on British listed building lists or similar lists on deWiki. I just have been made aware that the parameter does not even exist, so I doublechecked and the issue was discussed in Wikipedia talk:WikiProject National Register of Historic Places/Archive 57#Commons category links. Everybody thought it was a great idea and then obviously nobody implemented it. In the meantime the bot racked up a list of 2200 categories to be matched.

In short I propose the parameter commonscat to be implemented in line with the other listed building templates. An example of it in action can be seen at Grade II* listed buildings in West Oxfordshire.

I am not a particular good template coder but I think the code would be as follows: {{#if:{{{commonscat|}}}|[[:commons:Category:{{{commonscat}}}|More images]]}}|style="vertical-align:middle;text-align:center" {{!}}}} to be inserted right after the placement of the image. Agathoclea (talk) 20:23, 5 April 2014 (UTC)

see Wikipedia talk:WikiProject National Register of Historic Places#Revisiting Commonscat already done. Agathoclea (talk) 09:33, 22 April 2014 (UTC)

Links not working[edit]

I have started a discussion that will effect this template about the broken links to the "search" feature of the NPS website. The discussion his here.--ARTEST4ECHO (talk) 16:01, 29 May 2014 (UTC)

WLM-US to WSM[edit]

"WSM" is Wikipedia Summer of Monuments. It's basically the same thing as Wiki Loves Monuments USA but with a longer upload period and participation by Galleries, Libraries, Archives and Museums. For more information see commons:Commons:Wikipedia Summer of Monuments and meta:Grant:PEG/WM US-DC/Summer of Monuments 2014. While the upload period is July 1–September 30 instead of September 1–September 30, I will respect consensus if people do not want the campaign upload button activated for three months. Harej (talk) 00:04, 24 June 2014 (UTC)

For more, see this thread at WikiProject NRHP. Harej (talk) 02:54, 24 June 2014 (UTC)

Template-protected edit request on 7 September 2016[edit]

The Upload Wizard campaign for missing NRHP images currently links to the Summer of Monuments campaign, an event that took place a few years ago. Wiki Loves Monuments 2016 is now live, and I'm requesting that the Upload Wizard campaign be updated to this year's event by replacing Special:UploadWizard&campaign=wsm with Special:UploadWizard&campaign=wlm-us. Thanks! ~SuperHamster Talk Contribs 06:54, 7 September 2016 (UTC)

Done — Martin (MSGJ · talk) 08:26, 7 September 2016 (UTC)

Citing coordinates[edit]

Can we add a |coord_extra= parameter so that an editor can add a citation or {{efn}} to the coordinates for a listing, similar to the existing |name_extra= and |refnum_extra=? — Ipoellet (talk) 03:54, 8 September 2016 (UTC)

"No article" option needed, and row anchor[edit]

For cases where no article is wanted, such as some archeological sites where no information is available or expected, we want for the NRHP row to list the site but not create a wikilink. This template needs to allow for that.

A current example, where I wish to use such a feature, is for the Martin Site on the National Register of Historic Places listings in Powell County, Kentucky list. I redirected Martin Site (Stanton, Kentucky) to the list article. The list-article should show the site name, without that being wikilinked. (Currently it shows a bluelink, but that just goes to the redirect back to the list-article.)

Also I would like to put in a row anchor, so that the redirect comes to where intended within the table (the redirect goes specifically to National Register of Historic Places listings in Powell County, Kentucky#Martin Site), but usage of 'id="Martin Site"' is needed for that to work. (One example list-article with row anchors set that way is List of named corners of the Snaefell Mountain Course.).

I suppose that an old-fashioned row could be constructed that would appear as wished, but I expect that will mess up the NationalRegisterBot which relies upon regular structure in NRHP county list-articles, or mess up something else. --doncram 02:44, 5 March 2017 (UTC)

Badly formatted entries in tables[edit]

Just wanted to give a ping about commons:Commons:Monuments_database/Unknown_fields/monuments_us_(en) which tracks parameters of this template which are unrecognized during the daily harvesting used for Wiki Loves Monuments (WLM). There are a few parameters which the WLM team need to support but most of the entries are simple typos resulting from a stray | character. USing the new "Source" column these should be fairly easy to track down and fix. /André Costa (WMSE) (talk) 12:30, 27 September 2017 (UTC)