Template:Dead ac: Difference between revisions

From IFWiki

(+ instructions)
(Clean up documentation)
Line 1: Line 1:
<onlyinclude>{{#if:{{{archive|}}}|[{{{archive}}} {{{1|Author Commentary}}}]&nbsp;''(archived)''|[http://web.archive.org/web/*/{{{url}}} {{{1|Author Commentary}}}]&nbsp;<span style="color:red">''(old link)''</span><includeonly>[[Category:New links wanted]]</includeonly>}}<includeonly>[[Category:Author commentary]]</includeonly></onlyinclude>
<onlyinclude>{{#if:{{{archive|}}}|[{{{archive}}} {{{1|Author Commentary}}}]&nbsp;''(archived)''|[http://web.archive.org/web/*/{{{url}}} {{{1|Author Commentary}}}]&nbsp;<span style="color:red">''(old link)''</span><includeonly>[[Category:New links wanted]]</includeonly>}}<includeonly>[[Category:Author commentary]]</includeonly></onlyinclude>
<hr><hr>
===Basic Usage:===
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]] link template (and, for that matter, the same ones found in the [[:Template:link|link]] and [[:Template:dead link|dead link]] templates).
<hr><hr>
===Arguments:===
* '''url''' ''(Optional if "archive" argument is present. Required if "archive" argument is absent.)'' Should specify 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 Commentary, which may be enough for a link on an individual work page.
* '''archive''' ''(Required if "url" argument is absent. Optional if "url" argument is present.)'' This is used to store an archived version of the url (for example, from the Internet Archive).
If a link using the author commentary template goes dead, we can change "ac" to "dead ac" to switch to the [[:Template:dead ac|dead ac template]].
If the "archive" argument is specified, the link will point to the archived url. 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:===
<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>
appears as
[https://web.archive.org/web/20160611014422/http://www.intfiction.org/forum/viewtopic.php?f=32&t=19268 Author Commentary] ''(archived)''.
<hr>
<hr>
This '''dead author commentary''' link template is for author commentary links that are no longer live. The arguments are the same as in the [[:Template:ac|author commentary]] link template.


If the ''archive'' argument is specified, this link will point to the archive url. If the ''archive'' argument is not specified, this link will point to an Internet Archive search for the original url.
<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|Seeking Ataraxia postmortem}} by [[GlassRat]].</nowiki></tt>
 
appears as
 
[https://web.archive.org/web/20160611014422/http://www.intfiction.org/forum/viewtopic.php?f=32&t=19268 Seeking Ataraxia postmortem] ''(archived)'' by [[GlassRat]].




[[Category:Link templates]]
[[Category:Link templates]]

Revision as of 17:11, 11 June 2016

Author Commentary (old link)



Basic Usage:

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 link template (and, for that matter, the same ones found in the link and dead link templates).



Arguments:

  • url (Optional if "archive" argument is present. Required if "archive" argument is absent.) Should specify 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 Commentary, which may be enough for a link on an individual work page.
  • archive (Required if "url" argument is absent. Optional if "url" argument is present.) This is used to store an archived version of the url (for example, from the Internet Archive).

If a link using the author commentary template goes dead, we can change "ac" to "dead ac" to switch to the dead ac template.

If the "archive" argument is specified, the link will point to the archived url. 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/20160611014422/http://www.intfiction.org/forum/viewtopic.php?f=32&t=19268|Seeking Ataraxia postmortem}} by [[GlassRat]].

appears as

Seeking Ataraxia postmortem (archived) by GlassRat.