Difference between revisions of "Template:LinkYear"

From Wikispooks
Jump to navigation Jump to search
(Created page with "<noinclude>'''This template takes a text date and hyperlinks years from it.'''<br/> It invokes Template:LinkYear/BaseCase and maybe also Template:LinkYear/1.</noinclud...")
 
(cat)
Line 1: Line 1:
<noinclude>'''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|}}}}}|{{Y/1|{{Remove last word|{{{1|}}}}}}} {{LinkYear/1|{{last word|{{{1|}}}}}}}}}}}</includeonly>
 
{{Remove last word|{{{1|}}}}}|{{{1|}}}|{{LinkYear/1|{{{1|}}}|{{{1|}}}}}|{{Y/1|{{Remove last word|{{{1|}}}}}}} {{LinkYear/1|{{last word|{{{1|}}}}}}}}}}}</includeonly>

Revision as of 13:12, 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.