Template talk:Irish place name

(Redirected from Template talk:Irish place name/testcases)
Latest comment: 2 years ago by Declangi in topic MOS:CAPS

logainm.ie

edit

The template should have an additional parameter for placeId of Placenames Database to use as a reference. E.g.

{{Irish place name|Áth an Chóiste|placeId=11521}}

would produce

({{lang-ga|Áth an Chóiste}}<ref>{{cite web|url=http://www.logainm.ie/?text=Coachford&placeID=11521|title=Áth an Chóiste|date=2008|work=Placenames Database of Ireland|publisher=[[Department of the Environment, Heritage and Local Government]]|accessdate=2008-10-02}}</ref>)

where the reference[1] becomes:

  1. ^ "Áth an Chóiste". Placenames Database of Ireland. Department of the Environment, Heritage and Local Government. 2008. Retrieved 2008-10-02.

— Preceding unsigned comment added by Jnestorius (talkcontribs) 19:57, 2 October 2008 (UTC)Reply

This is a good idea, encouraging proper citation and making it easier to do.

The format has changed a little—logainm.ie now provides a permanent link format which we should use. I think linking a government department is a bad idea as they can and do change from government to government. The project is also a joint effort between Fiontar, Scoil na Gaeilge (Dublin City University) and The Placenames Branch of (currently) The Department of Arts, Heritage, Regional, Rural and Gaeltacht Affairs. Maybe the best formula for publisher would be “Fiontar, Scoil na Gaeilge (Dublin City University), Government of Ireland”. Since the database is updated on an ongoing basis, I’m not sure it’s appropriate to give it a publication date. We would also need an obligatory accessdate parameter, unless there is some way of getting a template to change its own parameters.

OTOH maybe it’s a bad idea to hide a citation inside a (non-citation) template? It may be confusing for people checking citations and it might cause problems for pages that already have citations (though I suspect I’m the only person who’s done this).

Current logic

<includeonly>{{lang-ga|{{{1}}}}}
{{#if:{{{2|}}}
  |, meaning “{{{2}}}”
  |{{#if:{{{no_translate|}}}
    |
    |{{main other|[[Category:Untranslated Irish place names]]}}
    }}
}}</includeonly>

New

<includeonly>{{lang-ga|{{{1}}}}}
{{#if:{{{placeid|}}}
  |{{#tag:ref|
    {{cite web|url=https://www.logainm.ie/{{{placeid}}}.aspx|title={{{1}}}|website=logainm.ie (Placenames Database of Ireland)|publisher=Fiontar, Scoil na Gaeilge (Dublin City University), Government of Ireland|accessdate={{{accessdate|}}}}}
    }}
  |
}}
{{#if:{{{2|}}}
  |, meaning “{{{2}}}”
  |{{#if:{{{no_translate|}}}
    |
    |{{main other|[[Category:Untranslated Irish place names]]}}
  }}
}}
</includeonly>
I’ve created a template sandbox and a page for testing. It seems to be working OK, but probably worth being cautious with such a common template. —☸ Moilleadóir 06:59, 5 January 2017 (UTC)Reply
edit

This template has a function similar similar to Template:Lang. That template has an option to suppress the wikilinking of the the language name (|links=no). This option should be included in this template. As it should in {{etymology}} as well. When used en mass (e.g. Mangerton Mountain) the overlinking of Irish is absurd. The Rambling Man (Stay indoors, stay safe!!!!) 09:07, 12 April 2020 (UTC)Reply

Edit request

edit

Please amend this template so that the example quoted renders as:

Irish: Caisleán an Bharraigh 'Castle of the Barry family'

(no space after the italics, single quotes around the translation) consistent with the standard way of displaying such glosses (for example using {{lang-ga}}), and in accordance with MOS:SINGLE. Thanks, Shhhnotsoloud (talk) 09:08, 20 June 2021 (UTC)Reply

  Done I did this myself. Shhhnotsoloud (talk) 07:21, 5 July 2021 (UTC)Reply

MOS:CAPS

edit

In the example given, I believe that MOS:CAPS should apply to the translation/meaning parameter. So:

  • Code: {{Irish place name|Caisleán an Bharraigh|castle of the Barry family}}
  • Result: Irish: Caisleán an Bharraigh, meaning 'castle of the Barry family'

Wondering what others may think, Declangi (talk) 02:54, 22 October 2022 (UTC)Reply