Difference between revisions of "Template:LinkYear"
Jump to navigation
Jump to search
(cat) |
|||
Line 1: | Line 1: | ||
<noinclude>[[Category:Templates]]'''This template takes a text date and hyperlinks years from it.'''<br/> | <noinclude>[[Category:Templates]]'''This template takes a text date and hyperlinks years from it.'''<br/> | ||
It invokes [[Template:LinkYear/BaseCase]] and maybe also [[Template:LinkYear/1]].</noinclude><includeonly>{{#if: {{Contains|-|{{{1|}}}}}|{{#arraymap: {{{1|}}}|-|@@@|{{LinkYear/BaseCase|@@@}}|-}}|{{#ifeq: | It invokes [[Template:LinkYear/BaseCase]] and maybe also [[Template:LinkYear/1]].</noinclude><includeonly>{{#if: {{Contains|-|{{{1|}}}}}|{{#arraymap: {{{1|}}}|-|@@@|{{LinkYear/BaseCase|@@@}}|-}}|{{#ifeq: | ||
− | {{Remove last word|{{{1|}}}}}|{{{1|}}}|{{LinkYear/1|{{{1|}}}|{{{1|}}}}}|{{ | + | {{Remove last word|{{{1|}}}}}|{{{1|}}}|{{LinkYear/1|{{{1|}}}|{{{1|}}}}}|{{LinkYear/1|{{Remove last word|{{{1|}}}}}}} {{LinkYear/BaseCase|{{last word|{{{1|}}}}}}}}}}}</includeonly> |
Latest revision as of 13:19, 21 September 2016
This template takes a text date and hyperlinks years from it.
It invokes Template:LinkYear/BaseCase and maybe also Template:LinkYear/1.