Difference between revisions of "Template:AllIrelandByCountyCatNav"

From blackwiki
Jump to navigation Jump to search
blackwiki>BrownHairedGirl
(Undid revision 838269669 by BrownHairedGirl -- rv test)
blackwiki>BrownHairedGirl
(trial expired without objection (see WT:IECATNAVP#Trial) ... so remove trial notice)
Line 1: Line 1:
<includeonly>{{#invoke:IrelandByCountyCatNav | main | debug = {{{debug|}}} }}<!--
+
<includeonly>{{#invoke:IrelandByCountyCatNav | main | debug = {{{debug|}}} }}</includeonly><noinclude>
-->{{#ifexpr: {{age in days|23 April 2018}} < 15 |<div style="display:block; float:left; clear:left; font-size:smaller; max-width: calc(100% - 25em)">This by-county navigation box is created by {{tl|AllIrelandByCountyCatNav}}, which has been deployed on a trial basis following a proposal at [[WP:IECATNAVP]]. Please leave any comments at [[WT:IECATNAVP#Trial]]</div>}}</includeonly><noinclude>
 
 
{{Documentation}}
 
{{Documentation}}
 
</noinclude>
 
</noinclude>

Revision as of 04:30, 8 May 2018

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

A category navigation template, designed to be used on by-county categories for any of the 32 "traditional" Counties of Ireland, plus the new counties created by the 1992 subdivision of County Dublin: Category:Dún Laoghaire–Rathdown, Category:Fingal, Category:South Dublin (county).

It creates a navbox with links to identically-named categories for other counties.

So, on Category:History of County Kilkenny, it creates links to Category:History of County Antrim, Category:History of County Armagh etc.

Non-existent categories are not linked. Instead, they are listed in grey.

Northern Ireland and the Republic of Ireland are grouped separately. When the template is used on a category for a county in Northern Ireland, the Northern Ireland counties are listed first. When used on a category for a county in the Republic, the Republic is displayed first.

Usage

{{AllIrelandByCountyCatNav}}

No parameters are available.

Examples

See the template in use on e.g.

Errors

If the template is used on a category whose name does not include a valid Irish county, then an error message is displayed.

Tracking categories

Development

This template started off as a proposal at WP:WikiProject Ireland/CatNavProposal. The idea was refined through discussion at WT:WikiProject Ireland/CatNavProposal, and deployed in May 2018 after a 15-day trial on 150 pages.

See also