Changes
updte
{{Documentation subpage}}
{{nosubst}}
{{Template shortcut|year?}}
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
{{Selfref|This template is an in-line request '''for the year that a source was published'''. For the '''year an event occurred''', use {{Tl|Year needed}}.}}
{{Tl|Year missing}} is an inline cleanup template flagging a broken source citation that is missing the year of publication of the cited source.
==Usage==
{{warnsign|Do not place this template in any {{cs1}} citation's {{para|year}} parameter. All text in {{para|year}} the parameter is made part of the citation's [[WP:COinS|COinS]] metadata. The {{para|year}} parameter should include year data only.}}
*For all free-form and {{cs1}}citations ({{Tl|Cite web}}, {{Tl|Cite book}}, {{Tl|Citation}}, etc.) place {{Tlx|year missing<!--|{{Grey|<nowiki>{{subst:DATE}}</nowiki>}}-->}} after the citation, typically just before the closing <code><nowiki></ref></nowiki></code>.
==How to fix the problem flagged by this template==
'''Do not remove the template without fixing the problem one of the following ways.'''
*If you ''know the year'' (or year range in some cases), fill in the needed information, and remove the template.
*;For a template-formatted citation, there are three basic ways to do this::
*#{{Para|year|<var>YYYY</var>}}
*#:or, if you know the full date and the template does not expect a {{Para|year}} value specifically, then specify it using {{Para|date}} and whatever date format the rest of the article uses:
*#{{Para|date|<var>D[D]</var> <var>Monthname</var> <var>YYYY</var>}}
*#:or, for [[WP:ENGVAR|articles in US English]]:
*#:{{Para|date|<var>Monthname</var> <var>D[D]</var>, <var>YYYY</var>}}
*#:Some publications use some other kind of date range, such as a season or whatever:
*#{{Para|date|Winter 2009/2010}}
*;For a free-form citation::
*#Just add the year (or range, or more specific date) as appropriate to the format of the citation; or...
*#''Better yet'', convert the entire citation to {{Tl|Cite journal}}, {{Tl|Cite news}} or some other {{Tl|Cite}}-series template, as appropriate for the work in question.
*If you ''know that no year was specified'' by the original source, as is common on many Web pages, you have several options, listed here in order of preference.
*#Use the copyright year (or year range) if one is specified, and use [square brackets] to specify that this is what it is:
*#:{{Para|year|2006–2010 [copyright date]}}
*#Failing that, for ''non-news'' sources, use the year from the page's last-modified date (use your browser's "get page info" type of command; for example it is "Tools > Page info" in Firefox on Windows); only use this date if it is plausible (many sites always show a very recent last-modified date because of dynamic content updating such as sidebar ads.
*#:{{Para|year|2003 [last updated]}}
*#:This solution should never be used with news journalism, as it is closely tied an event's specific date, the accuracy of which is important for placing such a source in proper context.
*#Another option is an estimation, if you have reason to know approximately when something was published (i.e., you are better than guessing):
*#:{{Para|year|ca. 2009}}
*#Finally, explicitly state that the year was unspecified if none of the above are practical (it will appear inside parentheses in most citation templates, but if it does not it should probably be put in [square brackets]):
*#:{{Para|year|year unspecified}}
*#::or
*#:{{Para|year|[year unspecified]}}
*:For free-form citations:
*:::<code>No year specified.</code>
*:Do ''not'' use question marks.
*:Do ''not'' leave the information blank and untag it, or someone else will just come along later and flag this with {{Tl|Year missing}} again!
*:Do ''not'' use {{Para|year|none}}, {{Para|year|unknown}} or anything else vague; any implication other than that ''the source itself'' did not specify a year is simply a signal to other editors to re-tag it with {{Tl|Year missing}}.
*If you ''don't know'':
*#Check the source, and add the necessary information, as above.
*:Do ''not'' use question marks.
*:If the source is a dead link, check archive.org for a backup copy (see your {{Tl|Citation}}/{{Tl|Cite}}-type template's documentation for use of {{Para|archiveurl}} and {{Para|archivedate}} parameters). If no archive copy is available, use {{Tl|Dead link}} after the citation, but leave {{Tl|year missing}} as well.
== Redirects ==
* {{Tl|Year?}}
==See also==
{{Citation repair}}
;Other
* {{Tl|List years}}, for missing years in lists
* {{Tl|Year needed}}, to ask (in regular article prose) for the year that an event occurred
{{Inline tags}}
<includeonly>
<!-- ADD CATEGORIES BELOW THIS LINE -->
[[Category:Inline citation cleanup templates]]
[[Category:Time and date maintenance templates]]
</includeonly>
{{nosubst}}
{{Template shortcut|year?}}
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
{{Selfref|This template is an in-line request '''for the year that a source was published'''. For the '''year an event occurred''', use {{Tl|Year needed}}.}}
{{Tl|Year missing}} is an inline cleanup template flagging a broken source citation that is missing the year of publication of the cited source.
==Usage==
{{warnsign|Do not place this template in any {{cs1}} citation's {{para|year}} parameter. All text in {{para|year}} the parameter is made part of the citation's [[WP:COinS|COinS]] metadata. The {{para|year}} parameter should include year data only.}}
*For all free-form and {{cs1}}citations ({{Tl|Cite web}}, {{Tl|Cite book}}, {{Tl|Citation}}, etc.) place {{Tlx|year missing<!--|{{Grey|<nowiki>{{subst:DATE}}</nowiki>}}-->}} after the citation, typically just before the closing <code><nowiki></ref></nowiki></code>.
==How to fix the problem flagged by this template==
'''Do not remove the template without fixing the problem one of the following ways.'''
*If you ''know the year'' (or year range in some cases), fill in the needed information, and remove the template.
*;For a template-formatted citation, there are three basic ways to do this::
*#{{Para|year|<var>YYYY</var>}}
*#:or, if you know the full date and the template does not expect a {{Para|year}} value specifically, then specify it using {{Para|date}} and whatever date format the rest of the article uses:
*#{{Para|date|<var>D[D]</var> <var>Monthname</var> <var>YYYY</var>}}
*#:or, for [[WP:ENGVAR|articles in US English]]:
*#:{{Para|date|<var>Monthname</var> <var>D[D]</var>, <var>YYYY</var>}}
*#:Some publications use some other kind of date range, such as a season or whatever:
*#{{Para|date|Winter 2009/2010}}
*;For a free-form citation::
*#Just add the year (or range, or more specific date) as appropriate to the format of the citation; or...
*#''Better yet'', convert the entire citation to {{Tl|Cite journal}}, {{Tl|Cite news}} or some other {{Tl|Cite}}-series template, as appropriate for the work in question.
*If you ''know that no year was specified'' by the original source, as is common on many Web pages, you have several options, listed here in order of preference.
*#Use the copyright year (or year range) if one is specified, and use [square brackets] to specify that this is what it is:
*#:{{Para|year|2006–2010 [copyright date]}}
*#Failing that, for ''non-news'' sources, use the year from the page's last-modified date (use your browser's "get page info" type of command; for example it is "Tools > Page info" in Firefox on Windows); only use this date if it is plausible (many sites always show a very recent last-modified date because of dynamic content updating such as sidebar ads.
*#:{{Para|year|2003 [last updated]}}
*#:This solution should never be used with news journalism, as it is closely tied an event's specific date, the accuracy of which is important for placing such a source in proper context.
*#Another option is an estimation, if you have reason to know approximately when something was published (i.e., you are better than guessing):
*#:{{Para|year|ca. 2009}}
*#Finally, explicitly state that the year was unspecified if none of the above are practical (it will appear inside parentheses in most citation templates, but if it does not it should probably be put in [square brackets]):
*#:{{Para|year|year unspecified}}
*#::or
*#:{{Para|year|[year unspecified]}}
*:For free-form citations:
*:::<code>No year specified.</code>
*:Do ''not'' use question marks.
*:Do ''not'' leave the information blank and untag it, or someone else will just come along later and flag this with {{Tl|Year missing}} again!
*:Do ''not'' use {{Para|year|none}}, {{Para|year|unknown}} or anything else vague; any implication other than that ''the source itself'' did not specify a year is simply a signal to other editors to re-tag it with {{Tl|Year missing}}.
*If you ''don't know'':
*#Check the source, and add the necessary information, as above.
*:Do ''not'' use question marks.
*:If the source is a dead link, check archive.org for a backup copy (see your {{Tl|Citation}}/{{Tl|Cite}}-type template's documentation for use of {{Para|archiveurl}} and {{Para|archivedate}} parameters). If no archive copy is available, use {{Tl|Dead link}} after the citation, but leave {{Tl|year missing}} as well.
== Redirects ==
* {{Tl|Year?}}
==See also==
{{Citation repair}}
;Other
* {{Tl|List years}}, for missing years in lists
* {{Tl|Year needed}}, to ask (in regular article prose) for the year that an event occurred
{{Inline tags}}
<includeonly>
<!-- ADD CATEGORIES BELOW THIS LINE -->
[[Category:Inline citation cleanup templates]]
[[Category:Time and date maintenance templates]]
</includeonly>