Template:Citation Style documentation/url: Difference between revisions

m
-deadurl;
imported>Jonesey95
(Try a link instead. I think this will work and not anger the LISTGAP gnomes.)
imported>Trappist the monk
m (-deadurl;)
Line 4:
*** <b id="csdoc_archivedate">archive-date</b>: Archive-service snapshot-date; preceded in display by default text "archived from the original on". Use the same format as other access and archive dates in the citations. This does not necessarily have to be the same format that was used for citing publication dates.{{r|date|group=date}} Do not wikilink; templated dates are discouraged. See [[#csdoc_auto-date-format|"Automatic date formatting"]] above for details about interaction with {{tlx|use dmy dates}} and {{tlx|use mdy dates}}. Alias: '''archivedate'''.
*** <b id="csdoc_urlstatus">url-status</b>: this optional parameter is ignored if '''archive-url''' is not set. If omitted, or with null value, the default value is {{para|url-status|dead}}. When the URL is still live, but pre-emptively archived, then set {{para|url-status|live}}; this changes the display order, with the title retaining the original link and the archive linked at the end. When the original URL has been usurped for the purposes of spam, advertising, or is otherwise unsuitable, setting {{para|url-status|unfit}} or {{para|url-status|usurped}} suppresses display of the original URL (but {{para|url}} and {{para|archive-url}} are still required).
*** <b id="csdoc_deadurl">{{xtd|dead-url}}</b> (deprecated; replaced by '''url-status''' [[#csdoc_urlstatus|above]]): <s>Functionality is identical to that of {{para|url-status}}: {{para|dead-url|yes}} or null is the same as {{para|url-status|dead}}; {{para|dead-url|no}} is the same as {{para|url-status|live}}; similarly for {{para|dead-url|usurped}} or {{para|dead-url|unfit}}.</s> Global replacement of, for example, {{para|dead-url|no}} with {{para|url-status|live}} in CS1 and CS2 templates is safe (but be careful with null value "{{para|dead-url}}").
** <b id="csdoc_template doc demo">template-doc-demo</b>: The archive parameters will be error-checked to ensure that all the required parameters are included, or else {{tl|citation error}} is invoked. With errors, main, help and template pages are placed into one of the subcategories of [[:Category:Articles with incorrect citation syntax]]. Set {{para|template-doc-demo|true}} to disable categorization; mainly used for documentation where the error is demonstrated. Alias: '''no-cat'''.
* <b id="csdoc_format">format</b>: Format of the work referred to by '''url'''; for example: PDF, DOC, or XLS; displayed in parentheses after '''title'''. (For media format, use '''type'''.) HTML is implied and should not be specified. Automatically added when a PDF icon is displayed. Does not change the [[Help:External link icons|external link icon]]. Note: External link icons do not include [[Wikipedia:ALT|alt text]]; thus, they do not add format information for the visually impaired.