Template:Dead link: Difference between revisions

Fix for |=foo bug (for example {{dead link|=January 2021}} transcluding Template:January 2021)
 
imported>Paine Ellsworth
m update doc
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{<includeonly>safesubst:</includeonly>#invoke:Unsubst||date=__DATE__ |$B=
{{<includeonly>safesubst:</includeonly>#invoke:Unsubst||date=__DATE__ |$B=
<!--{{Dead link}} begin-->{{Fix
<!--{{Dead link}} begin-->{{Fix
| special  = <sup class="noprint Inline-Template"><span style="white-space: nowrap;">&#91;<i>{{#if: {{{url|}}}|[https://web.archive.org/web/*/{{{url|}}} <span title="{{{title|}}}{{#if:{{{date|}}}|&nbsp;since {{{date}}}}}">dead link</span>]|[[Wikipedia:Link rot|<span title="{{{title|}}}{{#if:{{{date|}}}|&nbsp;Dead link since {{{date}}}}}">{{#if:{{{fix-attempted|}}}|permanent dead link|dead link}}</span>]]}}</i>&#93;</span></sup>
| special  = <sup class="noprint Inline-Template"><span style="white-space: nowrap;">&#91;<i>{{#if: {{{url|}}}|[https://web.archive.org/web/*/{{{url|}}} <span title="{{{title|}}}{{#if:{{{date|}}}|&nbsp;tagged {{{date}}}}}">dead link</span>]|[[Wikipedia:Link rot|<span title="{{{title|}}}{{#if:{{{date|}}}|&nbsp;Dead link tagged {{{date}}}}}">{{#if:{{{fix-attempted|}}}|permanent dead link|dead link}}</span>]]}}</i>&#93;</span></sup>
| date    = {{{date|}}}
| date    = {{{date|}}}
| cat      = {{main other|[[Category:All articles with dead external links]]}}
| cat      = {{main other|[[Category:All articles with dead external links]]}}
Line 9: Line 9:
}}<noinclude>
}}<noinclude>
{{Documentation}}
{{Documentation}}
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS TO THE /doc SUBPAGE, THANKS -->
<!-- PLEASE ADD CATEGORIES TO THE /doc SUBPAGE; INTERWIKIS GO TO WIKIDATA, THANK YOU! -->
</noinclude>
</noinclude>