Template:Published: Difference between revisions
Jump to navigation
Jump to search
Documentation
m (line break not needed) |
No edit summary |
||
Line 2: | Line 2: | ||
/(\d\d\d\d)/i={{Cat|$1 works|$1}} }}</includeonly><noinclude><!-- | /(\d\d\d\d)/i={{Cat|$1 works|$1}} }}</includeonly><noinclude><!-- | ||
-->{{Doc|1= | -->{{Doc|1= | ||
This template scans the text supplied at the '''Published''' line for any four-digit year, and converts it into a link to "category:YYYY works". The page is simultaneously included in that category. Therefore, works that have a publication date are categorized accordingly. | |||
'''Syntax:''' | '''Syntax:''' | ||
:{{tl|Published|<publication data as normal text>}} | :{{tl|Published|<publication data as normal text>}} |
Revision as of 21:08, 4 October 2015
This template scans the text supplied at the Published line for any four-digit year, and converts it into a link to "category:YYYY works". The page is simultaneously included in that category. Therefore, works that have a publication date are categorized accordingly.
Syntax:
- {{Published|<publication data as normal text>}}