Template:Dead ac: Difference between revisions
(6 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<onlyinclude>{{#if:{{{archive|}}}|[{{{archive}}} {{{1|Author | <onlyinclude>{{#if:{{{archive|}}}|[{{{archive}}} {{{1|Author commentary}}}] ''(archived)''|[http://web.archive.org/web/*/{{{url}}} {{{1|Author commentary}}}] <span style="color:red">''(old link)''</span><includeonly>[[Category:New links wanted]]</includeonly>}}<includeonly>[[Category:Author commentary]]</includeonly></onlyinclude> | ||
<hr><hr> | <hr><hr> | ||
===Basic Use | ===Basic Use=== | ||
This '''dead ac''' link template is for dead links that formerly pointed to "Making-Of" articles, postmortems, and similar author commentary. The arguments in this template are the same ones found in the [[:Template:ac|author commentary]] | This '''dead ac''' link template is for dead links that formerly pointed to "Making-Of" articles, postmortems, and similar author commentary. The arguments in this template are the same ones found in the [[:Template:ac|author commentary template]] (and, for that matter, the same ones found in the [[:Template:link|link]] and [[:Template:dead link|dead link]] templates). | ||
If a link using the [[Template:ac|author commentary template]] goes dead, we can change "ac" to "dead ac" to switch to this [[:Template:dead ac|dead ac template]]. | |||
<hr><hr> | <hr><hr> | ||
===Arguments | ===Arguments=== | ||
* '''url''' ''( | * '''url''' ''(Required if "archive" argument is absent. Optional if "archive" argument is present. )'' Specifies the formerly-live url of the making-of article. | ||
* '''link text''' ''(Optional.)'' This is an unnamed argument. If this argument is omitted, the link text will show up as Author | * '''archive''' ''(Required if "url" argument is absent. Optional if "url" argument is present.)'' Specifies the url of an archived version of the page (for example, from the Internet Archive). | ||
* '''link text''' ''(Optional.)'' This is an unnamed argument. If this argument is omitted, the link text will show up as "Author commentary," which may be enough for a link on an individual work page. | |||
If | If the "archive" argument is specified, the link will point to the archived snapshot of the page. If the "archive" argument is omitted, this link will point to an Internet Archive search for the original url, and the wiki page will be automatically added to the [[:Category:New links wanted|New links wanted category]]. | ||
<hr><hr> | |||
===Examples=== | |||
===Examples | |||
<tt><nowiki>{{dead ac|url=http://www.intfiction.org/forum/viewtopic.php?f=32&t=19268 |archive=https://web.archive.org/web/20160611014422/http://www.intfiction.org/forum/viewtopic.php?f=32&t=19268}}.</nowiki></tt> | <tt><nowiki>{{dead ac|url=http://www.intfiction.org/forum/viewtopic.php?f=32&t=19268 |archive=https://web.archive.org/web/20160611014422/http://www.intfiction.org/forum/viewtopic.php?f=32&t=19268}}.</nowiki></tt> | ||
Line 20: | Line 21: | ||
appears as | appears as | ||
[https://web.archive.org/web/20160611014422/http://www.intfiction.org/forum/viewtopic.php?f=32&t=19268 Author | [https://web.archive.org/web/20160611014422/http://www.intfiction.org/forum/viewtopic.php?f=32&t=19268 Author commentary] ''(archived)''. | ||
<hr> | <hr> | ||
<tt><nowiki>{{dead ac|url=http://www.intfiction.org/forum/viewtopic.php?f=32&t=19268 |archive=https://web.archive.org/web/ | <tt><nowiki>{{dead ac|url=http://www.intfiction.org/forum/viewtopic.php?f=32&t=19268 |archive=https://web.archive.org/web/20160627220941/http://www.intfiction.org/forum/viewtopic.php?f=32&t=19268|Seeking Ataraxia postmortem}} by [[GlassRat]].</nowiki></tt> | ||
appears as | appears as | ||
[https://web.archive.org/web/ | [https://web.archive.org/web/20160627220941/http://www.intfiction.org/forum/viewtopic.php?f=32&t=19268 Seeking Ataraxia postmortem] ''(archived)'' by [[GlassRat]]. | ||
[[Category:Link templates]] | [[Category:Link templates]] |
Latest revision as of 01:51, 8 October 2016
Author commentary (old link)
Basic Use
This dead ac link template is for dead links that formerly pointed to "Making-Of" articles, postmortems, and similar author commentary. The arguments in this template are the same ones found in the author commentary template (and, for that matter, the same ones found in the link and dead link templates).
If a link using the author commentary template goes dead, we can change "ac" to "dead ac" to switch to this dead ac template.
Arguments
- url (Required if "archive" argument is absent. Optional if "archive" argument is present. ) Specifies the formerly-live url of the making-of article.
- archive (Required if "url" argument is absent. Optional if "url" argument is present.) Specifies the url of an archived version of the page (for example, from the Internet Archive).
- link text (Optional.) This is an unnamed argument. If this argument is omitted, the link text will show up as "Author commentary," which may be enough for a link on an individual work page.
If the "archive" argument is specified, the link will point to the archived snapshot of the page. If the "archive" argument is omitted, this link will point to an Internet Archive search for the original url, and the wiki page will be automatically added to the New links wanted category.
Examples
{{dead ac|url=http://www.intfiction.org/forum/viewtopic.php?f=32&t=19268 |archive=https://web.archive.org/web/20160611014422/http://www.intfiction.org/forum/viewtopic.php?f=32&t=19268}}.
appears as
Author commentary (archived).
{{dead ac|url=http://www.intfiction.org/forum/viewtopic.php?f=32&t=19268 |archive=https://web.archive.org/web/20160627220941/http://www.intfiction.org/forum/viewtopic.php?f=32&t=19268|Seeking Ataraxia postmortem}} by [[GlassRat]].
appears as
Seeking Ataraxia postmortem (archived) by GlassRat.