Template talk:Mérimée

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search

Distinction category - file[edit]

This template used on files puts the files automatically in the metacategory which should not contain files. Can the template be adapted in order that it makes distinction between category and file as has been realised for {{Rijksmonument}}

Please add category[edit]

{{editprotected}}

Please add category Category:Monument templates for this template (in the "noinclude" section). --Kaganer (talk) 21:00, 18 September 2011 (UTC)[reply]

 Not done That’s why we have the unprotected Template:Mérimée/doc (template categories go to the “includeonly” section there). --Mormegil (talk) 14:08, 21 September 2011 (UTC)[reply]

Autocategorization[edit]

This templates adds topic categories. These categories should be added directly, not via a template. Multichill (talk) 19:10, 6 October 2011 (UTC)[reply]

Which ones in particular? By name is definitely tracking. "Inscrit" or "classé" are more debatable, but since this had to be a template parameter >_<
Note that monuments are categorised geographically (region/department/city), and sometimes by type, manually.
Jean-Fred (talk) 20:48, 6 October 2011 (UTC)[reply]

Spanish text?[edit]

Why is there some Spanish text with a facebook page on the page of the template? Looks like vandalism to me and I can't find out how to remove it.--Stanzilla (talk) 22:01, 19 October 2011 (UTC)[reply]

Same text is on this user page: User talk:Fabian1200--Stanzilla (talk) 22:04, 19 October 2011 (UTC)[reply]
Okay, forget what I said, it seems to be on all documentation pages.--Stanzilla (talk) 22:13, 19 October 2011 (UTC)[reply]
User:Platonides fixed it. [1] :)--Stanzilla (talk) 22:20, 19 October 2011 (UTC)[reply]

Only categorize to "Monuments historiques in France by name" on category pages per Commons:Village_pump#Help_request:_remove_category-space_templates_from_files[edit]

{{Edit request}}

Per discussion at Commons:Village_pump#Help_request:_remove_category-space_templates_from_files this template should only categorize to "Monuments historiques in France by name" on category pages. Please replace the following code...

  {{#switch: {{{type|}}}
     | inscrit = [[Category:Monuments historiques in France by name|{{PAGENAME}}]] [[Category:Monuments historiques inscrits|{{PAGENAME}}]] 
     | classe|classé = [[Category:Monuments historiques in France by name|{{PAGENAME}}]] [[Category:Monuments historiques classés|{{PAGENAME}}]] 
     | classé+inscrit|inscrit+classé|lesdeux = [[Category:Monuments historiques in France by name|{{PAGENAME}}]] [[Category:Monuments historiques inscrits|{{PAGENAME}}]] [[Category:Monuments historiques classés|{{PAGENAME}}]] 
     | {{#ifeq:{{Str left|{{{1|}}}|2}}|IA|[[Category:Monuments à l’inventaire|{{PAGENAME}}]]|[[Category:Mérimée without type parameter|{{PAGENAME}}]]}}
   }}

...with this code:

  {{#switch: {{{type|}}}
     | inscrit = {{Ifcategory|[[Category:Monuments historiques in France by name|{{PAGENAME}}]]}} [[Category:Monuments historiques inscrits|{{PAGENAME}}]] 
     | classe|classé = {{Ifcategory|[[Category:Monuments historiques in France by name|{{PAGENAME}}]]}} [[Category:Monuments historiques classés|{{PAGENAME}}]] 
     | classé+inscrit|inscrit+classé|lesdeux = {{Ifcategory|[[Category:Monuments historiques in France by name|{{PAGENAME}}]]}} [[Category:Monuments historiques inscrits|{{PAGENAME}}]] [[Category:Monuments historiques classés|{{PAGENAME}}]] 
     | {{#ifeq:{{Str left|{{{1|}}}|2}}|IA|[[Category:Monuments à l’inventaire|{{PAGENAME}}]]|[[Category:Mérimée without type parameter|{{PAGENAME}}]]}}
   }}

RP88 (talk) 23:37, 14 August 2015 (UTC)[reply]

✓ Done Yann (talk) 09:30, 17 August 2015 (UTC)[reply]