Template:Citation Style documentation/url: Difference between revisions

m
ce;
imported>Trappist the monk
(+url-status;)
imported>Trappist the monk
m (ce;)
Line 3:
** <b id="csdoc_archiveurl">archive-url</b>: The URL of an [[Web archiving|archived]] snapshot of a web page. Typically used to refer to services such as [[Internet Archive]] {{crossref|(see [[Wikipedia:Using the Wayback Machine]])}}, [[WebCite]] {{crossref|(see [[Wikipedia:Using WebCite]])}} and [[archive.is]] {{crossref|(see [[Wikipedia:Using archive.is]])}}; requires '''archive-date''' and '''url'''. By default (overridden by {{para|dead-url|no}}) the archived link is displayed first, with the original link at the end. Alias: '''archiveurl'''.
*** <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. Alias: '''archivedate'''.
*** <b id="csdoc_urlstatus">url-status</b>: the default value of this optional parameter, if omitted, is {{para|url-status|livedead}}. Ignored if '''archive-url''' is not set. 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">dead-url</b>: (deprecated) <s>the default value of this optional parameter, if omitted, is {{para|dead-url|yes}}; equivalent values are <var>y</var> or <var>true</var>. Ignored if '''archive-url''' is not set. When the URL is still live, but pre-emptively archived, then set {{para|dead-url|no}}; 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|dead-url|unfit}} or {{para|dead-url|usurped}} suppresses display of the original URL (but {{para|url}} and {{para|archive-url}} are still required). Alias: '''deadurl'''.</s>
** <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'''.