Knowledge (XXG)

Template:Constituency Teachtaí Dála navbox

Source 📝

21: 78: 119: 52: 693: 435:
Those templates do support multi-seat constituencies, but less easily and with less elegance. As the number of seats increases, and/or more terms are served, the elegance falls and the effort required to produce them grows almost exponentially. Several early Dáil constituencies had 9 seats, making it
881: 746: 988: 976: 897: 36: 650:
break it entirely. In either case, modifying this template to support to support merged or split constituency articles would be at best a non-trivial task; at worst it would be impossible without adding grossly undue
779:
Most constituency articles rightly include references for the table of TDs, usually as a ref beside the name of the election. Some articles also include a note beside one or more individual TDs, noting e.g. that as
1012: 972: 32: 455:
editors preferred succession boxes over navboxes, even when there are lots of seats and/or terms; but nobody thought that making them was a good use of their time. Hence the decision to try making these navboxes.
597:
series of templates, which rely on accurate detection of whether they are being used in a Dáil constituency article. Any change in the naming convention to a new consistent format will require changes to both
725: 674:
However, tests conducted when this meta-template was being developed seemed to indicate that if this meta-template needed to to do this reformatting, it would probably need to be implemented as a custom
566:
Note that all the templates involved use some intricate coding. It would be best if any modifications to the templates are undertaken only by editors who are experienced in coding intricate templates.
207:. That makes it very quick and simple to create navboxes which will automatically remain synchronised with the constituency article. It avoids any need to maintain two copies of the same list of TDs. 679:. In that situation, editors should consider when the added complexity is appropriate for a relatively small set of articles. (As of July 2023, there are only 121 articles for constituencies of the 646:
Abandonment from the one-to-one relationship between the name of a constituency and the name of the corresponding Knowledge (XXG) article will at best cause this template to produce ugly output, and
40: 870: 712:, it should consist only the minimum information needed to navigate. For navboxes, that means only links to the articles in the set, which in this case is the set of TDs for that constituency. 931: 210:
The price of this simplicity is that for technical reasons, it has to be hyper-pedantic about the name of the navbox being created, and about the one parameter needed. If it is not used
983: 99: 926: 908: 614: 921: 631: 1008: 966: 28: 853: 235: 179: 602: 581: 197:
This metatempate works by automagically scraping the list of TDs from the Knowledge (XXG) article on the constituency, which is then reformatted and wrapped in a
1033: 784:
they were automatically re-elected, or that a TD who was elected as an independent was part of a group which was not at the time registered as a political party.
833: 819: 308: 441: 1038: 575:
be possible to easily modify this template to work with a new naming convention, provided that the new names consistently use the same format.
448: 135: 129: 844: 488: 231: 958: 511:
there will be a one-to-one relationship between the name of a constituency and the name of the corresponding Knowledge (XXG) article.
731: 186: 151: 809: 563:
be accommodated by modifying templates. Other changes will break these navboxes, and/or the associated constituency articles.
432:). They work easily and elegantly for single-seat constituencies, where they are probably the most useful means of navigation. 311:, of which only two had more than one seat. So in all those cases, navigation of succession is best accomodated by using the 524:
series of templates, which adjust their output when used on a page whose title does not end with "(Dáil constituency)".
437: 947: 799: 658: 591: 529: 518: 1028: 88: 494: 278:
At best that would create a pile of ugly code in the navbox, rather than a simple one-line use of the metatemplate.
241:
Note that the "NameOfConstituencyArticle" must be precise. No variation at all is permitted, not even extra spaces.
104: 406: 389: 469: 168: 696:
This road sign in the north of County Tipperary includes only the minimum information needed to navigate
764: 281:
At worst, it might break the dynamic synchronisation between the navbox and the constituency article.
325: 786:
The refs and notes are helpful and appropriate in the article, but they do not belong in the navbox.
257:
the page to check that there are no error messages and the navbox displays as intended. Then save.
147: 501: 156: 272: 162: 962: 877:
Articles which transclude a navbox created using this metatemplate are automatically added to
355: 335: 254: 63: 577:
However, any inconsistency of article titles will probably break this template irreparably.
426: 416: 365: 315: 676: 781: 623:
If the section currently named "TDs" is renamed to a new and consistent name, that change
201: 882:
Category:Articles using a navbox created with Template:Constituency Teachtaí Dála navbox
680: 375: 345: 295: 260:
Your new navbox is now ready for use on the biographical articles for that set of TDs.
92: 934:— a shared documentation page used on every navbox built with this metatemplate. 1022: 728:, which as of July 2023 includes a paragraph on the constituency's most notable TD. 304: 464:
This functionality of this meta-template relies heavily on the assumption that
742:
of the "TDs" section of the article, so this text was appearing in the navbox
226:
create a page whose name is "Template:" + NameOfConstituencyArticle + "/TDs".
91:
before editing the template. If your edit causes unexpected problems, please
709: 422:
series are widely used. (As of July 2023, more than 239,000 pages transcude
15: 97:
You can conduct experiments, and should test all major changes, in either
720:
The TDs section of the constituency includes text to accompany the table
133:... and especially the sub-thread on the development of this template: 715:
Two situations have been found where a navbox included other content:
482: 866:
Navboxes created using this metatemplate are automatically added to
692: 544:
c) linking only the names of TDs, but not elections, parties or the
747:
Cork Mid, North, South, South East and West (Dáil constituency)/TDs
449:
WT:WikiProject Ireland#TD_and_MEP_articles_and_the_'s-par'_template
130:
WT:WikiProject Ireland#TD_and_MEP_articles_and_the_'s-par'_template
95:
it quickly, as this template may appear on a large number of pages.
898:
Category:Navboxes using Template:Constituency Teachtaí Dála navbox
691: 726:
Cork Mid, North, South, South East and West (Dáil constituency)
154:
to assist readers to navigate between biographical articles on
113: 87:
You are encouraged to familiarise yourself with its setup and
72: 46: 541:
b) omitting their heading, which is redundant in the navbox.
248:{{Constituency Teachtaí Dála navbox|{{Subst:BASEPAGENAME}}}} 84:
This template employs intricate features of template syntax.
795:
parameter of the templates used to build the table of TDs:
222:
To create a navbox for TDs for a given Dáil constituency:
185:, which can be seen in use at the bottom of the article 175:
For example, this template is used to create the navbox
1000: 992: 904:
Errors in the use of this metatemplate are tracked at:
849: 839: 829: 768: 538:
a) supressing refs and notes when used in a navbox, and
307:
used the 103 Westminster constituencies created by the
871:
Category:Constituency Teachtaí Dála navigational boxes
136:
WT:WikiProject Ireland#A neat solution for TD navboxes
932:
Template:Constituency Teachtaí Dála navbox/shared doc
893:
All navboxes using this metatemplate are listed at:
639:
However, any inconsistency of section headings will
244:In that new template page, add only the following: 107:, or your user space before changing anything here. 738:Navboxes built using this metatemplate transclude 927:Template:Constituency Teachtaí Dála navbox/checks 909:Category:Constituency Teachtaí Dála navbox errors 486:is a placeholder for the constituency name, e.g. 214:as designed, it displays big red error messages. 672:some means is found of adjusting the new output. 436:a huge task to create a succession box for e.g. 922:Template:Constituency Teachtaí Dála navbox/core 967:Template:Constituency Teachtaí Dála navbox/doc 236:Template:Kildare South (Dáil constituency)/TDs 775:The table of TDs includes references or notes 8: 500:have a section named "TDs" which lists the 472:will consistently retain these attributes: 982:Editors can experiment in this template's 309:Redistribution of Seats (Ireland) Act 1918 615:Constituency Teachtaí Dála navbox/checks 760:<noinclude> .. </noinclude> 732:Permalink to revision with this content 514:it will form its list of TDs using the 792: 632:Constituency Teachtaí Dála navbox/core 293:in relation to constituencies of the 180:Kildare South (Dáil constituency)/TDs 7: 627:be easily accommodated by modifying 321:series of succession box templates: 791:is to place the ref or note in the 603:Is this a Dáil constituency article 582:Is this a Dáil constituency article 125:This template is under development. 559:Some changes in these assumptions 14: 820:Irish TD table TD with party link 688:Superfluous content in the navbox 504:(TDs) for that constituency, and 489:Kildare South (Dáil constituency) 232:Kildare South (Dáil constituency) 643:break this template irreparably. 117: 76: 50: 19: 1034:Dáil Éireann navigational boxes 1039:Navigational box metatemplates 757:was to wrap the extra text in 440:, who was a TD for the 9-seat 150:to allow the easy creation of 128:See the ongoing discussion at 1: 535:etc work with this navbox by 480:(Dáil constituency)", where 555:If these assumptions change 438:Margaret Collins-O'Driscoll 1055: 956: 1013:Subpages of this template 289:This template is for use 587:is used by most of the 495:Mayo (Dáil constituency) 444:from from 1923 to 1933. 105:general template sandbox 854:Roscommon–South Leitrim 187:Seán Power (politician) 100:this template's sandbox 1007:Add categories to the 697: 24:Template documentation 695: 508:for that constituency 447:In the discussion at 58:This template should 948:Irish TD table begin 800:Irish TD table begin 659:Irish TD table begin 592:Irish TD table begin 530:Irish TD table begin 519:Irish TD table begin 161:who were elected to 1029:Intricate templates 810:Irish TD table Dáil 654:Abandonment of the 275:this metatemplate. 698: 735: 470:Dáil constituency 442:Dublin City North 169:Dáil constituency 143: 142: 112: 111: 71: 70: 1046: 1004: 996: 980: 952: 946: 856: 842: 837: 824: 818: 814: 808: 804: 798: 794: 762: 761: 751: 745: 729: 700:A navbox is for 663: 657: 636: 630: 619: 613: 607: 601: 596: 590: 586: 580: 534: 528: 523: 517: 497: 491: 431: 425: 421: 415: 411: 405: 394: 388: 380: 374: 370: 364: 360: 354: 350: 344: 340: 334: 330: 324: 320: 314: 250: 249: 206: 200: 184: 178: 152:navbox templates 121: 120: 114: 102: 89:parser functions 80: 79: 73: 54: 53: 47: 44: 25: 23: 22: 1054: 1053: 1049: 1048: 1047: 1045: 1044: 1043: 1019: 1018: 1017: 1016: 1006: 998: 986: 981: 970: 955: 950: 944: 941: 918: 891: 864: 848: 838: 834:Carlow–Kilkenny 828: 826: 822: 816: 812: 806: 802: 796: 793:|refs= 787: 785: 782:Ceann Comhairle 778: 759: 758: 753: 749: 743: 737: 723: 690: 673: 661: 655: 638: 634: 628: 617: 611: 605: 599: 594: 588: 584: 578: 576: 557: 532: 526: 525: 521: 515: 493: 487: 462: 429: 423: 419: 413: 409: 403: 401: 392: 386: 378: 372: 368: 362: 358: 352: 348: 342: 338: 332: 328: 322: 318: 312: 287: 266: 247: 246: 220: 204: 198: 195: 182: 176: 144: 132: 127: 118: 108: 98: 96: 77: 51: 45: 26: 20: 18: 12: 11: 5: 1052: 1050: 1042: 1041: 1036: 1031: 1021: 1020: 997:and testcases 954: 953: 940: 937: 936: 935: 929: 924: 917: 914: 913: 912: 902: 901: 890: 887: 886: 885: 875: 874: 863: 862:Categorisation 860: 859: 858: 772: 767:), as done in 689: 686: 685: 684: 652: 644: 621: 556: 553: 552: 551: 550: 549: 542: 539: 512: 509: 498: 461: 458: 407:Succession box 400: 390:Succession box 383: 286: 283: 265: 262: 228: 227: 219: 216: 194: 191: 141: 140: 122: 110: 109: 86: 81: 69: 68: 55: 17: 16: 13: 10: 9: 6: 4: 3: 2: 1051: 1040: 1037: 1035: 1032: 1030: 1027: 1026: 1024: 1014: 1010: 1002: 994: 990: 985: 978: 974: 968: 964: 960: 959:documentation 949: 943: 942: 938: 933: 930: 928: 925: 923: 920: 919: 916:Sub-templates 915: 910: 907: 906: 905: 899: 896: 895: 894: 888: 884:(1,327 pages) 883: 880: 879: 878: 872: 869: 868: 867: 861: 855: 851: 846: 845:Kildare South 841: 835: 831: 821: 811: 801: 790: 783: 776: 773: 770: 766: 756: 748: 741: 733: 727: 721: 718: 717: 716: 713: 711: 707: 703: 694: 687: 682: 678: 671: 667: 660: 653: 649: 645: 642: 633: 626: 622: 616: 610: 604: 593: 583: 574: 570: 569: 568: 564: 562: 554: 547: 543: 540: 537: 536: 531: 520: 513: 510: 507: 503: 502:Teachtaí Dála 499: 496: 490: 485: 484: 479: 475: 474: 473: 471: 468:article on a 467: 459: 457: 454: 450: 445: 443: 439: 433: 428: 418: 408: 398: 391: 384: 382: 377: 367: 357: 347: 337: 327: 317: 310: 306: 301: 299: 297: 292: 284: 282: 279: 276: 274: 271: 263: 261: 258: 256: 252: 251: 242: 239: 237: 233: 225: 224: 223: 217: 215: 213: 208: 203: 192: 190: 188: 181: 173: 171: 170: 164: 160: 158: 157:Teachtaí Dála 153: 149: 138: 137: 131: 126: 123: 116: 115: 106: 101: 94: 90: 85: 82: 75: 74: 66: 65: 61: 56: 49: 48: 42: 38: 34: 30: 951:}} 945:{{ 903: 892: 876: 865: 823:}} 817:{{ 813:}} 807:{{ 803:}} 797:{{ 788: 774: 754: 750:}} 744:{{ 739: 719: 714: 705: 701: 699: 669: 668:be possible 665: 662:}} 656:{{ 647: 640: 635:}} 629:{{ 624: 618:}} 612:{{ 608: 606:}} 600:{{ 595:}} 589:{{ 585:}} 579:{{ 572: 565: 560: 558: 545: 533:}} 527:{{ 522:}} 516:{{ 505: 481: 477: 465: 463: 452: 446: 434: 430:}} 424:{{ 420:}} 414:{{ 410:}} 404:{{ 402: 396: 393:}} 387:{{ 385:Why not use 379:}} 373:{{ 369:}} 363:{{ 359:}} 353:{{ 349:}} 343:{{ 339:}} 333:{{ 329:}} 323:{{ 319:}} 313:{{ 302: 294: 290: 288: 280: 277: 269: 267: 264:Substitution 259: 253: 245: 243: 240: 229: 221: 211: 209: 205:}} 199:{{ 196: 183:}} 177:{{ 174: 166: 163:Dáil Éireann 155: 148:metatemplate 145: 134: 124: 83: 59: 57: 963:transcluded 900:(121 pages) 873:(123 pages) 765:WP:PARTRANS 706:explanation 681:Second Dáil 651:complexity. 460:Assumptions 326:S-par/ie/oi 296:Second Dáil 64:substituted 39:] [ 35:] [ 31:] [ 1023:Categories 957:The above 789:The remedy 763:tags (per 755:The remedy 702:navigation 677:Lua module 476:be named " 305:First Dáil 273:substitute 146:This is a 1011:subpage. 911:(0 pages) 827:See e.g. 769:this edit 724:See e.g. 710:road sign 708:. Like a 683:onwards.) 234:, create 230:e.g. for 212:precisely 167:the same 939:See also 889:Tracking 850:this fix 840:this fix 830:this fix 641:probably 412:and the 395:etc for 356:S-office 336:S-before 991:| 984:sandbox 977:history 975:| 664:series 548:th Dáil 427:S-start 417:S-start 366:S-after 316:S-start 298:onwards 255:Preview 37:history 1005:pages. 1001:create 704:, not 573:should 361:, and 202:Navbox 193:Design 103:, the 965:from 847:; or 666:might 466:every 376:S-non 346:S-new 285:Scope 218:Usage 159:(TDs) 43:] 41:purge 27:[ 1009:/doc 993:diff 989:edit 973:edit 825:etc. 625:will 506:only 453:some 399:TDs? 303:The 291:only 93:undo 33:edit 29:view 961:is 852:to 843:to 832:to 740:all 648:may 609:and 571:It 561:may 492:or 483:Foo 478:Foo 397:all 270:not 268:Do 165:by 62:be 60:not 1025:: 969:. 815:, 805:, 670:if 451:, 381:. 351:, 331:, 300:. 238:. 189:. 172:. 1015:. 1003:) 999:( 995:) 987:( 979:) 971:( 857:. 836:; 777:. 771:. 752:. 736:. 734:) 730:( 722:. 637:. 620:. 546:n 371:/ 341:/ 139:. 67:.

Index

view
edit
history
purge
substituted
parser functions
undo
this template's sandbox
general template sandbox
WT:WikiProject Ireland#TD_and_MEP_articles_and_the_'s-par'_template
WT:WikiProject Ireland#A neat solution for TD navboxes
metatemplate
navbox templates
Teachtaí Dála
Dáil Éireann
Dáil constituency
Kildare South (Dáil constituency)/TDs
Seán Power (politician)
Navbox
Kildare South (Dáil constituency)
Template:Kildare South (Dáil constituency)/TDs
Preview
substitute
Second Dáil
First Dáil
Redistribution of Seats (Ireland) Act 1918
S-start
S-par/ie/oi
S-before
S-new

Text is available under the Creative Commons Attribution-ShareAlike License. Additional terms may apply.