Template:Source archived
Appearance
Usage
[edit]{{ Sourcearchived | archiveurl | archivedate | url=… | deadurl=… }}
where
Parameter | Seq | Description | Default |
---|---|---|---|
archiveurl | 1 | Full html url linking to archived web page | |
archivedate | 2 | Text displayed in the tooltip text as the archive date | optional |
archivecaption | 3 | Optional Where multiple archiveurls are specified, text displayed in the pop-up window hyperlinked to archiveurl | Not Supported |
archiveurl2 | 4 | Optional url linking to 2nd archived web page (where multiple links connect to multiple pages of a single archive) | Not Supported |
archivedate2 | 5 | Optional If archivedate is different for archiveurl2, specify here to list next to hyperlink in pop-up window | Not Supported |
archivecaption2 | 6 | Optional Caption to be hyperlinked to archiveurl, displayed in place of the "http://…" | Not Supported |
archiveurl3 | next | Optional url linking to 3rd archived web page | Not Supported |
… | |||
url | Full html url to original web page | optional | |
deadurl | Anything other than "no" indicates that the link to the original url is dead and the archive should be used by default | yes |
If values for any of the unnamed parameters contains an equals sign (“=”) then either the named parameter must be specified (e.g. “archiveurl=https://web.archive.org/3s8@w=Qm.9Rw”) or it must be enclosed in a “<nowiki>=</nowiki>” structure or the “{{ = }}” template must be used (e.g. {{ Source archived | https://web.archive.org/3s8@w{{=}}Qm.9Rw }} ). If this template is called by other templates, any parameter values passed from a calling process should be named to avoid potential problems.
Multiple archives are currently not supported due to the inability to generate pop-up windows with hyperlinks using templates.
This is the template test cases page for the sandbox of Template:Source archived. to update the examples. If there are many examples of a complicated template, later ones may break due to limits in MediaWiki; see the HTML comment "NewPP limit report" in the rendered page. You can also use Special:ExpandTemplates to examine the results of template uses. You can test how this page looks in the different skins and parsers with these links: |