Template:Published: Difference between revisions
Jump to navigation
Jump to search
Documentation
No edit summary |
m (sortkey "sort= $1" ... space to prevent display of just "1" or "2") |
||
Line 1: | Line 1: | ||
<includeonly>'''Published:''' {{#multireplace:  {{{1|}}}  | | <includeonly>'''Published:''' {{#multireplace:  {{{1|}}}  | | ||
/(\d\d\d\d)/i={{Cat|$1 works|$1}} }}</includeonly><noinclude><!-- | /(\d\d\d\d)/i={{Cat|$1 works|$1|sort= $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. | 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. |
Revision as of 15:50, 29 November 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>}}