Difference between revisions of "Template:Irish place name"

From blackwiki
Jump to navigation Jump to search
imported>Ravenpuff
(Use single quotation marks as per MOS:SINGLE)
imported>Ravenpuff
(Set up documentation page)
Line 1: Line 1:
<includeonly>{{lang-ga|{{{1}}}}}{{#if:{{{2|}}}|, meaning <nowiki>'</nowiki>{{{2}}}<nowiki>'</nowiki>|{{#if:{{{no_translate|}}}||{{main other|[[Category:Untranslated Irish place names]]}}}}}}</includeonly><noinclude>This template displays an Irish language version of a place name and optionally an English language translation of the Irish name. Example:
+
{{lang-ga|{{{1}}}}}{{#if:{{{2|}}}|, meaning <nowiki>'</nowiki>{{{2}}}<nowiki>'</nowiki>|{{#if:{{{no_translate|}}}||{{main other|[[Category:Untranslated Irish place names]]}}}}}}<noinclude>{{Documentation}}
 
+
<!-- Add categories to the /doc subpage, interwikis to Wikidata, not here -->
* Code: <code><nowiki>{{Irish place name|Caisleán an Bharraigh|Castle of the Barry family}}</nowiki></code>
 
* Result: {{Irish place name|Caisleán an Bharraigh|Castle of the Barry family}}
 
 
 
The second parameter is optional. If it is not included then the article will be added to [[:Category:Untranslated Irish place names]]. Example:
 
 
 
* Code: <code><nowiki>{{Irish place name|Caisleán an Bharraigh}}</nowiki></code>
 
* Result: [[Irish language|Irish]]: {{lang|ga|Caisleán an Bharraigh}} <!-- manually coded here to avoid adding this template to the "Untranslated ..." category -->
 
 
 
An additional optional parameter is <code>no_translate</code>. This can be invoked in order to stop unwanted pages being added to [[:Category:Untranslated Irish place names]].
 
 
 
For example, if the Irish and English language versions mean the same then there is no point in repeating this information. However, it would be inappropriate to add the page to [[:Category:Untranslated Irish place names]]. In order to suppress, an article being automatically added to [[:Category:Untranslated Irish place names]], simply add <code>no_translate=true</code> when using the template. Example:
 
 
 
* Code: <code><nowiki>'''Milestone''' ({{Irish place name|Cloch an Mhíle|no_translate=yes}})</nowiki></code>
 
* Result: '''Milestone''' ({{Irish place name|Cloch an Mhíle|no_translate=true}})
 
 
 
== See also ==
 
* [[:Template:Gaeltacht place name]]
 
* [[:Template:Irish derived place name]]
 
* [[:Template:Irish language place name]]
 
 
 
[[Category:Celtic multilingual support templates|{{PAGENAME}}]]
 
 
</noinclude>
 
</noinclude>

Revision as of 17:22, 10 May 2020

Irish: {{{1}}}

Template documentation[view] [edit] [history] [purge]

This template displays an Irish language version of a place name and optionally an English language translation of the Irish name. Example:

  • 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'

The second parameter is optional. If it is not included then the article will be added to Category:Untranslated Irish place names. Example:

  • Code: {{Irish place name|Caisleán an Bharraigh}}
  • Result: Irish: Caisleán an Bharraigh

An additional optional parameter is no_translate. This can be invoked in order to stop unwanted pages being added to Category:Untranslated Irish place names.

For example, if the Irish and English language versions mean the same then there is no point in repeating this information. However, it would be inappropriate to add the page to Category:Untranslated Irish place names. In order to suppress, an article being automatically added to Category:Untranslated Irish place names, simply add no_translate=true when using the template. Example:

  • Code: '''Milestone''' ({{Irish place name|Cloch an Mhíle|no_translate=yes}})
  • Result: Milestone (Irish: Cloch an Mhíle)

See also