Template talk:Rijksmonument

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia
WikiProject iconNetherlands Template‑class
WikiProject iconThis template falls within the scope of WikiProject Netherlands, an attempt to create, expand, and improve articles related to the Netherlands on Wikipedia. If you would like to participate, visit the project page where you can join the project or contribute to the discussion.
TemplateThis template does not require a rating on Wikipedia's content assessment scale.
WikiProject iconHistoric sites Template‑class High‑importance
WikiProject iconThis 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.
TemplateThis template does not require a rating on Wikipedia's content assessment scale.
HighThis template has been rated as High-importance on the project's importance scale.

Creation[edit]

I created this template to tag Dutch Rijksmonuments. I am not familiar with intricate coding so it is very simple. Usage is to {{Rijksmonument|Official monument number}}. It will generate a small box with the number and a reference to a registry. If anyone knows how to insert the official monument number inside the hyperlink please do. I have no idea how.

It will also add the article to the category rijksmonuments.Arnoutf (talk) 17:10, 20 February 2010 (UTC)[reply]

I added a link to a more official source, added an image, doc, etc. I hope you like it. --Muhandes (talk) 22:11, 11 August 2010 (UTC)[reply]
Great thanks, had some problems finding a better sources and this one is indeed better. Also the blue shield is nice addition. Arnoutf (talk) 17:26, 12 August 2010 (UTC)[reply]

Allignment[edit]

This template needs some cleanup. As it is currently implemented, it places the box into the text areas. This would be better located under the infobox, if there is one. If you look at an article like American Hotel, Amsterdam, the two infoboxes are placed next to each other making the article look tacky. Vegaswikian (talk) 22:42, 14 August 2011 (UTC)[reply]

I'm not a style expert, but it seems like converting it to use the infobox style does exactly what you asked for, with two side effects. First, the text is slightly higher. Second, which might actually be beneficial, if two of these are used they will always be one below the other, not to the left. I implemented it in the sandbox, here's an example, note where the template shows and how:
American Hotel
General information
LocationAmsterdam, Netherlands
Opening1900

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

Dutch Rijksmonument 3403
Dutch Rijksmonument 518484
Is this what you meant? --Muhandes (talk) 20:47, 15 August 2011 (UTC)[reply]
I think this is an improvement. Jane (talk) 19:52, 15 January 2012 (UTC)[reply]
OK, I synched it, let me know (and/or revert) if it causes any problems. --Muhandes (talk) 11:00, 16 January 2012 (UTC)[reply]

wrong website[edit]

This template references the KICH website which is deprecated in favor of the monumentenregister voor cultureelerfgoed. I would change it, but I believe some of the numbers have changed as well. Jane (talk) 19:52, 15 January 2012 (UTC)[reply]

Can you give an example of a monument that changed number? --Muhandes (talk) 11:08, 16 January 2012 (UTC)[reply]
I am not aware of any number changes, but the url's at http://monumentenregister.cultureelerfgoed.nl/php/main.php seem pretty inhospitable. BTW, I am interested in creating an inline version of this template, which does not create a box (with the image), but which just generates a short link which can be placed anywhere in text, lists, etc.
If I can help with that, drop me a note. Superp (talk) 15:53, 6 February 2012 (UTC)[reply]
Also see this edit over at commons. Superp (talk) 16:55, 6 February 2012 (UTC)[reply]
 Done and used a much better URL, http://monumentenregister.cultureelerfgoed.nl/php/main.php?cAction=show&cOBJnr=3403 for example. An inline version can be easily implemented, are you looking for something like {{Cite AHPI}}? Maybe {{cite Monumentenregister}}? --Muhandes (talk) 19:12, 6 February 2012 (UTC)[reply]
I created a quick version at my space, see if this is what you are looking for:

{{cite Monumentenregister|American Hotel|3403}} produces:

User:Muhandes/cite Monumentenregister

--Muhandes (talk) 19:24, 6 February 2012 (UTC)[reply]
Thank you for pointing me in the right direction! I was thinking more like:
Rijksmonument 3403
Rijksmonument 508167
For use case of what I have in mind, see User:Superp/Research/Henri Tino Zwiers. Unfortunately, the URL we are using does not seem to work for all monumentnrs. 508167 or 530921 are fail. Doing a search will deliver the object, with a different and horrific URL Superp (talk) 20:16, 6 February 2012 (UTC)[reply]
Amended the URL in User:Superp/Rijksmonument-inline to http://monumentenregister.cultureelerfgoed.nl/php/main.php?cAction=search&sCompMonNr=3403 and that seems to work? Superp (talk) 20:24, 6 February 2012 (UTC)[reply]
Here's the odd thing. There are two IDs, the monument number, which is displayed, and the "object number" which is internal, but can be easily found from the URL. For some entries, these two numbers are the same, so you can search for 3403 and display 3403: search and display. For other entries, you may have a different object number, so search 508167 but display 1001849. In my opinion the best way to handle this is let the user decide what they want to do. So I added support for all options:
same ID

{{cite Monumentenregister|name=American Hotel|monumentID=3403|accessdate=6 February 2012}} produces:

User:Muhandes/cite Monumentenregister

Or inline {{cite Monumentenregister|monumentID=3403|inline=yes}} produces:

User:Muhandes/cite Monumentenregister

different ID

{{cite Monumentenregister|name=American Hotel|monumentID=508167|accessdate=6 February 2012|displayID=1001849}} produces:

User:Muhandes/cite Monumentenregister

Or inline {{cite Monumentenregister|monumentID=508167|inline=yes|displayID=1001849}} produces:

User:Muhandes/cite Monumentenregister

If one cannot find the display ID

{{cite Monumentenregister|name=American Hotel|monumentID=508167|accessdate=6 February 2012|search=yes}} produces:

User:Muhandes/cite Monumentenregister

Or inline {{cite Monumentenregister|monumentID=508167|inline=yes|search=yes}} produces:

User:Muhandes/cite Monumentenregister

Does it do what you need? --Muhandes (talk) 12:26, 7 February 2012 (UTC)[reply]

Wow man, just, wow. I think this is perfect. How about I do some testing with an assortment of mon's, do some thinking and get back to you in 24hrs (kind of busy right now)? Superp (talk) 18:35, 7 February 2012 (UTC)[reply]
Absolutely no hurry, I'll keep an eye here, and when you give it the OK I'll move it to the main space. --Muhandes (talk) 19:31, 7 February 2012 (UTC)[reply]
Works great in my view. A nicely complicated example is Diergaarde Blijdorp, a complex with a multitude of individual monuments:
brings up a list of all objects within the complex, while
brings up one individual object with the displayID, and
does a search with the object nr. Love it.
I would propose two small changes to the output:
  • in both the inline and the extended versions, write rijksmonument with a lowercase "r".
  • in the inline version, prefix the monument nr. with # (as part of the xlink's anchor). This because some nrs. might be mistaken for e.g. years, like User:Muhandes/cite Monumentenregister
On a philosophical note, I'm flummoxed that organisations which control canonical identifiers like this don't create simple and permanent url's to look them up. WP:en, Commons, were all spending time reverse engineering. WP:nl even resorted to a url-shortener (look for para.ms in the source). Regs, Superp (talk) 16:59, 8 February 2012 (UTC)[reply]
Well, after going through two restructuring of the USCG database and at least three of the BVMI database, each requiring thousands of edits to fix, I guess I learned not to expect much. I made the correction you suggested and went public: {{Cite Monumentenregister}}, I hope you and other editors will find it useful. Let me know if anything else is needed. --Muhandes (talk) 09:38, 9 February 2012 (UTC)[reply]
Thanks, I think it's pretty useful we can use the register as a reference. How did we get by without this? I have started to use it, no doubt others will follow. Superp (talk) 16:47, 9 February 2012 (UTC)[reply]