Open main menu

Changes

Mismatched italic formatting repaired
{{Documentation subpage}}
<!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) -->
== Usage ==
'''{{tlx|GAAClubEstdecade|''centuryyear''|''decadedigit''|''centuryname''}}''' where
:'''''centuryyear''''' is the two-digit century, like '''18''' for 1800 to 1899, '''19''' for 1900-1999, '''20''' for 2000-2099 etc.
:'''''decadedigit''''' is the single digit decade, e.g. 5 for the years 50-59 in the above century year.
:'''''centuryname''''' is the equivalent name of that century, such as '''19th''' for the period 1801-1900 (or 1800-1899 depending on your opinion as to whether year '0' is part of that century), '''20th''' for 1900-1999 or 1901-2000, '''21st''' for 2000-2099 or 2001-2100 etc.
So if one were to code '''<nowiki>{{</nowiki>GAAClubEstdecade|17|3|18th}}''' it would generate a text of '''Gaelic Athletic Association clubs established in the 1730s''' plus a reference box referring to '''<nowiki>[[</nowiki>category:18th century in Gaelic games]]''' and would generate links for ''Gaelic Athletic Association clubs established in the 1700s'', 1710s etc. through ''Gaelic Athletic Association clubs established in the 1790s'' along with a category for 1730s Gaelic games.
== Example ==
<code><nowiki>{{GAAClubEstdecade|19|4|20th}}</nowiki></code> produces
{{GAAClubEstdecade|19|4|20th|nocat=yes}}
<includeonly>{{sandbox other||
<!-- Categories below this line, please; interwikis at Wikidata -->
[[Category:Time, date and calendar templates|{{PAGENAME}}]]
[[Category:Gaelic games category header templates|{{PAGENAME}}]]
}}</includeonly>
Anonymous user