Difference between revisions of "Template:DeriveYear"
Jump to navigation
Jump to search
| (2 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
<noinclude> | <noinclude> | ||
This template is used to test a solution for https://github.com/SmartDataAnalytics/OpenResearch/issues/197 | This template is used to test a solution for https://github.com/SmartDataAnalytics/OpenResearch/issues/197 | ||
| + | |||
| + | https://www.semantic-mediawiki.org/wiki/Help:Date_formatting | ||
= Usage = | = Usage = | ||
<pre> | <pre> | ||
| Line 9: | Line 11: | ||
{{DeriveYear|year=2020}} | {{DeriveYear|year=2020}} | ||
{{#ask:[[FCT 2017]]|mainlabel=-|?Start date#-F[Y]=Year}} | {{#ask:[[FCT 2017]]|mainlabel=-|?Start date#-F[Y]=Year}} | ||
| + | {{#show:FCT 2017|?Start date#-F[Y]=Year}} | ||
</noinclude><includeonly> | </noinclude><includeonly> | ||
</includeonly> | </includeonly> | ||
Latest revision as of 19:43, 23 April 2021
This template is used to test a solution for https://github.com/SmartDataAnalytics/OpenResearch/issues/197
https://www.semantic-mediawiki.org/wiki/Help:Date_formatting
Usage
{{DeriveYear|page=FCT 2019}}
{{DeriveYear|year=2020}}